*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Kumbh Sans" , sans-serif;
    overflow-x: hidden;

}

.navbar__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    background: #000;
    z-index: 1000;
    width: 100%;
    margin: 0px auto;
    padding: 0 50px;
    position: fixed;
}

#navbar-logo {
    color: #00e1ff;
    cursor: pointer;
    text-decoration: none;
     border-radius: 300px;
}

#logo-img{
    width: 15%;
    height: 15%;
    border-style:double;
    border-radius: 300px;
}

.navbar__menu{
    display: flex;
    justify-content: center;
    list-style:none;
    margin: 0 auto;
}

.navbar__item{
    height: 80px;
}

.navbar__links{
    color: #fff;
    text-decoration: none;
    height: 100%;
    padding: 0 1rem;
    display: flex;
    align-items: center;
}

.navbar__links:hover{
    color: aqua;
    transition: all 0.3s ease;
}

.navbar__btn{
    display: flex;
    align-items: center;

}

.navbar__btn.mobile{
display:none
}

.navbar__btn.desktop{
    display: flex;
}

.button{
    display: flex;
    align-items: center;
    background: #00e1ff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    color: #ffffff;
    text-decoration: none;
}

.button:hover{
    background:#0ce48d;
    transition: all 0.3s ease;
}

.navbar__toggle {
    display: none;

}

@media screen and (max-width: 968px){ 
    .fa-bars{
        line-height: normal !important;
    }
    .navbar__toggle{
        display: block;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        color:#ffffff;
        z-index: 10;
        font-size: 1.5rem;
        border: none;
        background: none;
        cursor: 0;
        padding: 0;
    }

    .navbar__menu{
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100% - 80px);
        opacity: 0;
        transition: all 0.5s ease;
        background-color: #131313;
        z-index: 10;
        margin: 0;
    }

    .navbar__menu.active{
        left:0;
        opacity: 1;
    }

    .navbar__item {
        width: 100%;
        display: flex;
        justify-content: center;

    }

    .navbar__links{
        text-align: center;
        padding: 2rem;
        width: 100%;
        justify-content: center;
    }

    /* sign up button or interest button */
    .navbar__btn.desktop{
        display: none;
    }

    .navbar__btn.mobile{
        display: flex;
        justify-content: center;
        padding-bottom: 2rem;
        width: 100%;
    }
    
    .button{
        width: 80%;
        height: 100%;
        justify-content: center;

    }
}
/* Resume Page */

.resumepage { 
    background-image: url("https://s3.us-east-1.amazonaws.com/www.zecharialozada.com/Dallas-Skyline2.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-image-source: linear-gradient(hsla(240, 5%, 21%, 0.7), hsla(0, 0%, 0%, 0.7));
    border-image-slice: fill 1;
    margin-bottom: 80px
    ;
}
.resume-page__container {
    display: grid;
    align-items: center;
    margin: 0 auto;
    height: 70vh;
    width: 100%;
    padding:0 50px;
    max-width: 1300px;
}

 .resume__content{ 
    color: #fff;
}

.resume__content h1 {
    font-size: 6rem;
    text-align: center;
    margin: auto;

    
}


.resume-page__container h2{
    color: #fff;
    font-style: italic;
    text-decoration-line: underline;
    font-size: 1.2rem;
   margin: auto;
}
@media screen and (max-width: 768px){
    .resume-page__container{
        grid-template-columns: 1fr;
        height: auto;
        padding: 120px 0px;
        height: 40vh;
        text-align: center;
    }
.resume__content {
    padding: 0 32px;
}

.resume__content h1 {
    font-size: 2.5rem;
    margin-top: 2rem;
}


.resume__content h2{
    color: #fff;
    font-style: italic;
    text-decoration-line: underline;
    font-size: 1.2rem;
    text-align: center;
}
}


/* Tech Skills CSS */


.techskills { 
    background-image: url("https://s3.us-east-1.amazonaws.com/www.zecharialozada.com/Dallas-Skyline1.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-image-source: linear-gradient(hsla(240, 5%, 21%, 0.7), hsla(0, 0%, 0%, 0.7));
    border-image-slice: fill 1;
    margin-bottom: -80px
    ;
}


.tech_skills__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    margin: 0 auto;
    height: 70vh;
    width: 100%;
    padding:0 50px;
    max-width: 1300px;
}

.skills__content{
    color: #fff;
}

.skills__content h1 {
    font-size: 3rem;
}

.skills__content p {
    margin-top: 1rem;
    font-size: 1.2rem;
}

.tech_skills__container h2{
    color: #fff;
    font-style: italic;
    text-decoration-line: underline;
    font-size: 2.2rem;
}

.skills__btn {
font-size: 1rem;
background: #00e1ff;
padding: 16px 32px;
border: none;
border-radius: 7px;
color: #fff;
margin-top: 5rem;
cursor: pointer;
outline: none;
transition: all 0.3s ease;

}

.skills__btn:hover {
    background: #0ba468;
    transform: translateY(-5px);
    box-shadow: 0 7px 10px rgba(0,0,0, 0.2);
}

.headshot__image{
    text-align: center;
}

#headshot-img{
    width: 60%;
    height: 60%;
    border-style:double;
    border-radius: 300px;
}

