.contact__list {
    width: fit-content;
    display: flex;
    gap: 3rem;
    margin-inline: auto;

}

.contact__item {
    background: var(--color-primary);
    color: var(--color-gray-0);
    font-size: 1.7rem;
    width: 5rem;
    aspect-ratio: 1/1;
    border-radius: var(--radius-3);
    display: grid;
    place-items: center;
}

.contact__item:hover {
    background: var(--color-gray-900);
}

.address {
    margin: 6rem 0;
}
.address__details {
    text-align: center;
}


.address__details h4 {
    margin: 3rem 0 1rem;
    color: var(--color-primary);
}

.address__details h2 {
    margin-bottom: 1rem;
}

.address__details ul {
    display: flex;
    flex-direction: column; gap: 1rem;
}


iframe {
    margin-top: 4rem;
    height: 50rem;
    width: 100%;
}



@media screen and (max-width: 600px) {
.contact__list {
    margin-top: 5rem;
    gap: 1.8rem;
}
}
    

@media screen and (max-width: 1024px) {
    .contact__list {
        margin-top: 5rem;
        gap: 1.8rem;
    }
    }

/* ===================== MEDIA QUERIES (small screens)  =====================  */
@media  (max-width: 1024px) {
   
    h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.4rem;
}

h3 {
    font-size: 1rem;
}
.btn {
    padding: 1.5rem;
    font-size: 0.8rem;
}

.container {
    width: var(--container-w-md);
}




.nav__content {
    gap: 3rem;
}


.nav__menu {
    position: fixed;
    top: 4rem;
    right: 4%;
    flex-direction: column;
    gap: 0;
    width: 16rem;
    display: none;
    perspective: 200px;
}

.nav__menu a {
    background: linear-gradient(var(--color-gray-800),
    var(--color-gray-700));
    color: var(--color-gray-0);
    height: 4rem;
    display: grid;
    place-items: center;
    width: 100%;
    box-shadow: -2rem 4rem 3rem rgba(0, 0, 0, 0.2);
    animation: animation1 300ms ease forwards;
    transform: rotateX(90deg);
    opacity: 0;
    transform-origin: top;
}


.nav__menu a:nth-child(2) {
    animation-delay: 300ms;

}
.nav__menu a:nth-child(3) {
    animation-delay: 550ms;
}
.nav__menu a:nth-child(4) {
    animation-delay: 750ms;
}
.nav__menu a:nth-child(5) {
    animation-delay: 900ms;
}
.nav__menu a:nth-child(6) {
    animation-delay: 1050ms;
}
.nav__menu a:nth-child(7) {
    animation-delay: 1250ms;
}
    .nav__menu a:nth-child(8) {
        animation-delay: 1450ms;
    }

@keyframes animation1 {
    to {
        transform: rotateX(0);
        opacity: 1;
    }
    
}
.nav__menu a.active {
    background: var(--color-primary);
    color: var(--color-gray-0);
}

.nav__menu-open {
    display: inline-block;
}


.page__header {
    height: 20rem;
}

.page__header-content {
    width: var(--container-w-md);
}



.footer__container {
    flex-direction: column;
    gap: 1.5rem;
}
.footer__socials {
    gap: 2rem;
}
    
}