@import url('https://fonts.googleapis.com/css2?family=Pathway+Gothic+One&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

:root {
    --primary-color: #E0AF76;
    --second-color: #2a2a2a;
    --boton-color-hover: #0c0c0c;
    --last-color: #3a3a3a;
    --white-letter: #fff;
}

body {
    font-family: "Pathway Gothic One", sans-serif;
}

.container {
    max-width: 1200px;
    margin: auto;
}

/* --------- Nav y banner ---------- */

.header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7),
            rgba(0, 0, 0, 0.7)),
        url(../img/banner1.jpg);
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    padding: 6.2rem 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.menu {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2rem;
}

.logo img {
    width: 8rem;
    border-radius: 1rem;
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-content .nombre {
    width: 60rem;
    border-radius: 1rem;
}

/* ---------- sobre nosotros ----------- */

.sobremi {
    padding: 6.25rem 0;
    background-color: var(--white-letter);
}

.nosotros {
    text-align: center;
}

.nosotros h2 {
    font-size: 55px;
    line-height: 70px;
    color: var(--second-color);
    text-transform: uppercase;
    margin-bottom: 3.5rem;
}

.nosotros p {
    font-size: 25px;
    color: var(--last-color);
    margin-top: 4rem;
    margin-bottom: 1rem;
    padding: 0 6.2rem;
}

.nosotros-mi {
    display: flex;
    justify-content: space-between;
}

.nosotros1 {
    padding: 0 2rem;
    flex-direction: column;
}

.nosotros2 {
    padding-right: 5rem;
}

.nosotros2 img {
    width: 20rem;
    border-radius: 0.5rem;
}

.logo3 img {
    width: 300px;
    margin-top: 4rem;
}

/* ---------- carta --------- */

.carta-content {
    background-image: linear-gradient(rgba(123, 122, 122, 0.8),
            rgba(0, 0, 0, 0.6)),
        url(../img/carta_fondo1.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    padding: 3rem 0;
}

.content-carta {
    text-align: center;
}

.content-carta h2 {
    font-size: 3.8rem;
    line-height: 4.3rem;
    text-transform: uppercase;
    padding: 0 14.1rem;
    margin-bottom: 0.9rem;
    color: var(--primary-color);
}


.price_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.price_card {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.price_card:hover {
    border-color: var(--primary-color);
}

.price_card_content {
    flex: 1;
    margin-bottom: 2rem;
}

.price_card h4 {
    margin-bottom: 1rem;
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price_card_content .img-carta img {
    width: 14rem;
    border-radius: 2rem;
}

.btn-1 {
    margin-top: 2rem;
    display: inline-block;
    padding: 0.8rem 2.8rem;
    background-color: var(--primary-color);
    color: var(--second-color);
    text-transform: uppercase;
    border-radius: 0.3rem;
    font-size: 25px;
}

.btn-1:hover {
    background-color: var(--boton-color-hover);
    color: var(--primary-color);
}

/* ----------- galeria ------------- */

.galeria {
    max-width: 55rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 12.6rem;
    grid-gap: 1.2rem;
    padding: 4.25rem 0;
}

.box {
    width: 100%;
    height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: grayscale(100%);
    transition: all 0.9s;
}

.box:hover {
    filter: grayscale(0%);
    transition: all 0.3s;
}

.box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.box:nth-child(1) {
    grid-column-start: span 2;
}

.box:nth-child(4) {
    grid-column-start: span 2;
}

/* --------- Colaboración ---------- */

.class_container {
    height: calc(90vh - 50px);

    background-image: linear-gradient(rgba(123, 122, 122, 0.9),
            rgba(0, 0, 0, 0.9)),
        url(../img/inter3.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    padding: 3rem 0;
}

.img-general {
    margin: 0 7rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.class_image {
    position: relative;
    margin: 1rem 2rem;
}

.class_image .class_img-2 {
    position: absolute;
    right: 0;
    top: 0;
    max-width: 330px;
    border-radius: 10px;
    margin-right: 3rem;
    margin-top: 4rem;
}

.class_image .class_img-1 {
    position: absolute;
    left: 0;
    bottom: 0;
    max-width: 290px;
    border-radius: 10px;
    z-index: 1;
    display: none;
}

.class_content {
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.class_content .section_header {
    max-width: 400px;
}

.class_content h2 {
    font-size: 50px;
    line-height: 60px;
    color: var(--primary-color);
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
}

.class_content p {
    text-align: center;
    font-size: 25px;
    color: var(--white-letter);
    margin-bottom: 1rem;
}

/* --------- Instagram -------- */

.menu-dia {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.menu-dia-content {
    display: flex;
    align-items: center;
    margin: 1rem 20rem;
    justify-content: center;
    text-align: center;
    gap: 2rem;
}

.menu-dia .menu-dia-content .menu-dia-img {
    margin: 2rem;
}

.menu-dia-img img {
    width: 35rem;
}

/* ------------ footer ------------ */

.footer {
    padding: 3rem 0;
    background-color: var(--last-color);
}

.contenido-footer {
    display: flex;
    justify-content: space-between;
}

.links {
    flex-direction: column;
}

.link h3 {
    font-size: 25px;
    color: var(--primary-color);
    margin-bottom: 0.6rem;
}

.link li {
    font-size: 20px;
    color: var(--white-letter);
    margin-bottom: 0.5rem;
}

.link a i {
    font-size: 20px;
    color: var(--white-letter);
    display: block;
    margin-bottom: 0.9rem;
}

.horarios {
    margin-left: 8rem;
}

.logo2 img {
    width: 200px;
    margin-top: 4rem;
    margin-left: 6rem;
}

/* ----------- mmedias querys --------------- */

@media(width < 900px) {
    .menu {
        flex-direction: column;
    }

    .logo img {
        width: 12rem;
        margin-bottom: 3rem;
    }

    .header {
        min-height: 0vh;
        background: var(--second-color);
        padding: 0rem;
    }

    .header-content {
        background-image: linear-gradient(rgba(0, 0, 0, 0.7),
                rgba(0, 0, 0, 0.6)), url(../img/banner1.jpg);
        background-size: cover;
        width: 100%;
    }

    .header-content .nombre {
        width: 25rem;
        margin-top: 17rem;
        margin-bottom: 2rem;
    }

    .carta-content {
        background: var(--second-color);
        padding: 1.5rem;
    }

    .content-carta {
        flex-direction: column;
        margin-bottom: 0;
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;
    }

    .content-carta h2 {
        border: 2px solid transparent;
        border-top-color: var(--primary-color);
        border-bottom-color: var(--primary-color);
        padding: 0;
        margin: 2rem 0;
    }

    .price_grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .price_card {
        padding: 0;
    }

    .price_card_content h4 {
        font-size: 3rem;
    }

    .sobremi {
        padding: 1.5rem;
    }

    .nosotros-mi {
        flex-direction: column;
    }

    .nosotros1 h2 {
        margin-bottom: 0.3rem;
    }

    .nosotros1 p {
        padding: 0;
        margin-bottom: 1rem;
    }

    .nosotros2 {
        padding: 0;
    }

    .logo3 img {
        width: 250px;
        margin: 1rem 0;
    }

    .galeria {
        padding: 1.9rem;
        grid-template-columns: repeat(1, 1fr);
    }

    .box:nth-child(1) {
        grid-column-start: span 1;
    }

    .box:nth-child(4) {
        grid-column-start: span 1;
    }

    .class_container {
        height: 40rem;
        display: flex;
        flex-direction: column;
        background-color: var(--second-color);
        background-image: none;
    }
    
    .img-general {
        grid-template-columns: repeat(1, 1fr);
        height: 27rem;
        padding-top: 0;
    }

    .class_content {
        padding: 0;
    }
    
    .class_image {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .class_image .class_img-1 {
        position: relative;
        max-width: 550px;
    }
    
    .class_image .class_img-2 {
        display: none;
    }
    
    .class_content p {
        text-align: center;
    }

    .menu-dia {
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .menu-dia-content {
        width: 100%;
    }

    .menu-dia-img img {
        width: 28rem;
    }

    .footer {
        padding: 3rem;
    }

    .horarios {
        margin-left: 0;
    }

    .logo2 img {
        width: 200px;
        margin: 1rem 0;
    }

    .map-responsive {
        overflow: hidden;
        padding-bottom: 200px;
        position: relative;
        height: 0;
        margin-top: 1rem;
    }

    .map-responsive iframe {
        left: 0;
        top: 0;
        height: 100%;
        width: 100%;
        position: absolute;
    }

    .contenido-footer {
        flex-direction: column;
        text-align: center;
    }

}

@media (width < 500px) {
    .menu {
        flex-direction: column;
    }

    .logo img {
        width: 12rem;
        margin-bottom: 3rem;
    }

    .header {
        min-height: 0vh;
        background: var(--second-color);
        padding: 0;
        margin: 0;
    }

    .header-content {
        background-image: linear-gradient(rgba(0, 0, 0, 0.7),
                rgba(0, 0, 0, 0.6)), url(../img/banner1.jpg);
        background-size: cover;
        padding: 0;
        margin: 0;
        width: 100%;
    }

    .header-content .nombre {
        width: 23rem;
        margin-top: 13rem;
    }

    .carta-content {
        background: var(--second-color);
        padding: 1.5rem;
    }

    .content-carta {
        flex-direction: column;
        margin-bottom: 0;
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;
    }

    .content-carta h2 {
        border: 2px solid transparent;
        border-top-color: var(--primary-color);
        border-bottom-color: var(--primary-color);
        padding: 0;
        margin: 2rem 0;
    }

    .price_grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .price_card {
        padding: 0;
    }

    .price_card_content h4 {
        font-size: 3rem;
    }

    .nosotros-mi {
        flex-direction: column;
    }

    .nosotros1 h2 {
        margin-bottom: 0.3rem;
    }

    .nosotros1 p {
        padding: 0;
        margin-bottom: 1rem;
    }

    .nosotros2 {
        padding: 0;
    }

    .logo3 img {
        width: 250px;
        margin: 1rem 0;
    }

    .galeria {
        padding: 1.9rem;
        grid-template-columns: repeat(1, 1fr);
    }

    
    .img-general {
        grid-template-columns: repeat(1, 1fr);
        margin: 3rem 4rem;
        height: 27rem;
        margin: 3rem;
    }
    
    .box:nth-child(1) {
        grid-column-start: span 1;
    }
    
    .box:nth-child(4) {
        grid-column-start: span 1;
    }
    
    .class_container {
        height: 51rem;
    }
    
    .class_content {
        padding: 0;
    }
    
    .class_content h2 {
        margin-top: 0;
    }
    
    .class_image {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .class_image .class_img-1 {
        position: relative;
        max-width: 250px;
    }
    
    .class_image .class_img-2 {
        display: none;
    }

    .menu-dia {
        padding: 0;
    }

    .menu-dia-content {
        width: 80%;
    }

    .menu-dia-img img {
        width: 22rem;
    }

    .footer {
        padding: 3rem;
    }

    .horarios {
        margin-left: 0;
    }

    .logo2 img {
        width: 200px;
        margin: 1rem 0;
    }

    .map-responsive {
        overflow: hidden;
        padding-bottom: 200px;
        position: relative;
        height: 0;
        margin-top: 1rem;
    }

    .map-responsive iframe {
        left: 0;
        top: 0;
        height: 100%;
        width: 100%;
        position: absolute;
    }

    .contenido-footer {
        flex-direction: column;
        text-align: center;
    }
}