@media screen and (max-width: 768px) {

    header {
        height: 40px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 20px;
        background-color: rgb(18, 18, 62);
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
    }

    ul {

        flex-direction: column;
        position: fixed;
        background-color: rgb(18, 18, 62);
        top: 50px;
        right: -200px;
        width: 200px;
        height: 200px;
        border-radius: 8px;
        font-size: 1.5rem;
        font-weight: 800;
        transition: .5s ease-in-out;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
        opacity: 0;
        visibility: hidden;
        font-family: "poppins", sans-serif;
    }

    ul li {
        display: block;
        /* Ensure left alignment */
        text-align: center;
        /* Left side text */
        padding: 6px 20px;

    }

    ul.active {
        display: block;
        /* Show when button clicked */
        opacity: 1;
        justify-content: flex-start;
        visibility: visible;
        right: 0;

    }

    .nev-btn {
        background-color: transparent;
        display: flex;
        justify-content: center;
        align-items: center;
        border: none;
        cursor: pointer;
        padding-right: 18px;
    }

    #navlogo {
        width: 25px;
        padding-right: 12px
    }

    .nev-btn:focus,
    button:active {
        outline: none;
        box-shadow: none;
    }
    @keyframes typing {
        from {
            width: 0%;
        }
    
        to {
            width: 47%;
        }
    }
 
}

/*  */

@media screen and (max-width: 760px){
    #intro{
        font-size: 1.5rem;
    }
    #mylogo{
        display: none;
    }
    @keyframes typing {
        from {
            width: 0%;
        }
    
        to {
            width: 45%;
        }
    }
    #wetherimg img{
        width: 65vw;
        border-radius: 8px;
    }
}

@media screen and (max-width: 425px){
    main{
        font-size: 0.85rem;
        margin-left:  0;
    }
    #intro{
        font-size: 1rem;
    }
    main div  {
        margin-left: 5px;
    }
    @keyframes typing {
        from {
            width: 0%;
        }
    
        to {
            width: 63%;
        }
    }
    .brand{
        padding-left: 0px;
    }
    #sportyfy-img img{
        width: 300px;
        border-radius: 8px;
    }
}