/* Tech Skills mobile responsiveness CSS */

@media screen and (max-width: 768px){
    .tech_skills__container{
        grid-template-columns: 1fr;
        height: auto;
        padding: 120px 0px;
        height: 100vh;
    }
.skills__content {
    text-align:center;
    margin-bottom: 4rem;
    padding: 0 32px;
}

.skills__content h1 {
    font-size: 2.5rem;
    margin-top: 2rem;
}

.skills__content p {
    font-size: 1.5rem;
}
#headshot-img{
    width: 40%;
    height: 40%;
    border-radius: 300px;
}
}

.tech_skills__container h2{
    color: #fff;
    font-style: italic;
    text-decoration-line: underline;
    font-size: 1.2rem;
    text-align: center;
}


@media screen and (max-width: 480px){
.tech_skills__container{
    width: 100vw;
    padding: 60px 0;
}

.skills__content h1 {
    font-size: 1.5rem;
    margin-top: 3rem;
}

.skills__btn {
    padding: 12px 36px;
    margin-top: 1rem 0;

}
#skills-img{
    position: relative;
    margin: 0rem auto;
    width: 100%;
    height: 100%;  
}

#headshot-img{
    width: 60%;
    height: 60%;
    border-radius: 300px;
}
}

/* Rotating Logos */

.rotating-logos{
    overflow: hidden;
    padding: 40px 0;
    background: #00e1ff;
    white-space: nowrap;
}

.rotating-logos:hover .rotating-logos__track{
    animation-play-state: paused;
}

.rotating-logos__track{
    display: inline-block;
    animation: rotate 12s linear infinite;
}

.logo-text{
    font-size: 40px;
    font-weight: bold;
    color: #ffffff;
    margin: 0 40px;
}

@keyframes rotate{
    0% {
        transform: translateX(0);
    }

    100%{
        transform: translateX(-100%);
    }
    
}

/*Interests section */

/* .fa-solid { */
    /* color: #fff; */
    /* font-size:32px; */
/* } */
.interests__hobbies{
    background-color: #000;
    padding: 100px 20px;
}

.interests__hobbies h2{
    font-size: 3rem;
    margin-bottom: 20px;
    color: #fff;
    text-align: center;
}

.interests__hobbies h3{
    font-size: 1rem;
    margin-bottom: 10px;
    color: #fff;
}

.interests__hobbies p{
    font-size: 1rem;
    margin-bottom: 5px;
    color: #fff;
}


