/* OPEN TO WORK >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> */

.open-to-work {
    color: var(--microtext-color);
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;

    margin-left: 15px;
    margin-right: 15px;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.open-to-work svg {
    fill-opacity: 70%;
    fill: greenyellow;
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}


/* SKILLS >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> */

.skills-list {
    background: transparent;

    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}


.skill-info {
    display: flex;
    flex-direction: row;
    gap: 0.3rem;
    justify-content: center;
    align-items: center;

    width: fit-content;
    height: 60px;

    color: var(--microtext-color);
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 0.9rem !important;
}


@media (max-width: 768px) {
    .skills-list {

        max-width: 90%;
        gap: 0.5rem;
        justify-content: center;
        align-items: center;

        flex-wrap: wrap;

    }
}

.skill-info img {
    width: 60px;
    height: 60px;
    object-fit:contain;
}

.skill-info label {
    max-width: 240px;
}

.tooltip-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
}
  
.tooltip-popup {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);

    padding: 8px 12px;
    background-color: #333;
    color: var(--subtext-color);
    border-radius: 6px;
    font-size: 0.9rem;
  
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateX(-50%) translateY(10px);
    white-space: normal;
    z-index: 1000;
}
  
.tooltip-container:hover .tooltip-popup {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
  
.skill-link {
    color: var(--hover-bright);
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 0.9rem !important;
}


/* PROJECTS >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> */

.projects-list {
    background: transparent;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 4rem;
}

.project-container {
    border-radius: 10px 10px 10px 10px;

    width:30%;

    background: var(--root-bg-color);
    box-shadow: 0px 0px 13px rgba(81, 81, 81, 0.5);
}

@media (max-width: 768px) {
    .projects-list {
        display:block;
    }
    .project-container {
        width:90%;
        margin-left: 5%;
        margin-right: 5%;
    }
}

.project-info {
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.project-container img {
    width: 100%;
    aspect-ratio: 16 / 9 !important;
    height: 100%;
    object-fit:contain;
    border-radius: 10px 10px 10px 10px;
    display:none;
}

.project-info svg {
    align-self: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 1;
    margin-left: 10px;
}

.project-info svg:hover {
    fill: var(--hover-bright);
}

.project-info a {
    color: transparent;
}


.active {
    display:block !important;
}

.project-info label {
    color: var(--subtext-color);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.2rem !important;
}


.project-info p {
    color: var(--microtext-color);
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 1.0rem !important;

    text-indent: 0;
}

.tooltip-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
}
  
.tooltip-popup {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);

    padding: 8px 12px;
    background-color: #333;
    color: var(--subtext-color);
    border-radius: 6px;
    font-size: 0.9rem;
  
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateX(-50%) translateY(10px);
    white-space: normal;
    z-index: 1000;
}
  
.tooltip-container:hover .tooltip-popup {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
  
.skill-link {
    color: var(--hover-bright);
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 0.9rem !important;
}


/* CONTACT MODAL >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> */

.contact {
    position: absolute;

    top: 15%;
    left: 15%;
    width: 70%;
    height: 70%;

    overflow-y: auto;

    color: var(--subtext-color);
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1.5rem;

    background-color: var(--content-bg-color);
    border-radius: 10px;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    animation: popup 0.6s ease;
}
.contact-title {
    position: absolute;
    display: flex;
    align-items: center;

    top: 2%;
    left: 2%;
    width: 88%;
    height: 8%;

    padding-left: 15px;
    padding-right: 15px;

    background:transparent;
    color: var(--text-color);
    font-weight: 500;
    font-size: 1.5rem;
}
.close-btn {
    position: absolute;

    top: 3%;
    right: 2%;
    height: 6%;
   
    cursor: pointer;
    transition: background 0.2s;
    border: 1px solid var(--microtext-color);
    border-radius: 50%;
    aspect-ratio: 1/1;
    background:transparent;
    
    color: var(--microtext-color);
    font-size: 0.9rem;
    font-weight: 400;
}
.close-btn:hover {
    background: var(--hover-dark);
}
@keyframes popup {
    from {
      transform: scale(0.9);
      opacity: 0;
    }
    to {
      transform: scale(1);
      opacity: 1;
    }
}
.contact-details {
    position: absolute;
    display: flex;
    flex-direction: row;
    gap: 15px;
    justify-content: space-between;
    align-items: center;

    top: 10%;
    left: 2%;
    width: 96%;
    height: 18%;

    padding-left: 15px;
    padding-right: 15px;
}
.contact-message {
    position: absolute;

    top: 28%;
    left: 2%;
    width: 96%;
    height: 57%;

    padding-left: 15px;
    padding-right: 15px;    
}
.contact-submit {
    position: absolute;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: end;

    top: 88%;
    left: 2%;
    width: 96%;
    height: 10%;

    padding-left: 15px;
    padding-right: 15px;    
}
.contact-details input {
    width: 100%;
    height: 55px;
    padding: 5px 12px;

    color: var(--subtext-color);
    font-size: 1.0rem;
    font-weight: 400;

    border: 1px solid var(--microtext-color);
    border-radius: 10px;
    transition: all 0.2s ease-in-out;
    background: transparent;
}
.contact-message textarea {
    width: 100%;
    height: 100%;
    padding: 10px 12px;

    color: var(--subtext-color);
    font-size: 1.0rem;
    font-weight: 400;

    overflow-y: auto;
    resize:none;

    border: 1px solid var(--microtext-color);
    border-radius: 10px;
    transition: all 0.2s ease-in-out;
    background: transparent;
}
.contact-submit button {
    width: 20%;
    height: 80%;
    padding: 10px 12px;

    color: var(--microtext-color);
    font-size: 1.0rem;
    font-weight: 400;
    
    border: 1px solid var(--microtext-color);
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s ease;
    background:transparent;
}
.contact-submit button:hover {
    background: var(--hover-dark);
}
  
