@import url('https://fonts.googleapis.com/css2?family=Brygada+1918:ital,wght@1,400;1,500;1,700&family=Inter:wght@400;500;700&family=Noto+Serif+Display:ital,wght@1,400;1,500;1,700&family=Poppins:ital,wght@0,500;1,300;1,400;1,600&family=Rubik:wght@400;500;600;700&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* overflow: hidden; */
    scroll-behavior: smooth;
}

:root {
    font-size: 62.5%;
    /* font-size: 10px; */
    /* --background-color: #999; */
    --primary: #fff;
    --color: #ffd700;
    --bold: 600;
}



body {
    font-family: 'Poppins' sans-serif;
    /* overflow: hidden; */
    background-color: #f1f3f5;
}

/* *********************** */
/* HEADER SECTION */
/* *********************** */

.sticky .header {
    display: fixed;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 10rem;
    padding-top: 0;
    padding-bottom: 0;
    background-color: rgba(255, 255, 255, 0.97);
    z-index: 999;
    box-shadow: 0 1.2rem 3.2rem rgba(255, 255, 255, 0.537);
}

.sticky .hero-section {
    margin-top: 9.6rem;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 4rem;
    position: relative;

}



.header-img {
    height: 4rem;
    /* border-radius: 10px; */
}



.apart-name-1 {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.apartment-name {
    font-size: 2.4rem;
    text-transform: uppercase;
    background: conic-gradient(gold, green, orange, yellow);
    background-clip: text;
    color: transparent;
    background-size: 20rem 20rem;
    animation: rgb 4s infinite linear;

}

@keyframes rgb {
    0% {
        background-position: 0 0;
    }

    25% {
        background-position: 0 100%;
    }

    50% {
        background-position: 100% 100%;
    }

    75% {
        background-position: 100% 0;
    }

    100% {
        background-position: 0 0;
    }
}

.nav-link-list {
    display: flex;
    align-items: center;
    gap: 2.4rem;
    /* justify-content: space-around; */
    list-style: none;
}

.nav-link:link,
.nav-link:visited {
    display: inline-block;
    font-size: 1.8rem;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    color: #000;
    transition: all 3s ease;

}

.nav-link:active,
.nav-link:hover {
    color: #c9af1c;
    /* border-bottom: 4px solid #ffd700;
    color: #ffffffa2; */
}

.link2 {
    background-color: #c9af1c;
    padding: 1.2rem 2.4rem;
    border-radius: 10px;
}

.link2:hover {
    background-color: #ffd700;
    color: #000;
}

/* **************** */
/* MOBILE */
/* **************** */

.btn-mobile-nav {
    border: none;
    background: none;
    cursor: pointer;

    display: none;
}

.icon-mobile-nav {
    width: 4.4rem;
    height: 4.4rem;
    color: #333;

}

.icon-mobile-nav[name="close-outline"] {
    display: none;

}

.main {
    z-index: 1;
    /* height: 100vh; */
}

.legacy-item {
    padding: 4.4rem 0;
    text-align: center;
}

.legacy-name {
    font-size: 6.2rem;
    text-transform: uppercase;
}



.privacy-section {
    display: flex;
    flex-direction: column;
    gap: 8rem;
    /* max-width: 120rem; */
    margin-bottom: 4.8rem;
    /* margin: 0 auto; */

}

.items {
    display: grid;
    grid-template-columns: auto 1fr auto;
    width: 1064px;
    max-width: 120rem;
    gap: 1rem;
    margin: 0 auto;
    padding: 1rem 0.7rem;
    border-bottom: 1px solid #c9af1c;
    transition: all 2s;
    /* box-shadow: 0 0 9px rgba(0, 0, 0, 0.5); */

}

.items:hover {
    background-color: #ced4da;
}

.hidden-box {
    grid-column: 2;
    display: none;
}

.item-number,
.item-name,
.icon {
    font-size: 4.4rem;
    font-weight: 200;
}


.hidden-title {
    font-size: 2rem;
    line-height: 1.2;
    color: #868e96;

}

.hidden-sub {
    font-size: 1.8rem;
    margin: 3rem 0 1.5rem 0;
    color: #868e96;
}

.hidden-test-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    list-style: circle;
    color: #868e96;
}

.hidden-text {
    font-size: 1.4rem;
    line-height: 1.4;
}

.open .hidden-box {
    display: block;
}

/* .open .item-number,
.open .item-name {
    color: #f4d005;
} */


/*****************************/
/* FOOTER*/
/*****************************/
.footer {
    padding: 12rem 0;
    border-top: 2px solid gold;
}

.container {
    max-width: 140rem;
    margin: 0 auto;
    padding: 0 2rem;
}

.grid {
    display: grid;
    gap: 3.8rem;
}

.grid--5--colos {
    grid-template-columns: 1.5fr 1.5fr 1fr 1fr;
}

.logo-col {
    display: flex;
    flex-direction: column;
}

.logo-col a {
    margin-bottom: 2.4rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: #000;
}

.logo-col p {
    font-weight: 600;
    /* font-size: 1.6rem; */
    text-transform: uppercase;
}

.logo-col .logo {
    height: 3rem;
    border-radius: 50%;
}

.social-link {
    list-style: none;
    display: flex;
    gap: 2.4rem;
    /* margin-top: auto; */

}

