@import url('https://fonts.googleapis.com/css2?family=Funnel+Display:wght@300;400;700;800&display=swap');

:root {
    --primary-colour: #4980B6;
    --secondary-colour: #3464ff;
    --text-colour: #ffffff;
    --hover-colour: #cfb438;
    --selection-bcg: #B67F49;
    --selection-colour: rgb(248, 248, 248);
    --division-padding: 10vh;
    --fade-distance: 50px;
}

html::selection,
body::selection {
    background: var(--selection-bcg);
    color: var(--selection-colour);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    height: 100vh;
    font-family: "Funnel Display", sans-serif;
    background-color: #3956b3;
    color: whitesmoke;
}

/* NAVBAR */

.navbar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    position: fixed;
    top: 0;
    z-index: 2;
    background: rgba(54, 90, 189, 0.801);
    backdrop-filter: blur(10px);
}

.logo {
    width: 50px;
    height: 50px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 35px;
}

.nav-links a {
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--text-colour);
    font-size: 1.3rem;
    position: relative;
    transition: 0.3s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -5px;
    width: 100%;
    height: 2px;
    background: var(--hover-colour);
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.nav-links a:hover {
    color: var(--hover-colour);
}

.nav-links a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* HERO */

.hero img {
    width: 25vw;
    height: 25vw;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--hover-colour);
    margin-bottom: 18px;
    transition: 0.3s ease;
}

.hero img:hover {
    transform: scale(1.05);
    border-color: var(--primary-colour);
    filter: brightness(1.2);
}

.hero {
    height: 100vh;
    background: url(videohra1.png) no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero h1{
    font-size: 7rem;
    font-weight: 800;
    width: 95%;
    text-shadow: #000000a4 5px 5px 3px;
}

.hero p{
    margin-top: 15px;
    font-size: 1.5rem;
    font-weight: 200;
    width: 80%;
    text-shadow: #000000 5px 5px 3px;
}

@media (max-width: 900px) {
    .hero img{
        width: 50vw;
        height: 50vw;
    }
    .hero h1{
        font-size: 5rem;
    }
    .hero p{
        font-size: 1.7rem;
    }
}

@media (max-width: 550px) {
    .hero img{
        width: 70vw;
        height: 70vw;
    }
    .hero h1{
        font-size: 4rem;
    }
    .hero p{
        font-size: 1.5rem;
    }
}

/* CONTENT */

.content h2{
        padding-top: 3%;
        text-transform: uppercase;
        font-size: 4rem;
        padding-bottom: 5vh;
        text-align: center;

}

.content p {
    font-size: 1.67rem;
    padding: 3%;
    text-align: center;
    margin: 0 auto;
    max-width: 80%;
    }

/* GALLERY*/

/* GALLERY SECTION*/

.gallery-section {
    width: 90%;
    max-width: 1100px;
    margin: 40px auto;
}

.top-block {
    display: flex;
    background: #3c3c3c;
    color: white;
    padding: 30px;
    border-radius: 6px;
    gap: 20px;
}

.top-text {
    flex: 1;
}

.top-text h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.top-text p {
    margin-bottom: 15px;
}

.top-text a {
    color: #f7af46;
    text-decoration: none;
    font-weight: bold;
}

.top-img {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    border-radius: 4px;
}

.bottom-block {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.bottom-text {
    flex: 1;
}

.bottom-text h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.thumbs {
    display: flex;
    gap: 10px;
    padding-bottom: 40px;
}

.thumbs img {
    width: 130px;
    height: 130px;
    background: #c45b5b;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .bottom-block {
        flex-direction: column;
    }

    .thumbs {
        flex-direction: column;
        align-items: center;
    }

    .thumbs img {
        width: 80%;
        max-width: 300px;
        height: auto;
    }
}

.view-gallery {
    margin-top: 40px;
    color: #f7af46;
}

.view-gallery a {
    color: #e88d2c;
    font-weight: bold;
    text-decoration: none;
}

footer {
    text-align: center;
    padding: 2vh;
    background-color: rgb(44, 77, 170);
    color: whitesmoke;
    font-size: 1rem;
}

/* FADEs */

.fade-left,
.fade-right,
.fade-bottom {
    opacity: 0;
    transition: opacity 0.8s ease var(--delay, 0s),
                transform 0.8s ease var(--delay, 0s);
}

.fade-left   { transform: translateX(calc(var(--fade-distance) * -1)); }
.fade-right  { transform: translateX(var(--fade-distance)); }
.fade-bottom { transform: translateY(var(--fade-distance)); }

.show {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}



