@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css?family=Josefin+Slab&display=swap');
:root { 
  --first-color: #FCFBFC;
  --firstsudo-color: rgba(187, 190, 254, 0.8);
  --second-color: #9ea3f5;
  --secondsudo-color: rgba(147, 151, 229, 0.785);
  --background-color: #F3EAD3;
  --box-color: #F3EAD3;
  --nav-color: #d2e0b9;
  --background-color1: #28282B;
  --third-color: #2e2e33;
  --text-color: #28282B;
  --black-color: #222;
  --transition-duration: 0.2s;
  --glass-white: rgba(255, 255, 255, 0.2);
  --glass-whiter: rgba(255, 255, 255, 0.1);
  --glass-black: rgba(0,0,0,0.2);
  --glass-blacker: rgba(0,0,0,0.3);
  --glass-second: rgba(147, 151, 229, 0.4);
}



.intro{
    height: fit-content;
    min-height: 700px;
    position: relative;
    top: 20px;
    display: flex;
    padding: 20px;
    width: 100%;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
.skill-intro,
.like-list,
.hobby-list{
        height: fit-content;
        min-height: 700px;
        position: relative;
        top: 20px;
        display: flex;
        padding: 20px;
        width: 100%;
        flex-wrap: wrap;
        align-items: center;
        justify-content: left;

}
.skill-intro{
    justify-content: left;

}
.hobby-list{
    min-height: 650px;
    justify-content: left;
}
.like-list{
    min-height: 500px;
}
.info{
    width: 90%;
    max-width: 700px;
    min-width: 300px;
    position: relative;
    top: 60px;
    left: 50px;
    height: fit-content;
    min-height: 680px;
    max-height: 1400px;
    display: block;
    font-family: 'Josefin Slab', sans-serif;
}
.skill-div,
.like-div{
    width: 90%;
    max-width: 650px;
    min-width: 300px;
    position: relative;
    top: 60px;
    left: 50px;
    height: fit-content;
    min-height: 680px;
    max-height: 1400px;
    display: block;
    font-family: 'Josefin Slab', sans-serif;
}
.like-div{
    min-height: 450px;
    height: fit-content;
}
.dp{
    width: 40vw;
    min-width: 300px;
    max-width: 600px;
    height: auto;
    position: relative;
    top: -100px;
    transition: ease-in-out 0.4s;
    left: 10px;
}

.dp:hover{
    transform: scale(1.1);
}

.skill-img{
    width: 39vw;
    min-width: 300px;
    max-width: 600px;
    height: auto;
    position: relative;
    top: -50px;
    transition: ease-in-out 0.4s;
    left: 30%;
    transform: translateX(-50%);
}

.skill-image:hover{
    transform: scale(1.1);
}

.info > h1,
.info > h2,
.info > p,
.skill-div > h1,
.skill-div > h2,
.skill-div > p
{
    font-family: 'Josefin Slab', sans-serif;
    color: var(--text-color);
}

.info > h1,
.skill-div > h1{
    font-size: 58px;
    top: 10px;
    position: relative;
    color: #e3bfb7;
    font-weight: 400;
}

.info > h2,
.skill-div > h2{
    font-size: 28px;
}

.info > h2{
    font-weight: 400;
    font-size: clamp(1.3rem, 2vw, 2.3rem);
}
.name{
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    color: #b5cc8d;
    display: inline;
    position: relative;
}
.about{
    font-size: 25px;
    font-weight: 500;
    color: var(--text-color);
    display: block;
}

.skills{
    text-decoration: none;
    font-weight: 300;
    font-size: 25px;
    font-style: italic;
}

.skill-title,
.hobby-title{        
    top: -50px;
    left: 0px;
    position: relative;
    color: #e3bfb7;
    font-family: 'Josefin Slab', sans-serif;
    font-size: clamp(2.2rem, 5vw, 4rem);
}

.hobby-title{
    top: -60px;
    width: 750px;
    display: block;
}

.skill-list{
    position: relative;
    left: 20px;
    width: fit-content;
    height: fit-content;
    margin-bottom: 20px;
    top: -10px;
}

.hobby-list-cat{
    position: relative;
    left: 20px;
    width: fit-content;
    height: fit-content;
    margin-bottom: 60px;
    top: -20px;
}


.subline{
    color: #b5cc8d;
    position: relative;
    top: 2px;
    font-weight: 500;
    font-size: 25px;
    font-family: 'Josefin Slab', sans-serif;
}

.skill-cat{
    width: fit-content;
}

.skill-cat-name{
    color: #b5cc8d;
    position: relative;
    top: 2px;
    width: fit-content;
    font-weight: 500;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-family: 'Josefin Slab', sans-serif;
}
.skill-info{
    font-family: 'Josefin Slab', sans-serif;
    color: var(--text-color);
    font-size: 21px;
    top: 5px;
    position: relative;
    font-weight: 500;
    width: 95%;
}

.skill-info-list{
    font-family: 'Josefin Slab', sans-serif;
    color: var(--text-color);
    font-size: 21px;
    top: 5px;
    position: relative;
    font-weight: 500;
    width: fit-content;
}

.logo-box{
    width: 90%;
    min-width: 300px;
    max-width: 600px;
    position: relative;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-around;
    height: fit-content;
    display: flex;
    padding: 0px 5px;
}

.logos{
    height: 70px;
    width: auto;
    top: 10px;
    left: 10px;
    position: relative;
}

.skill-img:hover{
    transform: translateX(-50%) translateY(20px) scale(1.1);
}


/* CSS to style the error message */
.hidden {
    display: none;
}

#error-message {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #b5cc8d; /* Semi-transparent red background */
    color: #ffffff;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ensures the message appears on top of everything */
}