.social-icon {
    width: 2.5rem;
    height: 2.5rem;
}

.copyright {
    font-size: 1.6rem;
    /* margin-top: auto; */
    line-height: 1.8;
}

.address {
    font-size: 1.6rem;
    line-height: 1.8;
    color: #676767;
    margin-bottom: 2rem;
}


.contact-list {
    font-size: 1.8rem;
    text-decoration: none;
    line-height: 2.1rem;
    color: #676767;

}

.footer-heading {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 4rem;
}

.footer-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-link:link,
.footer-link:visited,
.footer-icon:link,
.footer-icon:visited {
    text-decoration: none;
    font-size: 1.6rem;
    color: #676767;
    font-weight: 500;
}

.author {
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}





/* ************* */
/* MEDIA QUERRIES */
/* ************* */
/* **************** */
/* BELOW 1024PX (smallest desktops!) */
/* **************** */
@media screen and (max-width:64em) {
    .apartment-name {
        font-size: 2rem;
    }

    .legacy-name {
        font-size: 5.2rem;
    }


    .item-number,
    .item-name,
    .icon {
        font-size: 3.6rem;
        font-weight: 200;
    }


    .items {
        max-width: 100rem;
    }

    .nav-link:link,
    .nav-link:visited {
        font-size: 1.4rem;
    }
}


/* **************** */
/* BELOW 928PX (smallest desktops!) */
/* **************** */
@media screen and (max-width:58em) {
    .items {
        max-width: 90rem;
    }

    /* Mobile navigation */

    .btn-mobile-nav {
        display: block;
    }

    .nav {
        background-color: rgba(255, 255, 255, 0.9);
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 90vh;



        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        transition: all 2s ease-in-out;
        transform: translateY(-100%);


        /* Hide the navigation */
        opacity: 0;



        /* make it unaccesable to mouse and keyboard*/
        pointer-events: none;


        /* Hide it from screen reader */
        visibility: hidden;


    }

    .nav-link-list {
        flex-direction: column;
        gap: 4.4rem;
    }


    .nav-open .nav {
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-open .icon-mobile-nav[name="menu-outline"] {
        display: none;

    }

    .nav-open .icon-mobile-nav[name="close-outline"] {
        display: block;

    }


    .copyright,
    .contact-list,
    .address,
    .footer-link {
        font-size: 1.4rem;
    }
}


/* **************** */
/* BELOW 800PX (smallest desktops!) */
/* **************** */
@media screen and (max-width:50em) {
    .items {
        max-width: 70rem;
    }

    .item-number,
    .item-name,
    .icon {
        font-size: 3rem;
        font-weight: 200;
    }

    .legacy-name {
        font-size: 3.6rem;
    }

    .hidden-text {
        font-size: 1.4rem;
        line-height: 1.2;
    }

    .hidden-title,
    .hidden-sub {
        font-size: 1.8rem;


    }

    .copyright {
        font-size: 1rem;
    }


}

/* **************************** */
/* BELOW 768PX TABLET */
/* **************************** */
@media screen and (max-width:48em) {

    .legacy-name {
        font-size: 3.6rem;
    }

    .item-number,
    .item-name,
    .icon {
        font-size: 2.4rem;
        font-weight: 200;
    }

    .hidden-text {
        font-size: 1.2rem;
        line-height: 1.2;
    }

    .hidden-title,
    .hidden-sub {
        font-size: 1.8rem;
    }

    .copyright,
    .contact-list,
    .address,
    .footer-link {
        font-size: 1.2rem;
    }

    /* .items {
            max-width: 70rem;
        } */
}


/* **************** */
/* BELOW 704PX (small tablet phone!) */
/* **************** */
@media screen and (max-width : 49em) {
    .items {
        max-width: 60rem;
    }

    .hidden-text {
        font-size: 1rem;
        line-height: 1.2;
    }

    .hidden-title,
    .hidden-sub {
        font-size: 1.6rem;
    }
}


/* **************** */
/* BELOW 500PX (large phone!) */
/* **************** */
@media screen and (max-width : 32em) {

    .apartment-name {
        font-size: 1.6rem;
    }

    .items {
        max-width: 40rem;
    }

    .legacy-name {
        font-size: 2.4rem;
    }

    .item-number,
    .item-name,
    .icon {
        font-size: 1.8rem;
        font-weight: 200;
    }

    .hidden-title,
    .hidden-sub {
        font-size: 1.4rem;
    }



    .grid--5--colos {
        grid-template-columns: repeat(3, 1fr);
    }

    .logo-col {
        grid-column: span 3;
        grid-row: 2;
    }

    /* .footer-heading {
        font-size: 1.4rem;
    } */
}

/* **************** */
/* BELOW 400PX (large phone!) */
/* **************** */
@media screen and (max-width : 25em) {
    .items {
        max-width: 35rem;
    }

    .apartment-name {
        font-size: 1rem;
    }

    .footer-heading {
        font-size: 1.6rem;
    }

    .copyright,
    .contact-list,
    .address,
    .footer-link {
        font-size: 1rem;
    }
}

/* 
--- 01TYPOGRAPHY
font size
10, 12, 14, 16, 18, 20, 24, 30, 36, 44, 52, 62, 74, 86, 98.
*/


/*
Spacing system  (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 /80 / 96 / 128.

*/