* {
    margin: 0;
    padding: 0;
}

*::selection {
    background-color: rgb(91, 133, 36);
    color: rgb(216, 252, 131);
}

.conrainer {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: rgb(85, 147, 147);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background-color: rgb(0, 0, 0);
    height: 100%;
    padding: 20px;
    color: white;
}

.header-left {
    display: flex;
    width: 70%;
    gap: 20px;
    padding-left: 4%;
    padding-top: 2%;
    padding-bottom: 2%;
}

.profile-pic {
    flex: 0 0 235px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(131, 131, 131, 0.5);
    border: solid 3px #313131;
    border-radius: 100%;
}

.profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 100%;
}

.header-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    font-family: Verdana, sans-serif;
    padding: 2%;
}

.header-info h1 {
    font-size: 70px;
    margin-bottom: 10px;
}

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

.header-right {
    text-align: right;
    font-size: 14px;
}

/* FLAGS */
.fi {
    height: 25px;
    width: 30px;
    border-radius: 5px; 
}
.fi.active {
    height: 23px;
    width: 28px;
    /* border-bottom: solid 1px #e0e0e0; */
}

/* NAVIGATION */
.menu-btn{
    display: none;
}

nav {
    background-color: rgb(0, 0, 0);
    padding: 1rem 1%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    position: relative;
}


nav.scrolling {
    position: fixed;
    width: 70%;
    height: 50px;
    align-items: center;
    top: 0;
    left: 15%;
    z-index: 1000;
    box-shadow: 0 0 70px rgba(255, 0, 0, 0.1);
    border-radius: 0 0 10px 10px;
    background-color: rgb(0, 0, 0);
    padding: 0%;
}


nav button {
    padding: 10px 20px;
    border: 1px solid black;
    background-color: rgb(0, 0, 0);
    cursor: pointer;
    font-weight: bold;
    font-family: Garamond, 'Times New Roman', Times, Georgia, serif;
    transition: background-color 0.3s ease;
    font-size: 20px;
    color: white;
}

nav button:hover {
    border: solid 1px #e0e0e0;
}

nav button.active {
    border-bottom: solid .5px white;
}

.content{
    flex: 1;
    padding: 20px;
    background-color: #1c3f1a;
}

.info {
    width: 100%;
    max-width: 1000px;
    margin: 30px auto;
    padding: 40px;
    background-color: #ffffff;
    border-radius: 10px;
    border: solid 2px #000000;
    box-shadow: 0 0 70px rgb(70, 255, 79);
    font-family: Verdana, sans-serif;
    font-size: 18px;
    color: #333;
    line-height: 1.6;
    text-align: justify;
    display: none;
}

.info.active {
    display: block;
}

.info h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #1a1a1a;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info h4 {
    font-size: 23px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #01a900;
    text-align: left;
}

.info p {
    margin-bottom: 20px;
}

/* SKILLS */

div.skill {
    position: relative;
    display: flex;
    text-align: left;
    align-items: center;
    margin-bottom: 10px;
    border: solid 1px #e0e0e0;
    border-radius: 25px;
    width: 50%;
    height: 70px;
}

div.skill.active {
    background-color: #f0f0f0;
}

.cyrcle{
    display: block;
    position: absolute;
    top: 50%;
    right: 6%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 100%;
    background-color: #f6f6f6;
    border: solid 1px #e0e0e0;
}

div.skill.active div.cyrcle {
    display: block;
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 100%;
    background-color: #98e4ba;
}

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

.skill-title {
    font-size: 25px;
    padding: 10px;
    color: #1a1a1a;
    margin-top: 18px;
}

.skill-info {
    display: none;
}

.skill.active .skill-info {
    display: block;
    position: absolute;
    top: 0;
    left: 110%;
    width: 80%;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background-color: #fff;
    font-size: 20px;
    color: #333;
    line-height: 1;
    text-align: left;
    z-index: 10;
}

.skill-info p::first-letter {
    color: #10d167;
}

/* EDUCATION */

.education {
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 25px auto;
    padding: 20px;
    width: auto;
    border: solid 1px #000000;
}

.education h6 {
    font-size: 18px;
    font-weight: bold;
    color: #000000;
    text-align: left;
}

.education h3 {
    font-size: 27px;
    font-weight: bold;
    color: #000000;
    text-align: left;
}

.education h5 {
    font-size: 20px;
    font-weight: bold;
    color: #000000;
    text-align: left;
}

.education button.certificate {
    position: absolute;
    top: 10%;
    left: 90%;
    transform: translateX(-50%);
    width: 120px;
    height: 35px;
    background-color: #ffffff;
    color: #000000;
    cursor: pointer;
    border: none;
    outline: none;
    border-radius: 5px;
    box-shadow: #50e450 0px 0px 10px 0px;
}

