@import url('https://fonts.googleapis.com/css?family=Playfair+Display:400display=swap');
@import url('https://fonts.googleapis.com/css?family=Montserrat:600&display=swap');
@import url('https://fonts.googleapis.com/css?family=Lora:400&display=swap');

*{
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Playfair Display', serif;
    /* color: #91819b; */
}

h1{
    font-family: 'Playfair Display', serif;
    font-size: 2.7em;
    font-weight: 400;
    color: black;
    background-color: #fff;
    padding: 8px;
    padding-left: 16px;
    padding-right: 16px;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 4px;
}

h2{
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-align: center;
}
h3{
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 10px;
    font-size: 2em;
}

h5{
    font-family: 'Times New Roman', serif;
    font-size: 8em;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 10px;
}

h6{
    font-family: "Montserrat";
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8em;
    letter-spacing: 2px;
    color: #91819b;
}


p{
    font-family: 'Lora, serif';
    letter-spacing: 2px;
    font-size: 1.2em;
}

#showcase{
    min-height: 75vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#showcase img{
    width: 50px;
    height: 50px;
}

.underliner{
    height: 6px;
    width: 450px;
    background: #f3f3f3;
    margin: 15px 0;
}

.wrapper{
    display: grid;
    overflow: hidden;
}

.content{
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.illustration{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10%;
}

.illustration img{
    width: 350px;
    height: auto;
}

.text{
    text-align: justify;
    justify-self: center;
    align-self: center;
}

#service-1{
    background: #f3f3f3;
    padding: 0 15%;
}

#service-2{
    background: #012345;
    color: #f3f3f3;
    padding: 0 15%;

}

#service-3{
    background: white;
    padding: 0 15%;

}

#service-3 h2{
    hyphens: auto;
}

#service-4{
    background: #234567;
    color: #f3f3f3;
    padding: 0 15%;

}

.service-bg{
    height: 75vh;
    width: 100%;
    display: block;
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}


/* TABLET */
@media (max-width: 980px) {
    #showcase{
        padding: 32px;
    }

    .content{
        grid-template-columns: 1fr;
    }

    #service-2 .illustration{
        grid-area: 1 / 1 / span 1 / span 1;
    }

    #service-4 .text{
        grid-area: 2 / 1 / span 1 / span 1;
    }

    .illustration{
        margin-top: 10%;
    }

    .text{
        margin-bottom: 25%;
    }

    .text h5{
        margin-top: 0;
    }
    
}


/* PHONE */
@media (max-width: 630px) {
    h1{
        font-size: 2.2em;
        letter-spacing: 4px;
    }

    h3{
        font-size: 1.8em;
        letter-spacing: 9px;
    }

    #showcase{
        min-height: 90vh;
    }

    .underliner{
        height: 6px;
        width: 80%;
        background: #f3f3f3;
        margin: 15px 0;
    }

    .illustration{
        padding: 0 10px;
    }
    
    .illustration img{
        width: 300px;
        height: auto;
    }

    .text{
        padding: 0 10%;
    }

    #service-1{
        padding: 0;
    }
    
    #service-2{
        padding: 0;
    
    }
    
    #service-3{
        padding: 0;
    
    }
    
    #service-4{
        padding: 0;    
    }

    .service-bg{
        height: 80vh;
        background-attachment: unset;
          
    }
    
}



