*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    font-size: 15px;
    font-family: 'Graphik', sans-serif;
    scroll-behavior: smooth;
}

body{
    overflow-x: hidden;
}

   a {
    text-decoration: none;
     }

    img{
        width: 100%;
        height: 100%;

    }


     p {
        color: black;
        font-size: 1rem;
        margin-top: 5px;
        line-height: 2.5rem;
        font-weight: 300;
        letter-spacing: 0.05rem;
    }

    .container{
        min-height: 100vh;
        width: 100%;
        display: flex;
        margin: 0 auto;
        align-items: center;
        justify-content: center;
    }

    /* Hero Section */

    /* Background Photo and Black Overlay */

    #hero{
        background-image:url(images/bike.jpg); /* Image used from https://pixabay.com/photos/cycling-tour-man-woman-child-dogs-7434189/*/
        background-size: cover;
        background-position: top center;
        position: relative;
        z-index: 1;
    }

    .hero-wrapper{
        border: 3px solid rgb(13, 239, 255,1);
        border-radius: 30px;
        margin: 10px;
        padding: 20px;
       
    }

    #hero::after{
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 100%;
        background-color: black;
        opacity: 0.3;
        z-index: -1; /* Only apply the effect to background */
    }

    /* End of Background Photo and Black Overlay */


    /* Title and Title Animation */

    #hero h1{
        display: block;
        width: fit-content;
        color:transparent;
        font-size: 7rem;
        position: relative;
        animation: text_reveal 1s ease forwards;
        animation-delay: 1.5s;
        text-align: center;
    }

    #hero h1 span{
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 0;
        background-color: greenyellow;
        animation: text_reveal_box 15s ease;
        animation-delay: 0.5s;
    }

    /* End of Title and Title Animation */

    /* Text under Title and Animation */

    #hero .heading_text{
        display: block;
        width: fit-content;
        color: transparent;
        font-size: 20px;
        position: relative;
        animation: text_reveal 1s ease forwards;
        animation-delay: 2.5s;
    }

    #hero .heading_text span{
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 0;
        background-color: greenyellow;
        animation: text_reveal_box 1.5s ease;
        animation-delay: 0.5s;
    }

    /* End of Text under Title and Animation */

    /* Explore Button */

    #hero .cta{
        display: inline-block;
        padding: 10px 30px;
        color: green;
        background-color: greenyellow;
        border: 2px solid greenyellow;
        font-size: 2rem;
        text-transform: uppercase;
        letter-spacing: 0.1rem;
        margin-top: 30px;
        border-radius: 15px;
        transition: 0.3s ease background-color;
        transition-property: background-color, color;


    }

    #hero .cta:hover{
        color: white;
        background-color: greenyellow;
    }

    

    /* end of explore button */

    /* End of Hero Section */

    /* Navigation Bar */

    #header{
        z-index: 1000;
        position: absolute;
        width: 95%;
        top: 0;
        left: 0;
        height: auto;
        min-width: 120rem;
    }

    nav{
        padding-top: 3rem;
        display: flex;
        float: left;
        justify-content: space-between;
        align-items: center;
        text-transform: uppercase;
        font-size: 1.5 rem;
    }

    .logo{
        font-size: 35px;
        color: white;
        padding: 1rem 0;
        font-weight: 900;
        display: flex;
        float: left;
        padding-left: 5rem;
        font-family: 'Roboto', cursive;
        text-decoration: none;
    }

    

    #header nav ul{
        display: flex;
        position: relative;
    }

    #header nav li{
        list-style: none;
        transform: translateX(100rem);
        animation: slideIn .5s forwards;
    }

    #header nav ul li{
        display: inline-block;
    }

    #header nav ul li:nth-child(1){
        animation-delay: 0s;
    }

    #header nav ul li:nth-child(2){
        animation-delay: .5s;
    }

    #header nav ul li:nth-child(3){
        animation-delay: 1s;
    }

    #header nav ul li:nth-child(4){
        animation-delay: 1.5s;
    }

    #header nav ul li:nth-child(5){
        animation-delay: 2s;
    }
    #header nav ul li:nth-child(6){
        animation-delay: 2.5s;
    }

    #header nav li a{
        padding: 1rem 0;
        margin: 0 3rem;
        position: relative;
        letter-spacing: 2px;
        color: white;
        font-weight: 1000;
    }

    #header nav ul li a:last-child{
        margin-right: 0;
    }

    #header nav ul li a::before,
    #header nav ul li a::after{
        content: '';
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: greenyellow;
        left: 0;
        transform: scaleX(0);
        transition: all .5s;
    }

    #header nav ul li a::before{
        top: 0;
        transform-origin: left;
    }

    #header nav ul li a::after{
        bottom: 0;
        transform-origin: right;
    }

    #header nav ul li a:hover::before,
    #header nav ul li a:hover::after{
        transform: scaleX(1);
    }

    /* End of Navigation Bar */


    #middle{
        text-align: center;
        padding-top: 3rem;
        background-color: grey;
    }

    .section-title{
        font-style: 4rem;
        font-weight: 300;
        color: black;
        margin-bottom: 10px;
        text-transform: uppercase;
        letter-spacing: .2rem;
        text-align: center;
        padding-top: 5px;
    }

    /* Step Through Section */
    /* code pasted on the notepad */
    #projects .container{
        margin: 0 auto;
        min-width: 1200px;
        display: flex;
        align-items: center;
        flex-direction: column;
    }

    #projects p{
        text-align: left;
    }

    #projects .project-header h1{
        margin-bottom: 50px;
    }

    #projects .all-projects{/* align contents to the center and create column grid */
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    #projects .project-item{
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        width: 80%;
        margin: 20px auto;
        overflow: hidden;
        border-radius: 10px;
    }
    

    #projects .project-info{
        padding: 30px;
        flex-basis: 50%;
        background:rgb(13, 239, 255);
        background: linear-gradient(0deg, rgba(13, 239, 255,1) 0%, rgba(53,215,17,1) 65%);
        color:#fff;
        height: 100%;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        flex-direction: column;
    }

    #projects .project-info h1{
        font-size: 2rem;
        font-weight: 500;
    }

    #projects .project-info h2{
        font-size: 1.8rem;
        font-weight: 300;
        margin-top: 10px; 
    }

    #projects .project-info p{
        color: white;
    }

    #projects .project-image{
        flex-basis: 50%;
        height: 200px;
        width: 200px;
        display: flex;
        position: relative;
        overflow: hidden;
        border-radius: 50%;
        margin-bottom: 20px;
        border: 3px solid #fff;
        transition: .3s ease transform;
        float: right;
       
        
    }

    #projects .project-image:after{
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 100%;
        background-color: #fff;
        opacity: .3;
    }

    #projects .project-image{
        transition: .3s ease transform;
    }

    #projects .project-item:hover .project-image{
        transform: scale(1.1);
    }

    /* End of Projects Section */

    /* Sign Up Form */

    .container-parent{
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 100vh;
    }

  .container-parent .container1{
        max-width: 700px;
        width: 100%;
        background:greenyellow;
        padding: 25px 30px;
        border-radius: 5px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.15);
        margin-top: 80px !important; 
        margin-bottom: 45px !important;
        margin-right: 50px !important;
    }
    .container-parent .container2{
        max-width: 700px;
        padding-bottom: 50px !important;
        color: white;
    }

    .container2 .signup{
        font-family: 'Teko', sans-serif;
        font-size: 18px;
        padding-left: 30px;
        margin-top: 0px;
        margin-right: 80px;
        letter-spacing: 2px;
        color: white;
        border: 2px solid cornflowerblue;
        border-radius: 10px;
    }

    .container-parent .container1 .title{
        font-size: 2rem;
        font-weight: 500;
        position: relative;
        margin-bottom: 20px;
    }

    .container1 form .user-details{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    form .user-details .input-box{
        margin-bottom: 15px;
        width: calc(100% / 2 - 20px);
    }

    .user-details .input-box .details{
        display: block;
        font-weight: 500;
        margin-bottom: 5px;
    }

    .user-details .input-box input{
        height: 45px;
        width: 100%;
        outline: none;
        font-size: 16px;
        border-radius: 5px;
        padding-left: 15px;
        border: 1px solid greenyellow;
        border-bottom-width: 2px;
        
    }

    form .gender-details .gender-title{
        font-size: 20px;
        font-weight: 500;
    }

    form .gender-details .category{
        display: flex;
        width: 80%;
        margin: 14px 0;
        justify-content: space-between;
    }

    .gender-details .category .gender{
        margin-left: 10px;
    }

    /* End of Sign Up Form */

    /* Keyframes */

    @keyframes slideIn {
        from{
            
        }
        to{
            transform: translateY(0);
        }
    }

    @keyframes text_reveal_box {
        50%{
            width: 100%;
            left: 0;
        }
        100%{
            width: 0;
            left: 100%;
        }
    }

    @keyframes text_reveal {
        100%{
            color: white;
        }
    }

    /* Media query for mobile device */

    @media only screen and (max-width: 720px){
        .cta{
            font-size: 2.5rem;
            padding: 20px 60px;
        }

        h1.section-title{
            font-size: 5rem;
        }

        #hero h1{
            font-size: 6rem;
        }
        nav{
            width: 100%;
        }

        #projects .project-item{
            flex-direction: row;
        }

        #projects .project-item:nth-child(even){
            flex-direction: row-reverse;
        }

        #projects .project-item{
            height: 400px;
            margin: 0;
            width: 100%;
            border-radius: 0;
        }

        #projects .all-projects .project-info{
            height: 100%;
        }

        #projects .all-projects .project-image{
            height: 100%;
            width: 100%;
        }
     }

            /* Slideshow container */
        .slideshow-container {
            position: relative;
            background: #f1f1f1f1;
        margin-top: 35px;
        
        }
        
  /* Slides */
  .mySlides {
    display: none;
    padding: 80px;
    text-align: center;
  }

  /* increase size of text */
  .mySlides q {
    font-size: 30px;
    font-family: 'Roboto', sans-serif;
  }

  /* Fading animation */
  
  /* Next & previous buttons */
  .prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -30px;
    padding: 16px;
    color: #888;
    font-weight: bold;
    font-size: 20px;
    border-radius: 0 3px 3px 0;
    user-select: none;
  }
  
  /* Position the "next button" to the right */
  .next {
    position: absolute;
    right: 0;
    border-radius: 3px 0 0 3px;
  }
  
  /* On hover, add a black background color with a little bit see-through */
  .prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
    color: white;
  }
  
  /* The dot/bullet/indicator container */
  .dot-container {
    text-align: center;
    padding: 20px;
    background: greenyellow;
  }
  
  /* The dots/bullets/indicators */
  .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;
  }
  
  /* Add a background color to the active dot/circle */
  .active, .dot:hover {
    background-color: #717171;
  }
  
  /* Add an italic font style to all quotes */
  q {font-style: italic;}
  
  /* Add a blue color to the author */
  .author {color: cornflowerblue;} 

  
  
