*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{

    font-family: 'Mr Dafoe', cursive;
    font-family: 'Roboto Mono', monospace;
    font-family: 'Red Hat Display', sans-serif;
    --red: #F64747;
    --black: #191919;
    --border: #b8b8b8;
    scroll-behavior: smooth;
}

.cover{
    height: 100%;
    width: 100%;
    object-fit: cover;
}

h1{
    font-size: 8rem;
}

h2{
    font-size: 3rem;
    font-family: 'Red Hat Display';
    line-height: 3rem;
    letter-spacing: .3rem;
    font-weight: bolder;
    text-transform: uppercase;
}

h4{
    font-family: 'Roboto Mono';
}

p{
    font-family: 'Roboto Mono';
    font-size: .9rem;
    line-height: 1.5rem;
}


/* HEADER */

.logo{
    height: 90px;
}

header{
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 15vh 1fr;
    width: 100%;
    height: 95vh;
    
}

.herobg{
    grid-column: 1/-1;
    grid-row: 1/-1;
    width: 100%;
}

nav{
    grid-column: 1/2;
    grid-row: 1/2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5vw;
}

nav li{
    display: inline;
}

nav li a{
    color: var(--black);
    font-size: 1.3rem;
    padding-left: 1vw;

}

nav li a:hover{
    color: var(--red);
}

.hero-text{
    grid-column: 1/2;
    grid-row: 1/3;
    justify-self: center;
    align-self: center;
    text-align: center;
    width: 50%;
}

.hero-text h1{
    text-transform: uppercase;
    letter-spacing: .8rem;
    font-family: 'Red Hat Display';
    font-weight: bolder;
    line-height: 7rem;
}

.red{
    color: var(--red);
}

.hero-text p{
    font-size: 2rem;
}

/* CRAFT BEER */

.craftbeer{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 40px;
    gap: 5vw;
}

.product:hover{
    transform: scale(1.1);
    transition: .3s ease;
}

.product__text{
    text-align: center;
    padding-top: 20px;
}

.product__text h3{
    font-family: 'Red Hat Display';

}

.info{
    padding-top: 20px;
    font-family: 'Roboto Mono';
}

.price{
    padding-top: 20px;
    color: var(--red);
    font-size: 2rem;
    font-family: 'Mr Dafoe';
}

.productbtn{
    text-align: center;
    margin-top:  5vh;
    margin-bottom: 15vh;
}

.productbtn a{
    border: 1px solid black;
    text-align: center;
    text-decoration: none;
    padding: .6em 2em;
    color: var(--black);
}

.productbtn a:hover{
    color: var(--red);
    border: 1px solid var(--red);
}


/*  OUR STORY */

.story__content{
    width: 50%;
    margin: 0 auto;
    text-align: center;
}

.story__content h2{
    padding-bottom: 5vh;
}

.story__content p{
    padding-bottom: 5vh;
}


.two-col{
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 15vh 18vw 20vh;
    gap: 10vw;
}

.two-col h2{
    color: var(--red);
}


/* KEEP IN TOUCH */

.keepintouch__content{
    padding: 50px 0 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
}

.keepintouch__content h2{
    padding-bottom: 20px;
}

.keepintouch__content p{
    padding-bottom: 15px;
}

input{
    border: 1px solid var(--border);
    outline: none;
    line-height: 2.5rem;
    padding-left: 10px;
    width: 340px;
}

form h4{
    padding-top: 10px;
}

button{
    line-height: 2.5rem;
    padding: 0 20px;
    border-radius: 0;
    outline: none;
    background-color: var(--red);
    border: none;
    color: white;
    font-weight: bolder;
}

button:hover{
    background-color: var(--black);
    cursor: pointer;
}

/* INSTAGRAM */

.instagram {
    text-align: center;
}

.instagram a{
    text-decoration: none;
    color: var(--black);
    font-family: 'Red Hat Display';
    font-size: 1.3rem;
    padding-bottom: 30px;
}

.instagram-grid{
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    margin: 15px;
}

.instagram__con{
    position: relative;
    display: flex;
    text-align: center;
}

.overlay{
    position: absolute;
    height: 100%;
    width: 100%;
    background-blend-mode: overlay;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.overlay p{
    color: white;
    font-size: .8rem;
    font-family: 'Red Hat Display';
    font-weight: lighter;
}


.overlay:hover{
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 1;
    transition: .3s ease;
  }


/* FOOTER */

footer{
    display: flex;
    justify-content: space-between;
    padding: 150px 25vw 100px;
}

footer h4{
    padding-bottom: 20px;
}

footer li{
    list-style-type: none;
}

footer a{
    line-height: 1.5rem;
    font-family: 'Roboto Mono';
    color: var(--red);
    text-decoration: none;
}

.footer-rights{
    text-align: center;
    padding-bottom: 30px;
}

footer a:hover{
    text-decoration: underline;
}

/* MEDIA QUARIES */

@media screen and (max-width: 1000px){

    h1{
        font-size: 5rem;
    }

    .hero-text{
        width: 100%;
    }

    .story__content{
        width: 80%;
    }

    footer{
        display: flex;
        justify-content: space-between;
        padding: 100px 10vw 100px;
    }
}

@media screen and (max-width: 800px){
    
    .two-col{
        grid-template-columns: 1fr;
    }


}

@media screen and (max-width: 600px){

    .logo{
        height: 30px;
    }

    h1{
        font-size: 3rem;
    }
    
    h2{
        font-size: 2rem;
    }

    .craftbeer{
        grid-template-columns: 1fr;
        gap: 70px;
    }

    .instagram-grid{
        grid-template-columns: repeat(2, 1fr);

    }

    footer{
        display: flex;
        flex-direction: column;
        padding: 20px;
        text-align: center;
    }

    footer h4{
        padding: 20px 0 10px;
    }
  

}

@media screen and (max-width: 450px){
    
    .hero-text h1{
        letter-spacing: .5rem;
        line-height: 3rem;
    }

    input{
        border: 1px solid var(--border);
        outline: none;
        line-height: 2rem;
        padding-left: 10px;
        width: 100%;
        margin-bottom: 10px;
    }
    
    form h4{
        font-size: .8rem;

    }
    
    button{
        line-height: 2.5rem;
        padding: 0 20px;
        border-radius: 0;
        outline: none;
        background-color: var(--red);
        border: none;
        color: white;
        font-weight: bolder;
    }

    .keepintouch__content{
        padding: 50px 0 70px;

    }





}















