:root{
    --fontSize : 20px;
}


@media screen and (max-width: 676px){
    body{
        color: white;
        background: linear-gradient(40deg, #060f1c 30%, #043c8c);
        font-family: Inter, sans-serif;
        padding: 5% 3px 0% ;
        
    }

    a{
        color: white;
        text-decoration: none;
    }

    header{
        display: flex;
        gap: 10px;
        align-items: center;
    }


    #header-section{
        display: flex;
        flex-direction: column;
        align-items: center;
        height: 140px;
    }
    
    #hi{
        font-family: monospace;
        font-size: 25px;
    }
    
    #myName{
        font-family: monospace;
        font-size: 25px;
        vertical-align: middle;
        display: inline-block;
        overflow: hidden;
        white-space: nowrap;
        width: 0;
        border-right: 2px solid #E6EDF3;
        animation: typing steps(9) 3s infinite;
    }
    
    #view-projects-button{
        font-size: 20px;
        padding: 15px 20px;
        color: white;
        background-color: #184b86;
        text-decoration: none;
        font-weight: 500;
        border-radius: 10px;
    }

    /* About Me Section */

    #about-me-text{
        text-align: center;
        font-size: 25px;
    }

    #about-me{
        display: flex;
        min-height: 50%;
        width: 100%;
        justify-content: space-between;
        flex-direction: column;
    }
    
    
    /* About Me Transition */
    #description{
        display: flex;
        flex-direction: column;
        width: 100%;
        animation-name: slideright;
        animation-duration: 2s;
    }
    
    #about-me-text{
        animation-name: slideleft;
        animation-duration: 1.8s;
    }
    
    #description-text-container{
        text-align: center;
    }

    #description-text{
        line-height: 30px;
        text-align: center;
    }

    #contact-buttons{
        text-align: center;
        margin-bottom: 40px;
    }
    
    #playlist{
        width: 100%;
        animation-name: slideup;
        animation-duration: 2s;
    }
    /* Icons */
    .size-6{
        height: 30px;
        padding: 10px;
        background-color: rgba(255, 255, 255, 0.11);
        backdrop-filter: blur(10px);
        border-radius: 20%;
    }
    
    .lucide{
        background-color: rgba(255, 255, 255, 0.11);
        backdrop-filter: blur(10px);
        border-radius: 20%;
        padding: 9px;
    }
    /* Projects */

    #project-text{
        font-size: 25px;
    }

    #project-section{
        margin-top: 15%;
    }

    .projects{
        display: flex;
        align-items: center;
        background-color:  rgba(255, 255, 255, 0.11);
        padding: 15px;
        border-radius: 15px;
        justify-content: space-between;
        margin-bottom: 20px;
    }
    
    .project-description-container{
        min-width: 60%;
    }

    .language-section{
        display:flex;
        justify-content: space-between;
        flex: 1;
        flex-wrap: wrap;
        align-items: center;
        row-gap: 10px;
    }
    .languages{
        background-color:  rgba(255, 255, 255, 0.11);
        padding: 5px 15px;
        border-radius: 7px;
        width: fit-content;
    }
    /* Feedback */
    #feedback-form{
        width: 100%;
    }
    /* Footer */
    footer{
        margin-top: 20%;
        text-align: center;
        margin-bottom: 0px;
    }


    /* Transitions */
    @keyframes slideup {
        from{
            transform: translateY(-200%);
        }
    }
    
    @keyframes slideright {
        from{
            transform: translateX(-300%);
        }
    }
    
    @keyframes slideleft{
        from{
            transform: translateX(300%);
        }
    }
    
    
    @keyframes typing {
        from{
            width: 0;
        }
        to{
            width: 9ch;
        }
    } 
}

