*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: white;
    font-family: 'Poppins', sans-serif;
    letter-spacing: .1em;
}
body{
    background-color: black;
}
.navbar{
    display: flex;
    align-items: center;
    padding: 20px;
}
.navbar .logo img{
    padding-left: 10px;
}
nav{
    flex: 1;
    text-align: right;
}
nav a{
    font-size: large;
    font-weight: bold;
}
nav ul{
    display: inline-block;
    list-style-type: none;
    margin-top: 50px;
}
nav ul li{
    display: inline-block;
    margin-right: 0px;
    margin-bottom: 20px;
    padding-left: 50px;
}
h1{
    font-size: 24pt;
}
a{
    text-decoration: none;
    color: white;
}
p{
    color:white;
    line-height: 200%;
}
.contact-form{
    margin: auto;
    padding-left: 0px;
    padding-right: 0px;
}
.row{
    display: flex;
    justify-content: center;
    align-items: flex-start;
}
.col-1{
    flex-basis: 50%;
    text-align: justify;
    font-size: 16pt;
    width: 50%;
    max-width: 100%;
    padding-left: .5vw;
    padding-right: .5vw;
}
.col-1 img{
    max-width: 100%;
    min-width: 100%;
}
.col-1 h2{
    text-align: center;
    font-size: 18pt;
    text-decoration: underline;
    padding-bottom: 15px;
}
.col-2{
    flex-basis: 50%;
    text-align: justify;
    font-size: 16pt;
    width: 50%;
    max-width: 100%;
    padding-left: .5vw;
    padding-right: .5vw;
}
.col-2 img{
    min-width: 100%;
    max-width: 100%;
}
.col-2 h2{
    text-align: center;
    font-size: 18pt;
    text-decoration: underline;
    padding-bottom: 15px;
}

/*------------- home page -----------*/

.home-container{
    position: relative;
    text-align: center;
}
.home .row{
    text-align: center;
}
.home h2{
    text-decoration: none;
    text-align: left;
    font-size: 3vw;
}
.middle-text{
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgb(255, 255, 255, .7 );
    padding: 5px;
    border-radius: 3px;
}
.middle-text h3{
    color: black;
    font-size: 16pt;
}
.to-row{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    margin: 10px;
}
.to-row img{
    width: 30vw;
    border-radius: 10px;
    opacity: .3;
}
.to-row a{
    margin: 10px;
    position: relative;
    font-size: 1.8vw;
}
.to-row p{
    position: absolute;
    top: 10%;
    left: 10%;
}
.to-row a:hover img{
    opacity: 1;
    border: 2px solid #5fb0b3;
    border-radius: 10px;
}
.to-row a:hover p{
    color: black;
    background-color: rgb(255, 255, 255, .7 );
    padding: 0 15px;
    border-radius: 5px;
    font-weight: bold;
}
.home h1{
    text-align: left;
    margin-left: 0;
    font-size: 6vw;
}

