@import url('https://fonts.googleapis.com/css?family=Open+Sans');


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: "Montserrat";
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.2em;
    letter-spacing: 1px;
    color: #91819b;
}

h3{
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 10px;
    font-size: 2em;
}

p{
    font-family: 'Open Sans';
    color: #91819b;
}

a{
    color: #91819b;
    text-decoration: none;
}

a:hover{
    text-decoration: none;
    color: #2752f1;
}

#showcase{
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 20%;
}

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

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

.separator .container-hor{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-card{
    margin: 0 15%;
    margin-bottom: 50px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    background-color: #f3f3f3;
    border: 1px solid #d3d3d3;
    transition: 0.3s;
    border-radius: 5px;
    padding: 32px 32px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    transition: 0.6s;
}

.contact-card:hover{
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

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

.contact-data{
    justify-self: center;
    align-self: center;
}

.contact-data h2{
    margin: 0;
}

.contact-data p{
    margin: 0;
}

.owner{
    margin-top: 24px;   
}

#form-container{
    margin: 0 15%;
    margin-bottom: 100px;
    
    border: 1px solid #d3d3d3;
    border-radius: 5px;
    padding: 32px;
    transition: 0.6s;

}

#form-container:hover{
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    background-color: #f3f3f3;
}

.form-top{
    margin-top: 32px;
}


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

    .contact-card{
        margin-left: 32px;
        margin-right: 32px;
    }

    #form-container{
        margin-left: 32px;
        margin-right: 32px;
    }

    .brand img{
        width: 300px;
        height: auto;
    }

}


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

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

    #showcase{
        min-height: 60vh;
    }

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

    .contact-card{
        grid-template-columns: 1fr;
        margin-left: 16px;
        margin-right: 16px;
    }

    #form-container{
        margin-left: 16px;
        margin-right: 16px;
        padding: 16px;
    }

    .container{
        padding-right: 0;
        padding-left: 0;
        margin-right: 0;
        margin-left: 0;
    }

    .brand img{
        width: 250px;
        height: auto;
    }

    .brand{
        margin-bottom: 32px;
    }

}