@media screen and (min-width: 677px){
    body{
        color: white;
        background: linear-gradient(40deg, #060f1c 30%, #043c8c);
        font-family: Inter, sans-serif;
        padding: 5% 10% 0% ;
        
    }

    a{
        color: white;
        text-decoration: none;
     }
    /* Header Section */
    header{
        display: flex;
        gap: 20px;
        align-items: center;
    }
    
    #header-section{
        display: flex;
        flex-direction: column;
        align-items: center;
        height: 200px;
    }
    
    #hi{
        font-family: monospace;
        font-size: 40px;
    }
    
    #myName{
        font-family: monospace;
        font-size: 40px;
        vertical-align: middle;
        display: inline-block;
        overflow: hidden;
        white-space: nowrap;
        width: 0;
        border-right: 2px solid #E6EDF3;
        animation: typing steps(9) 3s infinite;
    }
    
    #view-projects-button{
        font-size: 20px;
        padding: 15px 20px;
        color: white;
        background-color: #184b86;
        text-decoration: none;
        font-weight: 500;
        border-radius: 10px;
    }
    
    /* About Me Section */
    #about-me{
        display: flex;
        min-height: 50%;
        justify-content: space-between;
        
    }
    
    
    /* About Me Transition */
    
    #description{
        display: flex;
        flex-direction: column;
        width: 45%;
        animation-name: slideright;
        animation-duration: 2s;
    }
    
    #about-me-text{
        animation-name: slideleft;
        animation-duration: 1.8s;
    }
    
    #description-text{
        line-height: 30px;
    }
    
    #playlist{
        animation-name: slideup;
        animation-duration: 2s;
    }
    /* Icons */
    .size-6{
        height: 30px;
        padding: 10px;
        background-color: rgba(255, 255, 255, 0.11);
        backdrop-filter: blur(10px);
        border-radius: 20%;
    }
    
    .lucide{
        background-color: rgba(255, 255, 255, 0.11);
        backdrop-filter: blur(10px);
        border-radius: 20%;
        padding: 9px;
    }
    
    
    /* Projects */
    #project-section{
        margin-top: 15%;
    }
    .projects{
        display: flex;
        align-items: center;
        background-color:  rgba(255, 255, 255, 0.11);
        padding: 15px;
        border-radius: 15px;
        justify-content: space-between;
        margin-bottom: 20px;
    }
    
    .languages{
        background-color:  rgba(255, 255, 255, 0.11);
        padding: 5px 15px;
        border-radius: 7px;
    }
    
    /* Share Playlist */

    #share-playlist{
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        backdrop-filter: blur(10px);
        justify-content: center;
        align-items: center;
    }

    input{
        width: 97%;
        height: 50px;
        background-color: rgba(255, 255, 255, 0);
        border: solid 3px rgba(255, 255, 255, 0.11);
        border-radius: 10px;
        padding: 10px;
        color: white;
    }
    
    input::placeholder{
        font-size: 20px;
        color: #5e6e89;
    }

    input:focus{
        border-color: rgba(255, 255, 255, 0.11);
        color: white;
    }

    #button-container{
        display: flex;
        justify-content: flex-end;
        width: 100%;
        height:90px;
    }
    #submit-button{
        height: 40px;
        background-color: rgba(255, 255, 255, 0);
        border: solid 3px rgba(255, 255, 255, 0.11);
        color: white;
        font-family: Inter;
        font-size: 20px;
        margin-right: 10px;
        padding: 10px;
        padding-bottom: 35px;
        border-radius: 10px;
        cursor: pointer;
        transition: color 0.5s, background-color 0.5s, opacity 0.5s;
    }

    #submit-button:hover{
        color: black;
        background-color: white;
        opacity: 0.8;
    }


    /* PlayList */
    #playlist-container{
        margin-top: 15px;
        margin-bottom: 50px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 30%;
        background-color:  rgba(255, 255, 255, 0.11);
        padding: 20px;
        border-radius: 20px;
    }

    #playlist-image{
        height: 120px;
        object-fit: contain;
    }

    #share-button{
        height: 30px;
        width: 80px;
        background-color: rgba(255, 255, 255, 0);
        border: solid 3px rgba(255, 255, 255, 0.11);
        color: white;
        font-family: Inter;
        font-size: 20px;
        padding-top: 10px;
        padding-bottom: 35px;
        cursor: pointer;
        border-radius: 10px;
    }

    /* Footer */
    footer{
        margin-top: 20%;
        text-align: center;
        margin-bottom: 0px;
    }
    
    
    /* Transitions */
    @keyframes slideup {
        from{
            transform: translateY(-200%);
        }
    }
    
    @keyframes slideright {
        from{
            transform: translateX(-300%);
        }
    }
    
    @keyframes slideleft{
        from{
            transform: translateX(300%);
        }
    }
    
    
    @keyframes typing {
        from{
            width: 0;
        }
        to{
            width: 9ch;
        }
    }    
}

