* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Nunito Sans", sans-serif;
}


body {
    padding: 20px;
}

.wrapper-main {
    display: flex;
    justify-content: center;
}


#background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    z-index: -11;
    overflow: hidden;
    background-color: white;
}

.background-media {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100dvh;
    object-fit: cover;
    background-color: white;
    opacity: 0;


    transition: opacity 2.5s ease-in-out, object-fit 1s ease, transform 1s ease;
}

.background-media-active {
    opacity: 1;
}


video.background-media {
    z-index: -11;
}

.transparent-bg {
    background-color: rgba(255, 255, 255, 0.6);
    width: 100%;
    height: 100dvh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -10;
}


.main {
    max-width: 1800px;
    width: 100%;
    padding-left: 40px;
    padding-right: 40px;
    display: flex;
    justify-content: space-between;
    align-items: start;
    position: relative;
    z-index: 1;
}

#logo {
    max-width: 255px;
    height: auto;
    display: block;
    margin-bottom: 30px;
}

@media (max-width: 650px) {
    .main {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (min-width: 768px) {
    #logo {
        max-width: 255px;

    }
}

@media (max-width: 630px) {
    #logo {
        max-width: 200px;
    }
}

nav {
    display: flex;
    flex-flow: column nowrap;
    gap: 2vh;
    margin-top: 5vh;

}

.socials {
    margin-top: 5vh;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;

}

@media (max-width: 400px) {
    .main {
        flex-flow: column-reverse;
    }

    .socials {
        flex-flow: row !important;
        align-self: end;
        margin: 0;
    }
}

@media (max-width: 900px) {
    .socials {
        flex-flow: column;
    }
}

@media (max-width: 500px) {

    .social-img {
        width: 25px !important;
    }
}

.social-img {
    width: 30px;
    height: auto;
    transition: transform 0.3s, opacity 0.3s;
}

.social-img:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

.link a {
    text-decoration: none;
    font-size: 1.7rem;
    color: black;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.link-with-img {
    display: flex;
    justify-content: center;
    align-items: baseline;

}

.download {
    margin-top: 50px;

}

.download a {
    font-size: 1.5rem;
}

.link {
    transition: 0.5s;
    cursor: pointer;
}
.link a {
    display: block;
    width: 100%;
}
/*udpate*/
.elements {
    display: flex;
    flex-flow: column;
    max-height: 40vh;
    align-items: stretch;
}

.link:hover {
    padding-left: 20px;
    transform: scale(103%);
}

@media (max-width: 750px) {
    .link a {
        font-size: 1.7rem;
    }

    .download a {
        font-size: 1rem;
    }
}

@media (max-width: 460px) {
    .link a {
        font-size: 1.3rem;
    }

    .download a {
        font-size: 1rem;
    }
}

@media (max-width: 400px) {
    #logo {
        max-height: 80px;
    }
    .link a {
        font-size: 1.3rem;
    }

    .download a {
        font-size: 1rem;
    }
}

@media (max-width: 335px) {

    .download a {
        font-size: 1rem;
    }
}


.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 1px 1px 5px 4px rgba(0, 0, 0, 0.25);
    z-index: 1;
    border-radius: 4px;
}

.dropdown-content form {
    margin: 0;
}

.dropdown-content button {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 12px 16px;
    color: black;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: 0.5s;
}

.dropdown-content button:hover {
    background-color: #d0cccc;
}


.dropdown-icon {
    display: flex;
    flex-flow: column;
    justify-content: center;
    font-size: 1.2em;
    align-items: center;
    cursor: pointer;
}


@media (max-width: 350px) {
    i {
        font-size: 40px !important;
    }

    span {
        font-size: 40px !important;
    }
}

@media (max-width: 300px) {
    .main-nav {
        width: 100%;
        padding-left: 20px;
    }

    .nav-div {
        width: 100%;
    }
}

.lang-flag {

    display: flex;
    justify-content: center;
    align-items: center;
}

.lang-flag img {
    height: 0.6em;
    margin-left: 5px;
}


.lang {
    margin-left: 8px
}