@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;
}

.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;
}
.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);
}

.info > h1,
.info > h2,
.info > p{
    font-family: 'Josefin Slab', sans-serif;
    color: var(--text-color);
}

.info > h1{
    font-size: 58px;
    top: 10px;
    font-weight: 400;
    position: relative;
    color: #e3bfb7;
}

.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: #90e0ef;
    display: block;
}

.skills{
    text-decoration: none;
    font-weight: 300;
    font-size: 26px;
    font-style: normal;
}

.subline{
    color: #e3bfb7;
    position: relative;
    top: 2px;
    font-weight: 500;
    font-size: 25px;
}



.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;
}




/* 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;
}


@media (max-width:1240px){
    .dp{
        width: 90vw;
    }
    .intro{
        padding: none;
    }
    .info{
        width: 95%;
        max-width: 1100px;
        left: 10px;
        min-height: 600px;
    }
    .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;
    }
}

@media (max-width:660px){

    .dp{
    width: 80vw;
    min-width: 300px;
    max-width: 600px;
    height: auto;
    position: relative;
    top: 0px;
    left: 10px;
    }
    .intro{
        padding: none;
    }
    .info{
        width: 95%;
        left: 10px;
    }
    .logos{
        height: 70px;
        width: auto;
        top: 0px;
        left: 0px;
        position: relative;
    }
}

@media (max-width:450px){
    .intro{
        padding: 10px;
        width: 98vw;
    }
    .info > h1{
        font-size: 48px;
        top: 10px;
        position: relative;
        color: #e3bfb7;
    }
    .info{
        width: 98%;
        left: 10px;
        min-height: 500px;
    }
    .name{
        font-weight: 300;
        color: #b5cc8d;
        display: block;
        position: relative;
    }
    .about{
        font-size: 22px;
        font-weight: 500;
        color: #90e0ef;
        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;
    }
}