.education button:hover {
    border: solid 1px #000000;
}

.education.certificate-image {
    display: none;
}

.img {
    display: none;
}

.close {
    display: none;
}

.certificate-image.active {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    padding: 20px;
    box-sizing: border-box;
}

.img.active {
    display: block;
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.close.active {
    position: fixed;
    top: 30px;
    right: 30px;
    background-color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ccc;
    cursor: pointer;
    z-index: 10000;
    transition: all 0.2s ease-in-out;
}

.close.active:hover {
    border-radius: 20%;
    background-color: #ff4d4d;
    color: #fff;
    border: none;
}

.edu-skill {
    position: relative;
    display: inline-block;
    margin-top: 15px;
}

.edu-show-info {
    position: absolute;
    bottom: 10%;
    left: 92%;
    transform: translateX(-50%);
    width: 120px;
    height: 35px;
    background-color: #ffffff;
    border: 1px solid #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #000000;
    border-radius: 5px;
    box-shadow: #50e450 0px 0px 10px 0px;
    
}

.edu-show-info:hover {
    border: 1px solid #000000;
}

.edu-skill .skill-info {
    display: none;
    position: absolute;
    bottom: 0 auto;
    left: 50%;
    width: 300px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background-color: #fff;
    font-size: 16px;
    color: #333;
    line-height: 1.4;
    z-index: 10;
    max-height: 300px;
}

.edu-skill:hover .skill-info {
    display: block;
}


/* EXPERIANCE */

.experience-entry {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-left: 4px solid #10d167;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.experience-entry h3 {
    font-size: 24px;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.experience-type {
    font-size: 16px;
    color: #555;
    margin-bottom: 10px;
}

.experience-entry ul {
    padding-left: 20px;
    list-style-type: disc;
}

.experience-entry li {
    margin-bottom: 8px;
    font-size: 17px;
    line-height: 1.5;
    color: #333;
}

strong {
    color: #10d167;
}



/* CONTACT */


.contact-entry {
    margin-bottom: 25px;
    padding: 15px 20px;
    background-color: #f9f9f9;
    border-left: 4px solid #10d167;
    border-radius: 10px;
    font-family: Verdana, sans-serif;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.contact-entry h3 {
    font-size: 22px;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.contact-entry a {
    font-size: 18px;
    color: #0077cc;
    text-decoration: none;
    word-break: break-word;
}

.contact-entry a:hover {
    text-decoration: underline;
    color: #005999;
}



/* PORTFOLIO */

.project-card {
    background-color: #f5f5f5;
    padding: 25px;
    margin-bottom: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-header h3 {
    font-size: 24px;
    margin: 0;
}

.project-duration {
    font-size: 14px;
    color: #888;
}

.project-subtitle {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0 20px;
    color: #555;
}

.project-links {
    margin-bottom: 20px;
}

.project-row {
    display: block;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.project-row span {
    width: 100px;
    font-weight: bold;
    padding-right: 10px;
}

.btn {
    padding: 8px 16px;
    font-size: 14px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    color: white;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.btn:hover {
    opacity: 0.9;
}

.btn.green {
    background-color: #4caf50;
}

.btn.black {
    background-color: #333;
}

.btn.red {
    background-color: #e53935;
}

.btn.blue {
    background-color: #2196f3;
}

.project-description h4 {
    margin-top: 20px;
    font-size: 20px;
    color: #222;
}

.project-description p {
    font-size: 16px;
    line-height: 1.5;
    color: #444;
}

/* Popup */
.example-popup {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
}

.example-popup.active {
    display: flex;
}

.popup-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #888;
    width: 25px;
    height: 25px;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-popup:hover {
    background-color: #ff4d4d;
    color: #fff;
    border: none;
    border-radius: 40%;
}

.popup-content h3 {
    margin-bottom: 20px;
}

.popup-content table {
    width: 100%;
    border-collapse: collapse;
}

.popup-content th,
.popup-content td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.popup-content pre {
    background-color: #f0f0f0;
    padding: 15px;
    overflow-x: auto;
    border-radius: 8px;
}




/* 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: 200px;
        height: 200px;
        margin-top: 10%;
    }
    .profile-pic img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    nav button {
        font-size: 20px;
    }

    .info {
        width: 90%;
        padding: 15px;
        font-size: 14px;
    }

    .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 (min-width: 750px) and (max-width: 1111px) {
    .info {
        width: 90%;
        padding: 15px;
        font-size: 18px;
    }
} */
