@font-face {
    font-family: 'CourierPrime';
    src: url('Resources/CourierPrime-Regular.ttf') format('truetype'),
}
@font-face {
    font-family: 'LS';
    src: url('Resources/LeagueSpartan.ttf') format('truetype'),
}
@font-face {
    font-family: 'Fredoka';
    src: url('Resources/Fredoka.ttf') format('truetype'),
}
@font-face {
    font-family: 'Kallisto';
    src: url('Resources/KallistoBoldItalic.otf') format('truetype'),
}


html, body { 
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lato', sans-serif;
    font-family: 'Oswald', sans-serif;
}

.whatsapp {
    position: fixed;
    bottom: 5%;
    right: 2%;
}
.whatsapp img{
    width: 70px;
    height: 70px;
}

.bg-img {    
    background-image: url("Resources/shittybg.png");

    /* Center and scale the image */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    
    height: 38rem; 
    width: 100%;

    justify-content: center;
    background-attachment: fixed;
}

.container {
    display: block;
    background-color: white;
    /* height: 400px; */
}
.title {
    text-align: center;
    color: red;
    margin-top: 5%;
    font-size: 45px;
    font-family: "LS";
    letter-spacing: 5px;
}
@media screen and (max-width: 900px) {
    .hide-on-phone {display: none;}
    .bg-img {
        display: block;
        height: 200px;
        background-attachment:scroll;
    }
    .title {
        font-size: 20px;
        letter-spacing: 2px;
    }
}

.services-container {
    display: flex;flex-wrap: wrap;width: 75%;height: auto; margin: 2% auto;
    /* background-color: rebeccapurple; */
    justify-content: center;
}
.overlay {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.55); /* Black with 55% opacity */
    transition: .3s;
    padding: 10%;
    text-align: center;
    box-sizing: border-box;
}
.overlay:hover {
    background-color: rgba(255, 102, 102, 0.725);
}
.flex-box {
    width: 24%;height: 17rem;
    margin: 2% 3%;
    background-repeat: no-repeat;background-size: cover;background-position: center; z-index: 1;
    transition: 1 ease;
}
#flex-img1 { background-image: url('Resources/hotmotor.jpg'); }
#flex-img2 { background-image: url('Resources/motodetailing.jpg'); }
#flex-img3 { background-image: url('Resources/nyuci.jpg'); }
#flex-img4 { background-image: url('Resources/coatingOri1.jpg'); }
#flex-img5 { background-image: url('Resources/blackseriestext_cleanup.png'); }
#flex-img6 { background-image: url('Resources/towing.jpeg'); }

/* Special case */
#flex-img5:hover {background-image: url(Resources/blackseriesredtext_cleanup.png);}

.text-img-flex {
    position: absolute; top: 30%;
    letter-spacing: 1px;    
    /* transform: translate(-50%, -50%); */
    /* right: 50%; */
     height: auto; z-index:2;padding-top:5px;font-size:28px; color: white;
    /* font-family: "Fredoka"; */
    font-weight: bold; text-align: center;
    font-family: "Kallisto";
    width: 80%;

}

.button-red {
    display: block;
    background-color: red;
    padding: 20px 24px;
    font-family: LS;
    text-align: center;
    width: 15%;
    margin: auto;
    text-decoration: none;
    color: white;
    font-size: 30px;
    font-weight: bold;
    transition: .3s;
}
.button-red:hover {
    background-color: #a21919;
}
.button-green {
    font-size: 20px;
    width: 15%;
    margin-top: 0;
    background-color: green;
}
.button-green:hover {
    background-color: rgb(5, 62, 5);
}

@media screen and (max-width: 900px) {
    .services-container {
        margin-top: 1%;
        width: 90%;
    }
    .flex-box {
        width: 40%;
        height: 10rem;
        margin-top: 5%;
        background-position: 10% 50%;
    }

    .text-img-flex {
        font-size: 14px;
        top:35%;
        /* padding: 20px; */
        margin: auto;
        /* width: 50%; */
    }
    .button-red {
        width: 40%;
        padding: 20px;
        font-size: 20px;
    }

}

