/* DESKTOP */
html, body {
    font-family: Arial, sans-serif;
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #1a2e42;
    color: #e6eef6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}


header {
    background-image: url('../assets/images/banners/main-banner.png');
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    align-content: flex-start;
    flex-direction: row;
    background-color: transparent;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    text-align: center;
    background-color: transparent;
    background-size: 100%;
    background-position: center top;
    background-repeat: no-repeat;
}

.logo a {
    display: inline-block;
}

.logo img {
    width: 5rem;
    height: 5rem;
    padding: 8px;
    cursor: pointer;
    display: block;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5% 5%;
    text-align: center;
    width: auto;
    margin: 2% auto;
    margin-top: 0;
    border-radius: 0.4rem 0.4rem 1.4rem 1.4rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    -webkit-backdrop-filter: blur(8px) saturate(120%);
    backdrop-filter: blur(8px) saturate(120%);
    box-shadow: 0 0.6rem 1.8rem rgba(10,20,30,0.35);
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 5%;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

nav ul li a:hover {
    color: #a5d0e8;
}

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

h1 {
    color: #ee7878;
    font-size: 22px;
    font-weight: 400;
    margin: 0;
}

h2 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

p {
    color: #fff;
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
}

.Join img, .about img, footer img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.social-icons {
    display: flex;
    margin: 1%;
    gap: 0.6rem;
    align-items: center;
    justify-content: flex-end;
}

.social-icons img {
    
    max-width: none;
    max-height: none;
    width: 2.0rem;
    height: 2.0rem;
    padding: 0.45rem;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 0.25rem 0.6rem rgba(0,0,0,0.25);
    object-fit: contain;
    transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
    cursor: pointer;
}

.social-icons img:hover,
.social-icons img:focus {
    transform: translateY(-3px) scale(1.05);
    background: rgba(255,255,255,0.12);
    box-shadow: 0 0.4rem 1rem rgba(0,0,0,0.35);
}

.join {
    margin: 48px 0px 48px 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.join img {
    width: 100%;
    height: auto;
}

.about {
    margin: 120px 0px 24px 50px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
}

.about img {
    width: 45%;
    height: auto;
}

.about-header {
    gap: 0;
}

.about-text {
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.units {
    margin: 24px 50px 120px 50px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.unit-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2%;
}

.unit-item {
    padding: 12px;
    border-radius: 1.4rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(8px) saturate(120%);
    box-shadow: 0 0.6rem 1.8rem rgba(10,20,30,0.35);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform .3s ease;
}



.unit-item h3 {
    font-size: clamp(8px, 1.20vw, 18px);
}

.unit-item p {
    font-size: clamp(6px, 1.20vw, 16px);
}

#gz-unit {
    color:rgba(160, 78, 253, 0.671);;
    border: 1px solid rgba(160, 78, 253, 0.671);
}

#dh-unit {
    color:rgba(255, 217, 113, 0.842);
    border: 1px solid rgba(255, 217, 113, 0.842);
}

#snn-unit {
    color:#fff;
    border: 1px solid #fff;
}

#dsh-unit {
    color:rgba(107, 183, 253, 0.726);
    border: 1px solid rgba(107, 183, 253, 0.726);
}

#dw-unit {
    color:rgba(215, 215, 215, 0.705);
    border: 1px solid rgba(215, 215, 215, 0.705);
}

.unit-item:nth-child(2) {
    transform: translateY(60px);
}
.unit-item:nth-child(3) {
    transform: translateY(120px);
}
.unit-item:nth-child(4) {
    transform: translateY(60px);
}

.units-header {
    gap: 0;
}

.sponsors {
    margin: 24px 0px 24px 0px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
}

.sponsors img {
    width: 20%;
    height: auto;
}

#niw {
    width: 36%;
}

footer {
    background-image: url(../assets/images/banners/mountains-banner.png);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    align-content: flex-end;
    flex-direction: row;
    background-color: transparent;
    padding: 0;
    width: 100%;
    min-height: 35vh;
    text-align: center;
    background-color: transparent;
    background-size: 100%;
    background-position: center bottom;
    background-repeat: no-repeat;
}

footer p {
    color: #a5d0e8;
    padding: 8px;
    border-radius: 8px;
}

.other-info {
    margin: 24px 50px 24px 50px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.footer-menu {
    width: 20%;
    height: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 22px;

}

.footer-menu-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 50%;
}

.footer-menu ul {
    width: 50%;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 18px;
    flex-direction: column;
    align-items: flex-start;
}

.footer-menu ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}

.footer-menu ul li a:hover {
    color: #a5d0e8;
}

.map {
    width: 40%;
    height: 100%;
    padding: 40px 20px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    text-align: left;
    gap: 12px;
}

.map-container {
    max-width: 100%;
    height: 100%;
    margin: 0 auto;
}

.embed-map-responsive {
    position:relative;
    text-align:right;
    width:100%;
    height:0;
    padding-bottom:66.66666666666666%;
}

.embed-map-container {
    overflow:hidden;
    background:none!important;
    width:100%;
    height:100%;
    position:absolute;
    top:0;
    left:0;
}

.embed-map-frame {
    width:100%!important;
    height:100%!important;
    position:absolute;
    top:0;
    left:0;
}

.send-mail {
    padding: 16px;
    border-radius: 12px;
    width: 40%;
    height: 100%;
    max-width: auto;
}
.send-mail p {
    font-size: 14px;
}