.error-overlay {
    padding: 20px;
    font-size: 18px;
}

.work{
    position: relative;
    display: block;
}
.work img{
    width: 53vw;
    min-width: 300px;
    max-width: 800px;
    left: 50%;
    top: -60px;
    position: relative;
    transform: translateX(-50%);
}

.announce{
    position: relative;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: fit-content;
    font-weight: 300;
    font-size: 28px;
}
.skill-title:before{
    content: '';
    position: absolute;
    background: #e3bfb7;
    width: 0;
    height: 3px;
    bottom: 0px; /* Adjust the value as needed */
    left: 50%;
    transform: translateX(-50%);
    transition: 0.3s ease;
  }
  .skill-title:hover:before{
    width: 100%;
  }

  .hobby-title:before{
    content: '';
    position: absolute;
    background: #e3bfb7;
    width: 0;
    height: 3px;
    bottom: 0px; /* Adjust the value as needed */
    left: 50%;
    transform: translateX(-50%);
    transition: 0.3s ease;
  }
  .hobby-title:hover:before{
    width: 100%;
  }


.skill-cat-name:before {
    content: '';
    position: absolute;
    background: #b5cc8d;
    width: 0;
    height: 2px;
    bottom: 0px; /* Adjust the value as needed */
    left: 50%;
    transform: translateX(-50%);
    transition: 0.3s ease;
  }
  
  .skill-cat-name:hover:before{
    width: 100%;
  }

  .name:before {
    content: '';
    position: absolute;
    background: #b5cc8d;
    width: 0;
    height: 3px;
    bottom: 0px; /* Adjust the value as needed */
    left: 50%;
    transform: translateX(-50%);
    transition: 0.3s ease;
  }
  
  .name:hover:before{
    width: 100%;
  }

@media (max-width:1240px){
    .dp{
        width: 90vw;
        display: none;
    }
    .skill-img{
        width: 90vw;
        left: 50%;
        top: 20px;
        position: relative;
    }
    .intro{
        padding: none;
        min-height: 300px;
    }
    .skill-intro{
        padding: none;
        min-height: 700px;
    }
    .info{
        width: 95%;
        max-width: 1100px;
        left: 10px;
        min-height: 500px;
    }
    .skill-div{
        width: 95%;
        max-width: 1100px;
        left: 10px;
        min-height: 500px;
    }
    .like-div{
        width: 95%;
        max-width: 1100px;
        left: 10px;
        min-height: 400px;
    }
    .logo-box{
        width: 90%;
        min-width: 300px;
        max-width: 1000px;
        position: relative;
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: space-around;
        height: fit-content;
        display: flex;
        padding: 0px 5px;
    }
    .skill-title{
        left: 0px;
        position: relative;
        color: #e3bfb7;
        font-family: 'Josefin Slab', sans-serif;
        font-size: clamp(2.2rem, 5vw, 4rem);
    }
    .hobby-list{
        min-height: 400px;
    }
    .hobby-title{
        top: -40px;
        width: auto;
        display: block;
    }
}

@media (max-width:660px){

    .intro{
        padding: none;
    }
    .info{
        width: 95%;
        left: 10px;
    }
    .skill-div{
        width: 95%;
        left: 10px;
    }
    .like-div{
        width: 95%;
        left: 10px;
    }
    .logos{
        height: 70px;
        width: auto;
        top: 0px;
        left: 0px;
        position: relative;
    }
    .skill-img{
        width: 90vw;
        top: 60px;
        position: relative;
    }
    .hobby-list{
        min-height: 400px;
    }
}

@media (max-width:450px){
    .intro{
        padding: 10px;
        width: 98vw;
    }
    .skill-intro{
        padding: 10px;
        width: 98vw;
        min-height: 900px;
    }
    .like-list{
        padding: 10px;
        width: 98vw;
        min-height: 500px;
    }
    .hobby-list{
        padding: 10px;
        width: 98vw;
        min-height: 500px;
    }
    .skill-img{
        width: 90vw;
        top: 20px;
        margin-bottom: 40px;
        position: relative;
    }
    .info > h1{
        font-size: 48px;
        top: 10px;
        position: relative;
        color: #e3bfb7;
    }
    .info{
        width: 98%;
        left: 10px;
        min-height: 500px;
    }
    .skill-div{
        width: 98%;
        left: 10px;
        top: 40px;
        position: relative;
        min-height: 600px;
    }
    .like-div{
        width: 98%;
        left: 10px;
        top: 20px;
    }
    .name{
        font-weight: 300;
        color: #b5cc8d;
        display: block;
        position: relative;
    }
    .skill-title{
        display: block;
        position: relative;
        font-weight: 300;
        top: -10px;

    }
    .about{
        font-size: 22px;
        font-weight: 500;
        color:  var(--text-color);
        display: block;
    }
    
    .skills{
        text-decoration: none;
        font-weight: 400;
        font-size: 22px;
        font-style: normal;
        color: #e3bfb7;
    }
    
    .subline{
        color: #e3bfb7;
        position: relative;
        top: 2px;
        font-weight: 500;
        font-size: 22px;
    }
    .logo-box{
        width: 90%;
        min-width: 300px;
        max-width: 600px;
        position: relative;
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: space-around;
        height: fit-content;
        display: flex;
        padding: 0px 5px;
        display: none;
    }
}

