.wrapper{
    background-image: url(../images/about/write.jpg);
    height: 50vh;
    background-size: cover;
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center;
}


h1{
    font-size: 82px;
    text-align: center;
    //text-transform: uppercase;
    font-family: skytree;
    letter-spacing: 0.15em;
    color: #fff;
}

.contact-wrapper{
    position: relative;
    width: 100%;
    height: 1000px;
}

.random-contact-icon{
    position: absolute;
    height: 900px;
    top: 200px;
    right: 25%;
    transform: rotate(222deg);
}

.box{
    position: absolute; 
    top: 100px;
    left: 150px;
    height: 800px; 
    width: 70%; 
    background-size: cover;
    color: 	#808080;
}

h2{
    font-size: 54px;
    margin-bottom: 0px;
    color: rgb(45, 45, 45);
}

.box p{
    margin-top: 0;
    font-size: 24px;
    line-height: 1.6em;
    color: rgb(61, 61, 61);
}

.email-phone-wrapper{
    display: flex;
    flex-direction: row;
}

.contact-box{
    position: relative;
    width: 500px;
    height: 350px;
    background: #f5f5f5;
    border-radius: 15px;
    box-shadow: 0px 8px 31px -19px #000;
    text-align: center;
    margin: 15px;
    z-index: 100;
}

.contact-box h3{
    font-size: 24px;
    margin-bottom: 15px;
    color: rgb(61, 61, 61);
}

.fas-icon{
    margin-top: 50px;
    margin-bottom: 10px;
    font-size: 38px;
    color: #f9438d;
    padding: 20px;
    background: #e2e2e2;
    border-radius: 50%;
    box-shadow: 0px 8px 31px -19px #000;
}

.fa-phone{
    transform: rotate(90deg);    
}

.contact-box p{
    width: 80%;
    margin: 0 auto;
    font-size: 18px;
}

.contact-box span{
    position: absolute;
    bottom: 40px;
    width: 100%;
    transform: translateX(-50%);
    color: #f9438d;
    font-weight: bold;
    font-size: 22px;
    letter-spacing: 1px;
}

.email, 
.sms{
    text-decoration: none;
    color: #f9438d;
}

@media only screen and (max-width: 2300px){
 
    .random-contact-icon{
        right: 15%;
    }

}

@media only screen and (max-width: 2000px){
 
    .random-contact-icon{
        height: 800px;
        right: 10%;
    }

}

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

    .contact-wrapper{
        height: 900px;
    }
 
    .random-contact-icon{
        height: 700px;
        right: 5%;
    }

}

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

    .contact-wrapper{
        height: 870px;
    }
 
    h2{
        font-size: 50px;
    }

    .box p{
        font-size: 22px;
        line-height: 1.5em;
    }

    .random-contact-icon{
        height: 600px;
        right: 5%;
        top: 35%;
    }

    .contact-box{
        width: 350px;
        height: 280px;
    }

    .contact-box h3{
        font-size: 20px;
    }

    .contact-box p{
        font-size: 14px;
    }

    .contact-box span{
        fonts-size: 20px;
    }

    .fas-icon{
        margin-top: 40px;
        font-size: 25px;
        padding: 15px;
        margin-bottom: 0;
    }
}

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

    h2{
        font-size: 46px;
    }

    .box{
        left: 50%;
        transform: translateX(-50%);
        width: 85%;
    }

    .box p{
        font-size: 20px;
        line-height: 1.4em;
    }    

    .random-contact-icon{
        height: 500px;
        right: -5%;
    }

    .contact-box{
        height: 260px;
    }

    .contact-box p{
        font-size: 14px;
    }

    .contact-box span{
        bottom: 25px;
        font-size: 18px;
    }

}

@media only screen and (max-width: 750px){
    
    .contact-wrapper{
        height: 650px;
    }

    .box{
        top: 20%;
    }

    h1{
        font-size: 58px;
        letter-spacing: 0.10em;
    }
    

    .box h2{
        font-size: 34px;
        padding: 0;
        text-transform: uppercase;
    }

    .box p{
        font-size: 18px;
    }

    .contact-box{
        height: 230px;
    }

    .contact-box h3{
        font-size: 18px;
    }

    .contact-box{
        bottom: 22px;
        font-size: 15px;
    }

    .fas-icon{
        margin-top: 30px;
        font-size: 20px;
        padding: 11px;
    }

    .box p{
        font-size: 14px;
    }

    .random-contact-icon{
        height: 400px;
        right: 10%;
        top: 40%;
    }

}

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

    .contact-wrapper{
        height: 1200px;
    }

    .box{
        top: 10%;
        width: 90%;
    }
    
    .box p{
        font-size: 19px;
        margin-bottom: 75px;   
    }

    .email-phone-wrapper{
        display: flex;
        flex-direction: column;
    }

    .contact-box{
        width: 500px;
        height: 350px;
    }
    
    .contact-box h3{
        font-size: 24px;
    }
    
    .fas-icon{
        margin-top: 50px;
        margin-bottom: 10px;
        font-size: 38px;
        padding: 20px;
    }
    
    .fa-phone{
        transform: rotate(90deg);    
    }
    
    .contact-box p{
        width: 80%;
        margin: 0 auto;
        font-size: 18px;
    }
    
    .contact-box span{
        position: absolute;
        bottom: 40px;
        width: 100%;
        transform: translateX(-50%);
        color: #f9438d;
        font-weight: bold;
        font-size: 22px;
        letter-spacing: 1px;
    }
        
}

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

    h2{
        font-size: 46px;
    }

    .box p{
        font-size: 20px;
        line-height: 1.4em;
    }    

    .random-contact-icon{
        height: 530px;
        right: 5%;
    }

    .contact-box{
        width: 330px;
        height: 280px;
        margin: 30px auto;
        font-size: 15px;
    }

    .contact-box p{
        font-size: 14px;
    }

    .contact-box span{
        bottom: 25px;
        font-size: 18px;
    }

    .fas-icon{
        margin-top: 40px;
        font-size: 25px;
        padding: 15px;
        margin-bottom: 0;
    }
}

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

    h1{
        font-size: 42px;
        
    }
    
    .random-contact-icon{
        height: 440px;
        right: 50%;
        top: 45%;
        transform: rotate(175deg);
    }
}