@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing: border-box;
    font-family: 'Oswald', sans-serif;
}

html {
    overflow-x: hidden;
}

body{
    width: 95%;
    margin: 20px auto;
    background-color: rgb(252, 254, 255); /*Main Color*/
    overflow-x: hidden;
}

.logo{
    width: 150px;
    height:100px;
    border-radius: 10px;
}

h1{
    margin-top: 50px;
}

h4{
    margin-top: 60px;
    text-align: center;
    font-size: large;
}

.wrapper {
    background-image: 
    radial-gradient(
        rgba(225, 225, 225, 0.5), 
        rgba(53, 53, 53, 0.244)
    );
    padding: 0 20px;
    padding-bottom: 30px;
    margin-top: 20px;
    border-radius: 5px;
}

/* Nav Bar */

nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 8vh;
    background-color: rgb(252, 254, 255); /*Main Color*/
}

.nav-links{
    display: flex;
    justify-content: space-around;
    width: 60%;
}

.nav-links li{
    list-style: none;
}
.nav-links li i {
    opacity: .8;
}

.nav-links a{
    text-decoration: none;
    font-weight:500;
    color: black;
    font-size: 20px;
    text-underline-offset: 3px;
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    border-radius: 3px;
    padding: 5px 7px
}

.nav-links li:last-child {
    color: rgb(255, 157, 0);
}

.nav-links a:hover{
    background-color: #000000;
    color: white;
    transition: all ease-in .2s;
}


/* Nav Link Icon */

nav li {
    display: flex;
    justify-content: center;
    align-items: center;
}

nav ul i {
    padding-right: 5px;
}

.fb-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Social Icons */

.nav {
    position: relative;
}

.nav a{
    color: black;
}

nav .fb-icon {
    position: absolute;
    top: 44px;
    left: 190px;
    color: black;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav .twitter-icon {
    position: absolute;
    top: 40px;
    left: 220px;
}

nav .instagram-icon {
    position: absolute;
    top: 40px;
    left: 285px;
}

nav .google-icon {
    position: absolute;
    top: 40px;
    left: 252px;
    color: black;
}

nav .google-icon:hover, 
nav .fb-icon:hover, 
nav .instagram-icon:hover, 
nav .twitter-icon:hover {
    opacity: .50;
}

/* Image */

.clean-it-up {
    width: 90%;
    
    display: flex;
    justify-content: center;
    align-items: center;
}

.clean-it-up img{
    border-radius: 5px;
    box-shadow: 3px 3px 3px black;
    margin-bottom: 50px;
    margin-top: 40px;
    width: 100%;
}

.textbox {
    width: 90%;
}

/* Section Specific */

.section{
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight:500;
}

.section h1{
    margin-bottom: 40px;
    text-align: center;
    font-family: 'poppins', sans-serif;
    font-weight: 500;
    font-size: 30px;
}

.section h3{
    margin-bottom: 50px;
    text-align: center;
    font-size: 22px;
}

.section h4{
    text-align: center;
    margin-bottom: 30px;
}

.section p{
    width: 90%;
    font-size: 16px;
    font-family: 'poppins', sans-serif;
    line-height: 1.70em;
    letter-spacing: 1px;
    text-align: center;
    margin-bottom: 30px;
}

section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

span {
    text-indent:3rem;
}

.section a{
    text-decoration: none;
    border: 3px solid black;
    border-radius: 10px;
    padding: 5px 10px;
    font-size: x-large;
    background-color: black;
    color: white;
    margin: 50px 0;
}

/* Faq Hero */

.faq-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Bottom Links */

.links{
    width: 100%;
    height: 40px;
    margin-top: 15px;
    margin-bottom: 20px;
}

.links ul{
    display: flex;
    justify-content: center;
    align-items: center;
}

.links li{
    list-style: none;
}

.links a{
    text-decoration: none;
    margin: 0 40px;
    font-weight: bolder;
    font-size: 20px;
    color: black;
    text-underline-offset: 3px;
}

.links a:hover{
    opacity: .5;
}

.links p {
    font-family: 'poppins', sans-serif;
    font-size: 14px;
    margin-bottom: 20px;
    text-align: center;
}

/* Cards */

.cards
{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    height: 100%;
    background-image: 
    radial-gradient(
        rgba(225, 225, 225, 0.5), 
        rgba(53, 53, 53, 0.179)
    );
    margin-bottom: 40px;
    margin-right: 5px;
    padding: 0 30px;
    padding-bottom: 20px;
    border-radius: 3px;
    border: 2px solid rgb(194, 194, 194);
    box-shadow: 3px 3px 3px rgb(92, 92, 92);
}

.card
{
    height: 80%;
    width: 100%;
    padding: 10px 10px;
    background-image: 
    radial-gradient(
        rgba(176, 207, 246, 0.5), 
        rgba(38, 96, 173, 0.31)
    );
    border: none;
    border-radius: 5px;
    box-shadow: 3px 3px 3px rgba(48, 48, 48, 0.688);
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    text-align: center;
    margin: 35px 0;
}

.card h3
{
    padding: 10px 0;
    font-size: x-large;
}

.card p{
    font-family: 'poppins', sans-serif;
    font-size: medium;
}

.card1 .card2 .card3 .card4{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 30px 10px;
}


/* Footer */

footer{
    width: 100%;
    height: 50px;
    /*
    background-image: 
    radial-gradient(
        rgba(225, 225, 225, 0.5), 
        rgba(53, 53, 53, 0.5)
    );
    */
    background-color: #000000;
    color:white;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    border-radius: 3px;
}

/* Burger */

.burger{
    display: none;
    cursor: pointer;
}

.burger div{
    width: 25px;
    height: 3px;
    margin: 5px;
    background-color: rgb(5, 5, 5);
    transition: all 0.3s ease;
}

@media screen and (max-width: 900px){
    body{
        overflow-x: hidden;
    }
   
    .nav-links{
    position: absolute;
    top: 8vh;
    right: 0px;
    height: 92vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50%;
    background-color: rgb(252, 254, 255);
    transform: translateX(100%);
    transition: ease-in 0.5s;
    opacity: .9;
    z-index: 1;
   }

   .nav-links li{
    opacity: 0;
   }

   .burger{
    display: block;
    z-index: 1;
   }

   .cards{
    display: flex;
    flex-direction: column;
    }
   .card2, .card3, .card4{
    margin-top: -20px;
    }
   .nav-links { 
    width: 55%;
    }

    .faq-section img {
        width: 70%;
        height: auto;
    }
}

@media screen and (max-width: 768px){
   
    body{
        overflow-x: hidden;
    }
   
    .nav-links{
    position: absolute;
    top: 8vh;
    right: 0px;
    height: 92vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50%;
    background-color: rgb(252, 254, 255);
    transform: translateX(100%);
    transition: ease-in 0.5s;
    opacity: .9;
    z-index: 1;
   }

   .nav-links li{
    opacity: 0;
   }

   .burger{
    display: block;
    z-index: 1;
   }

   .card2, .card3, .card4{
    margin-top: -20px;
   }
    
}

.nav-active{
    transform: translateX(0%);
}

@keyframes navLinkFade{
    from{
        opacity: 0;
        transform: translateX(50px);
    }
    to{
        opacity: 1;
        transform: translateX(0px);
    }
}

.toggle .line1{
    transform: rotate(-45deg) translate(-5px,6px);
}

.toggle .line2{
    opacity: 0;
}

.toggle .line3{
    transform: rotate(45deg) translate(-5px,-6px);
}
