body{
    font-size: 20px;
}

button{
    background: #ffc600;
    border: 0;
    padding: 10px 20px;
}

img{
    max-width: 100%;
}

.wrapper{
    display: grid;
    grid-gap: 20px;
}

.top{
    display: grid;
    grid-gap: 20px;
    grid-template-areas: 
            "hero hero cta1"
            "hero hero cta2";
}

.hero{
    grid-area: hero;
    min-height: 400px;
    background: white url(images/taco.jpg);
    background-size: cover;
    background-position: bottom right;
    padding: 50px;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
}

.hero > *{
    background: #ffc600;
    padding: 5px;
}

.cta{
    background: #ffc600;
    display: grid;
    justify-content: center;
    align-items: center;
}

.cta1{
    grid-area: cta1;
}

.cta2{
    grid-area: cta2;
}

.price{
    font-size: 60px;
    font-weight: 300;
}

/* Navigation */

.menu ul{
    display: grid;
    grid-gap: 10px;
    padding: 0;
    list-style: none;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
}

.menu a{
    background: #ffc600;
    display: block;
    text-decoration: none;
    padding: 10px;
    text-align: center;
    color: #272727;
    text-transform: uppercase;
    font-size: 20px;
}

[aria-controls="menu-list"]{
    display: none;
} 

/* Features */

.features{
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
}

.feature{
    background: white;
    padding: 10px;
    border: 1px solid white;
    text-align: center;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
}

.feature .icon{
    font-size: 50px;
}

.feature p{
    color: rgba(0, 0, 0, 0.5);
}

/* About */

.about{
    background: white;
    padding: 50px;
    display: grid;
    grid-template-columns: 400px 1fr;
    align-items: center;
}

/* Gallery */

.gallery{
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.gallery img{
    width: 100%;
}

.gallery h2{
    grid-column: 1 / -1;
    text-align: center;
    color: #ffc600;
}

@media (max-width: 1000px){
    .menu{
        order: -1;
    }

    [aria-controls="menu-list"]{
        display: block;
        margin-bottom: 10px;
    }

    .menu ul{
        display: grid;
        grid-template-columns: 1fr;
        max-height: 0;
        overflow: hidden;
        transform: rotateY(90deg);
        transition: all 0.5s;
    }

    [aria-expanded="true"] ~ ul{
        display: grid;
        max-height: 500px;
        transform: rotateY(0);
    }

    [aria-expanded="false"] .close{
        display: none;
    }

    [aria-expanded="true"] .open{
        display: none;
    }

    .close, .open{
        pointer-events: none;
    }
}

@media (max-width: 700px){
    .top{
        grid-template-areas: 
            "hero hero"
            "cta1 cta2";
    }

    .about{
        grid-template-columns: 1fr;
    }

    [aria-expanded="true"] ~ ul{
        grid-template-columns: 1fr;
    }
}

@media (max-width: 500px){
    .top{
        grid-template-areas: 
        "hero"
        "cta1"
        "cta2";
    }
}
