/* SIZING */


@media (max-width: 768px) {
    .header-left {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }
    
    .header-right {
        position: absolute;
        top: 10px;
        right: 10px;
    }

    .profile-pic {
        top: 100px;
        width: 290px;
        height: 360px;
        margin-top: 10%;
    }
    .profile-pic img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-info h1 {
        font-size: 50px;
    }

    .header-info h2 {
        font-size: 30px;
    }

    nav button {
        font-size: 24px;
    }

    .info {
        width: 90%;
        padding: 20px;
        font-size: 16px;
    }

    .skill-title {
        font-size: 20px;
    }
}

@media (max-width: 750px) {
    .header-info h1 {
        font-size: 40px;
    }

    .header-info h2 {
        font-size: 24px;
    }

    .header-right {
        position: absolute;
        top: 10px;
        right: 10px;
    }

    .profile-pic {
        top: 100px;
        width: 290px;
        height: 290px;
        margin-top: 10%;
    }
    .profile-pic img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    nav button {
        font-size: 20px;
    }

    .content{
        padding: 0;
        margin: 0;
        background-color: #ffffff;
    }


    .info {
        width: 100%;
        margin: 30px auto;
        padding: 40px;
        background-color: #ffffff;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        font-family: Verdana, sans-serif;
        font-size: 18px;
        color: #333;
        line-height: 1.6;
        text-align: justify;
        display: none;
        font-size: 14px; 
        border: 0; 
        border-radius: 0; 
    }

    .skill-title {
        font-size: 12px;
    }

    .info img {
        max-width: 100%;
        height: 50px;
        width: 50px;
        border-radius: 10px;
        padding: 10px;
    }

    div.skill {
        width: 60%;
        height: 50px;
        font-size: 10px;
    }
    .skill.active .skill-info {
        width: 90%;
        font-size: 14px;
        left: 100px;
    }
    .skill.active .skill-info p {
        font-size: 12px;
        right: 10%;
    }

    .education {
        width: 90%;
        height: 120px;
        padding: 15px;
    }

    .education h6{
        font-size: 11px;
    }
    .education h3{
        font-size: 15px;
    }
    .education h5 {
        font-size: 13px;
    }

    .edu-show-info {
        position: inherit;
        padding: 5px;
        font-size: 12px;
        bottom: 100%;
        width: 100px;
        height: 12px;
        left: 25%;
    }
    .education button.certificate {
        position: inherit;
        padding: 5px;
        font-size: 12px;
        bottom: 100%;
        width: 100px;
        height: 40px;
        left: 80%;

    }
    .edu-skill .skill-info{
        width: 80%;
        left: 50%;
        transform: translateX(-50%);
        font-size: 14px;    
    }

    .project-card {
        padding: 20px;
    }

    .project-header h3 {
        font-size: 20px;
    }

    .project-duration {
        font-size: 12px;
    }

    .project-subtitle {
        font-size: 16px;
    }

    .project-description p {
        font-size: 14px;
    }

    .btn {
        font-size: 12px;
        padding: 6px 12px;
    }

    .close-popup{
        position: fixed;
        top: auto;
        right: 15px;
        font-size: 18px;
        width: 20px;
        height: 20px;
    }

    .popup-content h3 {
        font-size: 14px;
    }

    .experience-entry h3{
        font-size: 18px;
    }

    .experience-entry li {
        font-size: 12px;
    }

    .contact-entry h3{
        font-size: 16px;
    }
}

@media  (max-width: 1111px) {
    @keyframes slideInFromRight {
        0% {
          transform: translateX(100%);
          opacity: 0;
        }
        100% {
          transform: translateX(0);
          opacity: 1;
        }
    }
    @keyframes slideOutToRight {
        0% {
          transform: translateX(0);
          opacity: 1;
        }
        100% {
          transform: translateX(100%);
          opacity: 0;
        }
    }
    
    .info {
        width: 90%;
        padding: 15px;
        font-size: 18px;
    }

    .menu-btn{
        display: block;
        padding: 0.5%;
        font-size: 25px;
        position: absolute;
        right: 0;
        color: white;
        background-color: rgb(127, 255, 123);
        border: none;
        border-radius: 40% 0 0 40%;
        padding: 10px;
        padding-bottom: 4px;
        box-shadow: #000000 0 0 50px 0px;
        cursor: pointer;
        border: solid 2px rgba(36, 131, 52, 0.233);
        animation: slideInFromRight 0.5s ease forwards;
        z-index: 1000;
    }

    .menu-btn.sticky{
        position: fixed;
        top: 10px;
    }

    .menu-btn img{
        width: 30px;
        height: 30px;
        object-fit: cover;
    }


    nav {
        display: none;
    }

    .menu-nav.active.disappear {
        animation: slideOutToRight 0.5s ease forwards;
    }
    
    .menu-btn.active{
        display: none;
    }

    .menu-nav.active{
        display: block;
        position: fixed;
        right: 0;
        top: 10%;
        height: 80%;
        width: 70%;
        border-radius: 20px 0 0 20px;
        box-shadow: #000000 0 0 100px 0px;
        background-color: rgba(0, 0, 0, 0.752);
        z-index: 1000;
        align-content: center;
        padding-right: 0;
        padding-left: 10%;
        border: none;
        align-items: center;
        animation: slideInFromRight 0.5s ease forwards;
    }

    .menu-btn.active{
        display: none;
    }

    nav button {
        position: relative;
        padding: 15px;
        height: auto;
        width: 100%;
        right: 0;
        margin-bottom: 5px;
        background-color: rgb(32, 165, 32);
        cursor: pointer;
        font-weight: bold;
        transition: background-color 1s ease;
        font-size: 30px;
        color: white;
        border-radius: 50px 0 0 50px;
    }


    .menu-nav.active button.active {
        background-color: #000000;
        border: none;
    }

}

@media (min-width: 1111px) and (max-width: 1274px) {
    nav.scrolling {
        width: 1150px; 
        top: 0;
        left: 0;
        border-radius: 0;
        width: 100%;
    }      

}

@media (min-width: 1275px) and (max-width: 1400px) {
    nav.scrolling {
        width: 100px; 
        top: 0;
        left: 0;
        border-radius: 0;
        width: 100%;
    }      
}
