:root {
    --verde: #168750;
    --dark-green: #164e48;
    --light-green: #2CC84D;
}

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

html {
    background-color: #000;
}

body {
    font-family: Inter, Arial, Helvetica, sans-serif
}

img {
    max-width: 100%;
    height: auto;
}

video {
    width: 100%;
}

.container {
    /* width: 100%;
    max-width: 1600px;
    margin: 0 auto; */
    background: #fff;
    color: #333;
}

#top {
    display: flex;
    justify-content: end;
    align-items: center;
    padding-right: 20px;
}

.languages {
    color: #fff;
    margin-left: 50px;
}

.languages a {
    color: #fff;
    text-decoration: none;
    width: 30px;
    height: 30px;
    display: inline-block;
    text-align: center;
    line-height: 30px;
    transition: background-color 0.3s ease;
}

.languages a:hover, .languages a:focus {
    background-color: #eee;
    color: #333;
}

.languages a.active {
    border-bottom: 2px solid #fff;
}

#hero {
    padding: 30px;
    font-weight: 300;
    line-height: 1.4;
    background-color: var(--dark-green);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    animation: slider 30s infinite;
}

#hero .contacts {
    text-align: end;
    display: none;
}

.contacts a {
    background-color: #fff;
    color: #333;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 16px;
    margin-right: 20px;
    border-radius: 99px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.contacts a:hover, .contacts a:focus {
    background-color: #eee;
}

#hero h1 {
    font-size: 40px;
    color: #fff;
    font-family: Merriweather, Georgia, serif;
    line-height: 1.1;
    text-align: center;
    margin: 20px 0;
}

#hero h1 img {
    max-width: 300px;
    margin-bottom: 20px;
}

#content {
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    min-height: 80dvh;
}


@keyframes slider {
    0% {
        background-image: url(img/hero1.webp)
    }
    14% {
        background-image: url(img/hero2.webp)
    }
    28% {
        background-image: url(img/hero3.webp)
    }
    43% {
        background-image: url(img/hero4.webp)
    }
    57% {
        background-image: url(img/hero5.webp)
    }
    71% {
        background-image: url(img/hero6.webp)
    }
    85% {
        background-image: url(img/hero7.webp)
    }
    100% {
        background-image: url(img/hero1.webp)
    }
}



#intro {
   background-color: rgba(255, 255, 255, 0.8);
    padding: 15px;;
   font-size: 16px;
   line-height: 1.25;
   color: var(--dark-green);
}

#intro strong {
    color: var(--verde);
    font-weight: 700;
}



#intro .tagline {
    font-size: 28px;
    line-height: 1.05;
    font-weight: 300;
    margin-bottom: 50px;
}


#intro .tagline strong {
    font-weight: 700;
}

#intro p {
    margin-bottom: 20px;
}



footer {
    background-color: #fff;
    justify-content: space-between;
    padding: 30px;
    align-items: center;
}

footer .logo {
    display: none;
}

footer .logo img {
    max-width: 300px;
}

footer h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1;
}

footer address {
    font-style: normal;
    font-weight: 300;
    line-height: 1.4;
    font-size: 18px;;
}

footer address p {
    margin-bottom: 10px;
}

footer .contacts a {
    background-color: var(--light-green);
    margin: 15px auto;
    padding: 10px 20px;
    display: flex;
    justify-content: center;
}



@media (min-width: 1200px) {
    footer, #content {
        display: flex;
    }

    #hero .contacts {
        display: block;
    }

    #hero h1 {
        width: 40%;
        text-align: end;;
    }

    #intro {
        width: 60%;
        padding: 80px;
        margin: 20px;
    }

    footer .logo {
        display: block;
    }
    
}