.about-img {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    
    height: 25rem; 
    width: 40%;

    margin-left: 5%;
    float: left;
}
.first-abt-text {
    display: none;
}
.text1 {
    font-family: "LS",Arial, Helvetica, sans-serif;
    padding: 10px;
    /* background-color: aqua; */
    font-size: 24px;
    width: 40%;
    float: right;
    margin-top: 2%;
    margin-right: 7%;
    line-height:125%;
    text-align: left;
    color: white;
}

/* Compare */
.middle-adjust {
    /* display:block; */
    /* position: relative; */
    margin-left: 47%;
    padding-top: 15%;
    transform: translate(-50%, -50%);
}
.img-comp-container {
    position: relative;
    height: 200px; /*should be the same height as the images*/
}
.img-comp-img {
    position: absolute;
    /* right: 50%; */
    /* transform: translate(-50%, -50%); */
    width: auto;
    height: auto;
    overflow:hidden;
    /* margin: auto; */
}
.img-comp-img img {
    display:block;
    width: 900px;
    height: 500px;
}
.img-comp-slider {
    position: absolute;
    z-index:9;
    cursor: ew-resize;
    /*set the appearance of the slider:*/
    width: 40px;
    height: 40px;
    background-color: #2196F3;
    opacity: 0.7;
    border-radius: 50%;

}

.abt-text {padding-top: 3%;}
.abt-cont {height: 330px; background-color: rgb(255, 0, 0);}
@media screen and (max-width: 900px) {
    .about-img {
        margin-top: 5%;
        margin-bottom: 8%;
        width: 90%;
        height: 80%;
    }
    .abt-text {
        color: red;
        font-size: 30px;
    }
    .abt-cont {height: 10rem;}
    .text1 {
        width: 80%;
        margin: auto;
        font-size: 12px;
    }

    .img-comp-img img {
        width: 100%;
        height: 50%;
    }
}

/* Testimonials */
.help {
    display: block;
    margin: auto;
    justify-content: center;
    text-align: center;
}


.snip1533 {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  color: #3c3c3c;
  display: inline-block;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 20px;
  margin: 35px 10px 10px;
  max-width: 310px;
  min-width: 250px;
  position: relative;
  text-align: center;
  width: 100%;
  background-color: #ffffff;
  border-radius: 5px;
  border-top: 5px solid #ff0000;
}

.snip1533 *,
.snip1533 *:before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.1s ease-out;
  transition: all 0.1s ease-out;
}

.snip1533 figcaption {
  padding: 13% 10% 12%;
}

.snip1533 figcaption:before {
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
  color: #ff0000;
  content: "\f10e";
  font-family: 'FontAwesome';
  font-size: 32px;
  font-style: normal;
  left: 50%;
  line-height: 60px;
  position: absolute;
  top: -30px;
  width: 60px;
}

.snip1533 h3 {
  color: #9e9e9e;
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  margin: 10px 0 5px;
}

.snip1533 h4 {
  font-weight: 400;
  margin: 0;
  opacity: 0.5;
}

.snip1533 blockquote {
  font-style: italic;
  font-weight: 300;
  margin: 0 0 20px;
}

@media screen and (max-width: 900px) {
    .middle-adjust {
        display: none;
    }

}

/* Aduhai */
.hero-text {
    font-size: 3rem;
    padding-top: 3%;
    text-align: center;
    letter-spacing: 8px;
    color: white;
}


.footer {
    display: flex;
    flex-wrap: wrap;
    background-color: #443D3E;
    width: 100%;
    justify-content: center;
    font-family: 'Roboto', Arial, sans-serif;
}
.part1 {
    width: 30%;
}
.part1 img {
    width: 70%;
}
.part1 h1 {
    color: red;
}
.part1 p {
    color: white;
}
.part1 i {
    color: white;
}
.cr-footer {
    display: block;
    background-color: black;
    color: white;
    width: 100%;
    text-align: center;
    padding: 20px;
}

@media screen and (max-width: 600px) {
    .hero-text {
        font-size: 24px;
    }
    .button-green {
        font-size: 14px;
        text-align: center;
        width: 50%;
        padding: 14px 10px;
    }
    .footer {
        height: 100%;
    }
    .cr-footer {
        height: 7%;
    }
    .part1 {
        width: 90%;
        height: auto;
    }
    .part1 img {height: 150px;width: 300px; margin: auto;}

    .pl {height: 500px; width: 90%;}
    /* .textImage {font-size: 38px;padding-top: 20%;} */
}
