/* Google Fonts - DCN  */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700;800;900&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
}
body {
    font-family: 'Raleway', sans-serif;
}


/* UTILITY STYLES */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem;
    padding-top: 5rem;
    height: auto;
    overflow: hidden;
}
h1 {
    font-family: 'Raleway', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #0e496b;
    display: inline-block;
    padding: 0 1rem;
    margin-bottom: 3rem;
    position: relative;
}
h1:before {
    position: absolute;
    content: '';
    left: 0;
    bottom: -25px;
    width: 100%;
    height: 100%;
    background: url(../img/h1_light.svg) repeat-x;
    background-size: 20px;
    background-position: 0;
}
p {
    font-family: 'Raleway', sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: #1E1E1E;
    line-height: 1.6;
}
a {
    font-size: 1.2rem;
    text-decoration: none;
    padding-bottom: 10px;
    cursor: pointer;
}
a:hover {
    font-weight: 500;
}



/* ! - HEADER */
header {
    background-color: #F4F1DE;
    background-image: url(../img/bg_texture.jpg);
    width: 100%;
    height: 100vh;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
}
#header_cont {
    width: 78%;
    height: 78%;
    max-width: 1100px;
    max-height: 700px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* border: 3px solid red; */
    position: absolute;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-template-areas: "logo logo sandwich"
                        "logo logo sandwich"
                        "info info sandwich";
}
#cont_logo {
    grid-area: logo;
}
#cont_sandwich {
    grid-area: sandwich;
    width: 100%;
    height: 100%;
}
#cont_info {
    grid-area: info;
    width: 100%;
    height: 100%;
}
header > section > div {
    height: 100%;
    top: 50%;
    transform: translateY(-50%);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    
    max-width: 100%;
    height: auto;
    object-fit: cover;
}
#nutrition,
#logo,
#full_Sandwich,
#mob_Sandwich {
    width: 100%;
    height: 100%;
    max-height: -webkit-fill-available;
}
#responsive_Sand {
    display: none;
    padding: 1rem 0rem;
}

/* ! - INTRO */
#intro {
    background-color: #3D405B;
}
#intro_p {
    color: #F4F1DE;
    text-align: left;
}


/* ! - INFOGRAPHIC */
#infographic{
    background-color: #F4F1DE;
}


/* ! - VIDEO */
#video {
    background-color: #3D405B;
}
#video > article > h1 {
    color: #F4F1DE;
}
#vid_container {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
#recipe_Vid {
    width: 80%;
    max-width: 100%;
    aspect-ratio: 16/9;
    height: auto;
    border: 2px solid #F4F1DE;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.2);
}



/* ! - MAP */
#map {
    background-color: #F4F1DE;
}
#map > article > h1 {
    color: #3D405B;
}
#map > article > h1:before {
    position: absolute;
    content: '';
    left: 0;
    bottom: -25px;
    width: 100%;
    height: 100%;
    background: url(../img/h1_dark.svg) repeat-x;
    background-size: 20px;
    background-position: 0;
}
.mapouter {
    position: relative;
    text-align: right;
    width: 80%;
    height: auto;
    border: 2px solid #3D405B;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.2);

    display: block;
    margin: auto;
}
.gmap_canvas {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: none !important;
}



/* ! - FOOTER */
footer {
    background-color: #3D405B;
}
footer > .container {
    padding: 2rem;
}
footer > article {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

footer > article > a {
    color: #F4F1DE;
}
footer > article > h6{
    margin-top: 5px;
    font-weight: 500;
    color: whitesmoke;
}


/* ! Tablet to Desktop */

@media (min-width: 768px) and (max-width: 992px) {

    

}


/* ! Mobile to Tablet */

@media (min-width: 320px) and (max-width: 767px){

    .container {
        padding: 1.5rem 1rem;
    }
    h1 {
        font-size: 1.8rem;
    }
    p {
        font-size: 1.2rem;
    }
    a{
        font-size: 1rem;
    }

    #header_cont {
        width: 100%;
        height: 100%;
        grid-template-rows: repeat(5, 1fr);
        grid-template-columns: 1fr;
        grid-template-areas: "logo"
                            "mob-sand"
                            "mob-sand"
                            "mob-sand"
                            "mob-sand";
    }

    #logo {
        width: 45%;
    }
    #cont_sandwich, #cont_info {
        display: none;
    }
    #responsive_Sand {
        display: block;
        grid-area: mob-sand;
    }
    
}