.interests__hobbies .intro-text{
    font-size: 2rem;
    color: #fff;
    margin-bottom: 25px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.interests-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.interests-item{
    background-color: #fff;
    box-shadow: 0px 4px 20px rgba(0,0,0,0.2);
    border-radius: 10px;
    padding: 30px;
    text-align: left;
    max-width: 300px;
}

.interests-item i.icon {
    font-size: 2.5rem;
    color:#000;
    margin-bottom: 50PX;

}

.interests-item h3{
    font-size: 1.5rem;
    color: #000;
    margin-bottom: 10px;
}

.interests-item p{
    font-size: 1rem;
    color: #000;
    line-height: 1.6;
}

@media (max-width: 768px){
    .interests-grid {
        flex-direction: column;
        align-items: center;
    }

    .interests-item{
        max-width: 100%;
    }
    .interests__hobbies .intro-text{
        font-size: 1.5rem;
    }
}

/* Resume CSS */

.resume{
    text-align: center;
    padding: 2rem 1rem;
    z-index: 1;
    background: #00e1ff;
}

.resume h2 {
    margin-bottom: 2rem;
}

.resume-toggle{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
     gap: 1rem;  /*add gap between elements*/
}

.toggle-container {
    display:flex;
    align-items: center;
}

.resume-toggle .toggle-option {
    margin: 0 0.5rem;
    font-size: 1rem;
    color: #fff;
}

.resume-toggle .save-percentage-container{
    width:100px;
    display: flex;
    justify-content: center;
}

.resume-toggle .save-percentage{
    font-size: 1.2rem;
    font-weight: bold;
    color: blueviolet;
}

.switch{
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.switch input{
    opacity: 1;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    bottom: 0;
    background-color: #000000;
    transition: 0.4s;
    border-radius: 30px;
}

.slider:before{
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color:#fff;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color:darkmagenta;
}

input:focus + .slider{
    box-shadow: 0 0 1px #00e1ff;
}

input:checked + .slider:before{
    transform: translateX(30px);
}

.resume {
    background-color: #fff;
    padding: 100px 0px;
}

.resume h2 {
color: #000000;
font-size: 4rem;
}

.card-content h3 {
    color: #fff;
    font-size: 3rem;
    font-style: italic;
    font-weight: bold;
    text-decoration: underline;
    margin-bottom: 0.5rem;
}

.card-content p {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1rem;

}

.experience__card li {
    color: #fff;
    font-size: 1rem;
    margin: 0.5rem 0;

}

.card-content p1 {
    color: #fff;
    font-size: 1.5rem;
    text-decoration: underline;
    line-height: 50px;
}

.resume__container{
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.experience__card{
    background-color: #000000;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0px 10px 20px rgba(0,0,0, 0.5);
    width: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: 0.3s ease;
}

.experience__card:hover {

background-color: rgb(0, 208, 255);
}

.job-btn{
    background-color: #00e1ff;
    padding: 0.5rem 2.5rem;
    border-radius: 5px;
    box-shadow: 0px 10px 20px rgba(0,0,0, 0.5);
    cursor: pointer;
    font-size: 1.1rem;
    text-decoration: none;
    width: 80%;
    transition: 0.3 ease;
    display: inline-block;
    border: none;
    color: #030303;
}

.job-btn:hover {
    background-color: #000000;
    color: #00e1ff;
}

.card-content{
    flex-grow: 1;
}

.experience__card ul{
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 1rem;
}

#small-desc{
    font-size: 1rem;
    text-align: center;
    padding: 8px 0px;
}

/* Resume Mobile CSS */
@media (max-width: 968px) {
    .resume__container{
        flex-direction: column;
        align-items:center;
    }
    .experience__card{
        width:100%;
        max-width: 400px;
        margin-bottom: 2rem;
    }

    .resume h2 {
        font-size: 3rem;
    }

}

@media (max-width: 480px){
    .resume h2{
        padding: 0 24px;
        font-size: 2rem;
    }

    .experience__card{
        width: 90%;
    }
}

/* Footer CSS */

.footer__container {
    background-color: #131313;
    padding: 5rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;

}

#footer-logo{
    color:#00e1ff;
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.footer__links {
    width: 100%;
    max-width: 1000px;
    display: flex;
    justify-content: center;
}

.footer__link-wrapper {
    display: flex;
}

.footer__link-items {
    display: flex;
    flex-direction: column;
    margin: 16px;
    text-align: left;
    width: 160px;
}

.footer__link-items h2{
    margin-bottom: 1rem;
    color: #00e1ff;

}

.footer__link-items a {
    color:#fff;
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.footer__link-items a:hover {
    color: #0ce48d;
    transition: 0.3s ease-out;
}

.social__media {
    max-width: 1000px;
    width: 100%;
}

.social__media-wrap{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width:90%;
    margin:40px auto 0 auto;
}

.website__rights {
    color: #fff;
}

.social_icons {

    display: flex;
    justify-content: space-between;
    width: 240px;
}

.social__icon-link {
    color: #00e1ff;
    font-size: 24px;
}

@media screen  and (max-width: 820px) {
    .footer__links {
        padding-top: 2rem;
    }

    .footer__link-wrapper {
        flex-direction: column;
    }

    .social__media-wrap {
        flex-direction: column;
    }

    #footer-logo, .website__rights{
        margin-bottom: 1rem;
    }
}
@media screen  and (max-width: 480px) {
    .footer__link-items {
        width:100%;
        padding: 10px;
    }

    .social__media {
        text-align: center;
    }
    }

/* Popup background overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }

  /* Popup box */
  .popup {
    background-image: url("https://s3.us-east-1.amazonaws.com/www.zecharialozada.com/work-in-progress.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-image-source: linear-gradient(hsla(240, 5%, 21%, 0.8), hsla(0, 0%, 0%, 0.8));
    border-image-slice: fill 3;
    padding: 30px; 
    max-width: 800px;
    width: 90%;
    max-height: 600px;
    height: 90%;
    text-align: center;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  }


  .popup h2 {
    margin-top: 25%;
    margin-bottom:auto;
    text-align: center;
    font-size: 4.5rem;
    color: #fff;
  }

  .popup p {
    text-align: center;
    font-size: 2.4rem;
    color: #fff;
  }

  .popup button {
    padding: 10px 20px;
    background-color: #00c3ff;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    align-items: center;
    margin-top: 5%;
  }

  .popup button:hover {
    background-color: #01f7d2;
  }

/* CSS for Popup Mobile */

@media screen and (max-width: 768px){
    .popup{
        grid-template-columns: 1fr;
        height: auto;
        padding: 10px 120px;
        text-align: center;
        width: 90%;
    }
    .popup h2{
        
        text-align: center;
        font-size: 2.5rem;
        color: #fff;
      }

      .popup p {
        text-align: center;
        font-size: 1.4rem;
        color: #fff;
      }
}

@media (max-width: 480px){
    .popup h2{
        padding: 0 24px;
        font-size: 2rem;
    }

    .popup{
        width: 90%;
        height: auto;
        text-align: center;
        padding: 50px 50px;
        
    }
}