@import url('https://fonts.googleapis.com/css2?family=Bad+Script&family=Poppins&display=swap');

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

/* Nav bar */
.navbar {
    display: flex;
    justify-content: space-between;
    padding: 14px 16px;
    background-color: #333;
  }
  
  .logo .first {
    color: #f2f2f2;
    font-size: 1.5em;
  }
  
  .logo .last {
    color: orange;
    font-size: 1.8em;
  }
  
  .menus {
    display: flex;
    list-style-type: none;
  }
  
  .menus a {
    color: #f2f2f2;
    text-decoration: none;
    margin: 0 10px;
  }
  
  .menus a:hover {
    color: #ddd;
  }
  
  .burger-menu {
    display: none;
  }
  
  .active{
    border-bottom: 1px solid orange;
  }
  
 

/* Landing */

.about-landing{
    display: flex;
    flex-direction: column-reverse;
    padding: 1em;

}

.typewriter{
    display: inline-block;
    margin-bottom: 1em;
}

.landing-text{
    flex: 1;
    padding: 0.9em;
}

.landing-text h3{
    color: orange;
    font-size: 2rem;
    display: inline-block;
}
.landing-img{
    flex: 1;
}

.landing-img img{
    max-width: 100%;
}

/* Info Section */
.info-section{
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), rgba(0, 0, 0, 0.816);
    padding: 2em;
}

section h2{
    color:rgb(251, 238, 201);
    margin-bottom: 1em;
    
}
 
.wrapper p{
    text-align: left;
}

section p{
    color: white;
    text-align: center;
}



/* Feature */
.or{
    color: green;
}

.features{
    padding:1em;
}
.features h3{
    font-size: 2rem;
}  

.feature{
    display: flex;
    gap: 1.5rem;
}

.feature p{
    color:black;
}

/* cta section */
.cta{
    
    display:flex;
    flex-direction: column;

}

.call-to-action{
    max-width: 100vw;
    position: relative;
    margin-bottom: 3em;
}

.call-to-action_img{
    max-width: 100%;
}

.about-cta-btn{
    position: absolute;
    padding: 0.7em 0.9em;
    font-size: 1rem;
    bottom: 0;
    left: 30%;
    border: none;
    outline: none;
    border-radius: 0.8em;
    color: orange;
    background: black;
    cursor: pointer;
}

/* footer */
footer{
    width: 100%;
    padding: 14px 16px;
    background-color: #333;
    display: flex;
    flex-direction: column;
  }
  .footer{
    display:flex;
    flex-direction: column;
    gap: 2em;
    padding: 2em;
    /* gap: 40%; */
    max-width: 100vw;
    justify-content: space-between;
  }
  .copyright{
    color: white;
    align-self: center;
    background-color: #333;
    text-align: center;
  }

  .contacts{
    display: flex;
    gap:1em;
    flex-direction: column;
  }

  .icon{
    text-decoration: none;
    color: white

  }


@media screen and (max-width: 600px) {
  .menus {
    display: none;
  }

  .burger-menu {
    display: block;
    cursor: pointer;
    color: #fff;
  }

  .burger-menu-items {
    display: none;
    position: absolute;
    background-color: #333;
    width: 100%;
    list-style-type: none;
    padding: 0;
    right: 0;
    margin-top: 2em;
  }

  .burger-menu-items a {
    display: block;
    color: #f2f2f2;
    text-decoration: none;
    padding: 14px 16px;
  }

  .burger-menu-items a:hover {
    background-color: #ddd;
    color: #333;
  }

  .burger-menu.open .burger-menu-items {
    display: block;
    animation: nav-animation  0.7s ease-in;
  }
}

@media (min-width: 600px) {
    /* CTA */
    .wrapper{
        text-align: center;
    }
    .cta{
        flex-direction: row;
        justify-content: space-between;
    }
    .features{
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        }
    .features-wrapper{
        margin-left: 15%;
    }
    .call-to-action{
        max-height: 80vh;
        flex: 1;
    }
    .call-to-action_img{
        width: 90%;
        object-fit: cover;
        max-height: 100%;
    }
    .features h3{
        font-size: 2.4rem;
    }
    .feature {
        font-size: 1.2 rem;
    }
    .about-cta-btn{
        bottom: 0.2rem;
    }
    .typewriter{
        display: inline-block;
        margin-bottom: 1em;
    }
    .landing-text h3{
        font-size: 2.1em;
  
    }
    .landing-text h3{
        color: orange;
        font-size: 2rem;
        display: inline-block;
    }
    .landing-text h3 span{
        display: inline-block;
        white-space: nowrap;
        border-right: 4px solid orange;
        overflow: hidden;
        animation:
            typing 3.7s steps(53) infinite,
            cursor .4s step-end infinite alternate;
        word-wrap: break-word;
    }
  
    .landing-text p{
        font-size: 1.2em;
    }
    .landing-img{
        max-height: 70vh;
    }
    .landing-img img{
        max-height: 100%;
        width: 100%;
        object-fit: cover;
    }
    .wrapper h2{
        text-align:center;
    }
    /* Blinking cursor */
    @keyframes cursor {
        50% {border-color: transparent}
    }
    /* Typing */
    @keyframes typing {
        from {width: 0}
        to {width: 105%}
    }
}   

@media (min-width: 900px){
    /* Landing */
    .about-landing{
        flex-direction: row;
        gap: 3em;
        margin-bottom: 4em;
        margin-top: 2em;
    }
    .landing-text{
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 1em;
    }
    .landing-img{
        flex: 1;
        
    }
    .typewriter{
        display: inline-block;
        margin-bottom: 1em;
    }
    .landing-text h3{
        font-size: 2.1em;
  
    }
    .landing-text h3{
        color: orange;
        font-size: 2rem;
        display: inline-block;
    }
    .landing-text h3 span{
        display: inline-block;
        white-space: nowrap;
        border-right: 4px solid orange;
        overflow: hidden;
        animation:
            typing 3.7s steps(53) infinite,
            cursor .4s step-end infinite alternate;
        word-wrap: break-word;
    }
  
    .landing-text p{
        font-size: 1.2em;
    }
    .landing-img{
        max-height: 70vh;
    }
    .landing-img img{
        max-height: 100%;
        width: 100%;
        object-fit: cover;
    }
    /* Blinking cursor */
    @keyframes cursor {
        50% {border-color: transparent}
    }
    /* Typing */
    @keyframes typing {
        from {width: 0}
        to {width: 105%}
    }
    /* Info Section */
    .wrapper{
        max-width: 70%;
        margin: auto;
        text-align: center;
    }
    .info-section{
        padding: 8em  2em;
    }
    .wrapper p{
        font-size: 1.6rem;
    }

    /* CTA */
    .cta{
        flex-direction: row;
        justify-content: space-between;
    }
    .features{
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        }
    .features-wrapper{
        margin-left: 30%;
    }
    .call-to-action{
        max-height: 70vh;
        flex: 1;
    }
    .call-to-action_img{
        width: 80%;
        object-fit: cover;
        max-height: 100%;
    }
    .features h3{
        font-size: 3.5rem;
    }
    .feature {
        font-size: 2rem;
    }
    .about-cta-btn{
        bottom: -.6rem;
    }
    /* Footer */
    .footer{
        flex-direction: row;
        justify-content: space-between;
}
    .contacts{
        flex-direction: row;
    }
    .icon{
        font-size: 1.5rem;
    }
}


@keyframes nav-animation{
    0% {
        opacity: 0;
        
    }

    /* 50% {
        opacity: 0.5;
    } */
    100%{
        opacity: 1;
    }
  }