.header .row{
    margin-top: 70px;
}
.categories{
    margin:  0;
    background-color: white;
}
.col-3{
    flex-basis: 30%;
    min-width: 250px;
    margin-bottom: 30px;
}
.col-3 img{
    width: 100%;
}
.small-container{
    max-width: 1080px;
    margin: auto;
    padding-left: 25px;
    padding-right: 25px;
    background-color: black;
}
.small-container h2{
    color: white;
}
.col-4{
    flex-basis: 25%;
    padding: 10px;
    min-width: 200px;
    margin-bottom: 50px;
    transition: transform 0.5s;
}
.col-4 img{
    width: 100%;
}
.title{
    text-align: center;
    margin: 0 auto 80px;
    position: relative;
    line-height: 60px;
    color:white;
}
.title::after{
    content: '';
    background: #aa1d1d;
    width: 80px;
    height: 5px;
    border-radius: 5px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
.col-4 p{
    font-size: 14px;
}
.rating .fa{
    color: #aa1d1d;
}
.col-4:hover{
    transform: translateY(-5px);
}

/*----------- navbar ---------------------*/

.menu-icon{
    width: 50px;
    margin-left: 20px;
    align-items: flex-end;
    display: none;
}
a:hover{
    color: #5fb0b3;
}

/*---------- footer --------*/

.footer{
    margin: 50px auto;
    font-size: 10pt;
}
.footer .row{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer ul{
    text-decoration: underline;
    padding-bottom: 5px;
    text-align: center;
}
.footer li{
    padding: 2px;
    list-style-type: none;
    text-align: center;
}
.footer-col1 li{
    display: inline-block;
}
.footer-col1 img{
    width: 100%;
    cursor: pointer;
}
.footer img{
    width: 25px;
}
.copyright{
    text-align: center;
    padding: 40px 0;
    color: gray;
}

/*---------- media query for less than 900 screen size ---------*/

@media only screen and (max-width: 900px){
    nav ul{
        position: absolute;
        top: 120px;
        left: 0;
        width: 100%;
        overflow: hidden;
        transition: max-height 0.5s;
    }
    nav ul li{
        display: block;
        margin-right: 30px;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .menu-icon{
        display: block;
        cursor: pointer;
    }
    .to-row a{
        font-size: 2vw;
    }
    .navbar a{
        font-size: 10pt;
    }
    .flex-row-1 p, .flex-row-2 p, .flex-row-3 p{
        font-size: 14pt;
    }
}

/*------- services page ---------*/

html{
    scroll-behavior: smooth;
}
.services{
    padding-left: 2vw;
    padding-right: 2vw;
}
.services h1{
    text-align: center;
}
.services h2{
    text-align: center;
    text-decoration: underline;
}
.slideshow{
    max-width: 1000px;
    position: relative;
    margin: auto;
}
.services .col-1, .col-2{
    line-height: 200%;
}
.slides{
    display: none;
}
.flex-row-1 p, .flex-row-2 p, .flex-row-3 p{
    margin-left: 5vw;
    margin-right: 5vw;
}
.prev, .next{
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}
.next{
    right: 0;
    border-radius: 3px 0 0 3px;
}
.prev:hover, .next:hover{
    background-color: rgba(0,0,0,0.8);
}
.slide-text{
    color: white;
    font-size: 20pt;
    padding: 8px 12px;
    position: absolute;
    bottom: 10px;
    text-align: center;
    background: rgba(0,0,0,0.7);
    border-radius: 6px;
    left: 20vw;
    right:20vw;
}
.dot{
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}
.active, .dot:hover{
    background-color: #717171;
}
.fade{
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}
@-webkit-keyframes fade{
    from {opacity: .4}
    to {opacity: 1}
}
@keyframes fade{
    from {opacity: .4}
    to {opacity: 1}
}

/*------------- about page ----------------*/

.about{
    padding-left: 2vw;
    padding-right: 2vw;
}
.about h1{
    text-align: center;
}
.flex-row-1{
    display: flex;
}
.flex-row-2{
    display: flex;
}
.flex-row-3{
    display: flex;
}

/*------------ contact page ------------*/

.contact h1{
    padding: 50px;
    text-align: center;
    font-size: 50px;
}
.contact-form{
    margin-top: 50px;
    transition: all 4s ease-in-out;
    margin-left: 2%;
}
.form-control{
    width: 98%;
    background: transparent;
    border: none;
    outline: none;
    border-bottom: 1px solid gray;
    color: #5fb0b3;
    font-size: 18px;
    margin-bottom: 16px;
}
.contact input{
    height: 45px;
}
.contact-form .submit{
    background: #5fb0b3;
    border: none;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    height: 50px;
    font-size: 20px;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 40px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.contact-form .submit:hover{
    background-color: #5fb0b380;
}
.contact textarea{
    display: block;
    resize: none;
}
.contact-options label{
    font-size: 30px;
}
.contact-options{
    list-style-type: none;
    text-align: center;
    margin: 20px;
    flex: auto;
}
.contact-options .small-container{
    margin-bottom: 50px;
}
.contact-options ul{
    padding-bottom: 5px;
    text-decoration: underline;
    position: relative;
}
.contact-options li a{
    color: rgba(255, 255, 255, 0.616);
}
.contact-options a:hover{
    color: #5fb0b3;
}
.contact-col1{
    display: inline-block;
}
.contact-col2{
    display: inline-block;
}
.contact-options .row{
    display: flex;
    align-items: center;
    justify-content: space-around;
}

/*-------------- thank you page -------------*/

.thanks{
    margin: 15% auto;
    background-color: black;
    border: 1px solid #5fb0b3;
    width: 70vw;
    text-align: center;
    padding: 20px;
}
.thanks h1{
    font-size: 5vw;
}
.thanks h2{
    font-size: 2vw;
}

/*--------------- modals ----------------*/

.modal{
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}
.phone-modal-content{
    background-color: black;
    margin: 15% auto;
    padding: 20px;
    text-align: center;
    border: 1px solid #5fb0b3;
    width: 250px;
}
.email-modal-content{
    background-color: black;
    margin: 15% auto;
    padding: 20px;
    text-align: center;
    border: 1px solid #5fb0b3;
    width: 275px;
}
.phone-modal-content a{
    font-size: 18pt;
    vertical-align: text-bottom;
}
.email-modal-content a{
    font-size: 12pt;
    vertical-align: text-bottom;
}
.close{
    color: red;
    font-size: 28px;
    font-weight: bold;
}
.close:hover,.close:focus {
    color: #5fb0b3;
    text-decoration: none;
    cursor: pointer;
}
li button{
    background: none;
    border: none;
}
li button:hover{
    color: #5fb0b3;
}

/*---- media query for less than 600 screen size ----*/

@media only screen and (max-width: 600px){
    nav ul{
        top: 90px;
    }
    .row{
        text-align: center;
    }
    .to-row{
        display: grid;
        margin-top: 30px;
    }
    .to-row a{
        font-size: 5vw;
    }
    .to-row img{
        width: 100%;
    }
    .about .row{
        display: block;
    }
    .flex-row-1{
        display: grid;
    }
    .flex-row-2{
        display: grid;
    }
    .flex-row-3{
        display: grid;
    }
    .col-1, .col-2, .col-3{
        width: 100%;
    }
    .flex-row-2 .col-1{
        order: 2;
    }
    .flex-row-2 .col-2{
        order: 1;
    }
    .footer .row{
        display: block;
        align-items: center;
    }
    .footer-col1, .footer-col2{
        margin-bottom: 20px;
    }
    .logo img{
        width: 150px;
    }
    h1{
        margin-top: 70px;
    }
    .thanks h1{
        margin-top: initial;
    }
    .home h1{
        font-size: 7vw;
    }
    .home h2{
        font-size: 4vw;
    }
    .home-container h3{
        font-size: 3vw;
    }
    .contact-options .row{
        display: grid;
    }
    .contact-col1{
        margin-bottom: 15px;
    }
}

/*------- media query for less than 400px ------*/

@media only screen and (max-width: 400px){
    .row{
        text-align: center;
    }
    .flex-row-1 p, .flex-row-2 p, .flex-row-3 p{
        font-size: 12pt;
    }
    .navbar .logo img{
        width: 150px;
        padding-left: 10px;
    }
    .home-container h3{
        font-size: 4vw;
    }
    .slide-text{
        font-size: 14pt;
    }
}