body{
    overflow: auto;
    
}
section {
    margin: 0 15rem 0 15rem;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
}
#home {
    background-color: rgb(109, 109, 109);
    color: white;
    padding: 5px;
    border-radius: 2px;
}
/* start */

*{box-sizing: border-box;}
.mySlides {display: none;}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: 0.5rem auto auto auto;
}

/* Caption text */
/* .text {
  color: black;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
} */

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  height: 10px;
  width: 10px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size
@media only screen and (max-width: 300px) {
  .text {font-size: 11px}
} */
/* end */
#text-first-section {
    margin-top: -1rem;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
}
#head-text{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    font-family: 'Secular One', sans-serif;
}
#head-text h1 {
    margin: 1rem 0 0 0;
    font-size: 10rem;
    text-transform: uppercase;
    color: black;

}
#head-text h2{
    margin: -2rem 0 0 0;
    font-size: 2.5rem;
    color: black;
}

#text-first-section p {
    margin: 3rem 0 0 0;
    line-height: 2rem;
    color: black;
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
}

#text-first-section a {
    margin-top: 4rem;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    background-color: rgb(109, 109, 109);
    color: white;
    border-radius: 5px;
    width: fit-content;
    padding: 0.8rem;
    transition: transform 0.2s ease-in-out 0.1s;

}

#text-first-section a:hover {
    transform: scale(1.08);
}

#text-first-section a::after {
    display: none;
}

#client-section {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

#client-section a {
    background-color: transparent;
}

#client-section img {
    width: 2.5rem;
    height: 2.5rem;
    transition: transform 0.2s ease-in-out 0.1s;
    margin: 0 0 0 -0.9rem;
}

#client-section img:hover {
    transform: scale(1.05);
}

#desktop-img-section {
    margin-top: 1rem;
    width: 45%;
    height: auto;
}

#mobile-img-section {
    display: none;
}

/* tab design */
@media(max-width: 64rem) {
    body {
        overflow: auto;
    }

    section {
        margin: 0 8rem 0 8rem;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    #home {
        background-color: rgb(109, 109, 109);
        color: white;
        padding: 0.7px;
        border-radius: 2px;
    }

    #desktop-img-section {
        display: none;
    }

    #text-first-section {
        margin: 0;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
    }

    #mobile-img-section {
        display: initial;
        width: 100%;
        height: 100%;

    }
    #head-text{
        margin: 1rem 0 0 0;
    }
    #head-text h1 {
        font-family: 'Secular One', sans-serif;
        font-size: 3rem;

    }
    #head-text h2 {
        font-family: 'Secular One', sans-serif;
        font-size: 2rem;

    }
    #text-first-section p {
        margin-top: 1rem;
        line-height: 2rem;
        color: black;
        font-family: 'Roboto', sans-serif;
        font-size: 1rem;
    }

    #text-first-section a {
        margin-top: 1rem;
        text-decoration: none;
        font-family: 'Roboto', sans-serif;
        background-color: rgb(109, 109, 109);
        color: white;
        border-radius: 5px;
        cursor: pointer;
        width: fit-content;
        padding: 0.8rem;
        transition: transform 0.2s ease-in-out 0.1s;

    }

    #text-first-section a:hover {
        transform: scale(1.08);
    }

    #text-first-section a::after {
        display: none;
    }

    #client-section img {
        margin-top: 1rem;
        width: 2.5rem;
        height: 2.5rem;
        transition: transform 0.2s ease-in-out 0.1s;
        margin: 0 0.9rem 0 -0.9rem;
    }

    #client-section img:hover {
        transform: scale(1.05);
    }

    #client-section a {
        background-color: transparent;
    }

}

/* mobile phone */
@media(max-width: 30rem) {
    body {
        overflow: auto;
    }

    section {
        margin: 0 4rem 0 4rem;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    #desktop-img-section {
        display: none;
    }

    #text-first-section {
        margin-top: 1.5rem;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
    }

    #mobile-img-section {
        display: initial;
        width: 100%;
        height: 100%;

    }
    #head-text h1 {
        font-family: 'Secular One', sans-serif;
        font-size: 2rem;
        
    }
    #head-text h2 {
        margin: -5px 0 0 0;
        font-family: 'Secular One', sans-serif;
        font-size: 1.3rem;

    }

    #text-first-section p {
        margin-top: 1rem;
        line-height: 2rem;
        color: black;
        font-family: 'Roboto', sans-serif;
        font-size: 1.1rem;
    }

    #text-first-section a {
        margin-top: 1.5rem;
        text-decoration: none;
        font-family: 'Roboto', sans-serif;
        background-color: rgb(109, 109, 109);
        color: white;
        border-radius: 5px;
        width: fit-content;
        padding: 0.8rem;
        transition: transform 0.2s ease-in-out 0.1s;

    }

    #text-first-section a:hover {
        transform: scale(1.08);
    }

    #text-first-section a::after {
        display: none;
    }

    #client-section img {
        margin-top: 1rem;
        width: 2.5rem;
        height: 2.5rem;
        transition: transform 0.2s ease-in-out 0.1s;
        margin: 0 0.9rem 0 -0.9rem;
    }

    #client-section img:hover {
        transform: scale(1.05);
    }

    #client-section a {
        background-color: transparent;
    }
}