.contact-form {
display: flex;
flex-direction: column;
}

input[type="email"] {
    color: #fff;
    padding: 8px;
    margin-bottom: 5px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    border-radius: 1.4rem 1.4rem 0.4rem 0.4rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(8px) saturate(120%);
    box-shadow: 0 0.6rem 1.8rem rgba(10,20,30,0.35);
}

textarea {
    color: #fff;
    padding: 8px;
    margin-bottom: 5px;
    resize: none;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    border-radius: 0.4rem 0.4rem 0.4rem 1.4rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(8px) saturate(120%);
    box-shadow: 0 0.6rem 1.8rem rgba(10,20,30,0.35);
}

::placeholder {
    color: #a0a0a0;
}

.form-button {
    display: flex;
    justify-content: flex-end;
}

.form-button button {
    color: #a0a0a0;
    padding: 8px;
    margin-bottom: 12px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    border-radius: 0.4rem 0.4rem 1.4rem 1.4rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(8px) saturate(120%);
    box-shadow: 0 0.6rem 1.8rem rgba(10,20,30,0.35);
    cursor: pointer;
}






@media (max-width: 1500px) {
    header {
        min-height: 100%;
    }
}






/* TABLET */
@media (max-width: 1024px) {
    header {
        min-height: 75%;
    }

    .about-text {
        padding-top: 0;
    }

    h1 {
        font-size: 18px;
    }

    h2 {
        font-size: 16px;
    }

    p {
        font-size: 14px;
    }

    .footer-menu {
        width: 30%;
    }
}






/* MOBILE */
@media (max-width: 768px) {
    header {
        min-height: 60%;
    }

        nav {
        font-size: clamp(8px, 3vw, 16px);
    }

    .logo img {
        width: 3rem;
        height: 3rem;
    }

        .social-icons img {
        width: 1.5rem;
        height: 1.5rem;
    }

    .units {
        margin: 24px 12px 24px 12px;
    }

    .about-text {
        padding-top: 0;
    }

    h1 {
        font-size: 16px;
    }

    h2 {
        font-size: 14px;
    }

    p {
        font-size: 12px;
    }

    .about p {
        font-size: clamp(4px, 2vw, 12px);
    }

    .other-info {
        flex-direction: column;
        gap: 24px;
    }

    .footer-menu {
        width: auto;
        align-items: center;
        gap: 12px;
    }

    .footer-menu-text {
        align-items: center;
    }

    .footer-menu ul {
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }

    .send-mail {
        width: 100%;
        height: auto;
    }

    .map {
        width: 100%;
        height: auto;
    }

    footer {
        min-height: 20vh;
    }

    .units {
        margin: 24px 20px 24px 20px;
    }

    .unit-list {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .unit-item {
        width: 90%;
        height: 200px;
        color: #fff;
        padding: 12px;
        margin-bottom: 0;
        border: none;
        border-radius: 6px;
        font-size: 16px;
        border-radius: 1.4rem 1.4rem 1.4rem 1.4rem;
        background: rgba(255,255,255,0.06);
        border: 1px solid rgba(255,255,255,0.12);
        backdrop-filter: blur(8px) saturate(120%);
        box-shadow: 0 0.6rem 1.8rem rgba(10,20,30,0.35);
    }

    .unit-item h3 {
        font-size: clamp(18px, 4vw, 34px);
        margin: 0;
    }

    .unit-item p {
        font-size: clamp(12px, 2.6vw, 22px);
    }

    .unit-item:nth-child(1) {order: 2;}
    .unit-item:nth-child(2) {order: 3;}
    .unit-item:nth-child(3) {order: 1;}
    .unit-item:nth-child(4) {order: 4;}
    .unit-item:nth-child(5) {order: 5;}

    .unit-item:nth-child(1) {align-items: flex-end; text-align: right;}
    .unit-item:nth-child(4) {align-items: flex-end; text-align: right;} 

    .unit-item:nth-child(2) {
        transform: translateY(0);
    }

    .unit-item:nth-child(3) {
        transform: translateY(0);
    }

    .unit-item:nth-child(4) {
        transform: translateY(0);
    }
}





/* 600px */
@media (max-width: 600px) {
    header {
        min-height: 45%;
    }

        footer {
        min-height: 10vh;
    }
}





/* MOBILE BUT SMOL */
@media (max-width: 450px) {
        header {
        min-height: 30%;
    }

    nav {
        font-size: clamp(8px, 3vw, 14px);
    }

    .logo img {
        width: 2.5rem;
        height: 2.5rem;
    }

        .social-icons img {
        width: 1.0rem;
        height: 1.0rem;
    }

    .units {
        margin: 24px 12px 24px 12px;
    }

    .unit-list {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .unit-item {
        width: 70%;
        height: 200px;
        color: #fff;
        padding: 12px;
        margin-bottom: 0;
        border: none;
        border-radius: 6px;
        font-size: 16px;
        border-radius: 1.4rem 1.4rem 1.4rem 1.4rem;
        background: rgba(255,255,255,0.06);
        border: 1px solid rgba(255,255,255,0.12);
        backdrop-filter: blur(8px) saturate(120%);
        box-shadow: 0 0.6rem 1.8rem rgba(10,20,30,0.35);
    }

    .sponsors {
        flex-wrap: wrap;
    }

    .sponsors img {
        width: 30%;
        margin-bottom: 0;
    }

    #niw {
        width: 60%;
    }

    footer {
        min-height: 10vh;
    }
}