@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&family=Young+Serif&display=swap');
@import url("second-section.css");

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root{
    --main-color: #000814;
    --second-color: #f2f2f2;
    --third-color: #6c757d;
    --fourth-color: #dee2e6;
    --fifth-color: #303336;
    --sixth-color: rgba(14, 21, 34, 0.6); /* Adjust transparency */
    --seventh-color: #0eee0e;
    --seventh1-color: #0ed4ee;

    --eighth-color: linear-gradient(45deg, #4ffaa4, #76eff8, #0496cf);
    --ninth-color: #660000;
    --tenth-color: #330000;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Ensures no scrolling */
}
body{
    position: relative;
    background: var(--main-color);
    width: 100vw;
    margin-top: 40px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 100px;
    align-items: center;
    justify-content: center;
    font-family: "Young Serif", serif;
    overflow-x: hidden;
    color: var(--second-color);

}
.ifr{
    position: fixed;
    bottom: 40px;
    right: 10px;
    z-index: 999;
    border-radius: 20px;
}
@media screen and (max-width:760px){
    .ifr{
        width: 300px;
        height: 100px

    }
}
.circles{
    position: absolute;
}
span a{
    text-decoration: none;
    color: var(--second-color);
}
.ttt .klinic-fourth{
    display: flex;
    width: 100vw;
}
.nav-icons{

    position: fixed;
    top: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--third-color);
    border-radius: 20px;
    padding: 10px 20px;
    background-color: var(--sixth-color);
    margin-top: 20px;
    z-index: 1000;
    backdrop-filter: blur(8px); /* Blurs content behind */
    transition: all 0.3s ease-in-out;
}
.nav-icons svg{
    color: var(--third-color);
    width: 20px;
    
}
.home{
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--fifth-color);
    padding: 5px 7px;
    border-radius: 50%;
}
.active{
    background: var(--second-color);
    padding: 5px 7px;
    border-radius: 50%;
}
.home a{
    display: flex;
    align-items: center;
}
.active svg{
    color: var(--main-color)

}
.icon-label {
    position: absolute;
    top: -30px;
    background: var(--fifth-color);
    color: white;
    padding: 3px 7px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    border: 1px solid var(--third-color);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}
.home:hover .icon-label {
    opacity: 1;
    font-family: "Roboto", sans-serif;

}
.first-section, .profile{
    position: relative;
    display: flex;
    flex-direction: column  ;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.profile{
    position: relative;
    color: var(--second-color);
    font-family: "Roboto", sans-serif;
}

.availability{
    background-color: var(--sixth-color);
    padding: 10px 20px;
    border: 1px solid var(--third-color);
    position: absolute;
    top: 280px;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 100px;
    border-radius: 5px;
    backdrop-filter: blur(8px); /* Blurs content behind */
}


.profile img{
    border-radius: 50%;
    border-top: 3px solid var(--third-color);
    border-right: 3px dashed var(--third-color);
    border-bottom: 3px dotted var(--third-color);
    border-left: 3px double var(--third-color);
    
    padding: 10px;}
.online-blink{
    width: 10px;
    height: 10px;
    background-color: var(--seventh-color);
    border-radius: 50%;
    animation: blink 1s infinite;
    display: inline-block;
}

@keyframes blink {
    0%, 100% {
        background-color: var(--seventh-color);
    }
    50% {
        box-shadow: 0 0 8px var(--seventh-color), 0 0 15px var(--seventh-color), 0 0 20px var(--seventh-color);
    }
}
@keyframes rotateImage {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.rotating {
    
    animation: rotateImage 15s linear infinite;
}

.profile-details{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 20px;
    max-width: 550px;
}
.profile-title{
    font-size: 40px;
    font-weight: 900;
    color: var(--second-color);
}
.profile-description{
    font-size: 18px;
    font-weight: 400;
    color: var(--third-color);
    text-align: center;
    padding: 0 20px;
    font-family: "Roboto", sans-serif;
}
.explore-work, .connect{
    background-color: var(--sixth-color);
    padding: 10px 20px;
    border: 1px solid var(--third-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 100px;
    border-radius: 5px;
    font-family: Roboto, sans-serif;
    font-size: 18px;
    font-weight: 700;
    width: 250px;
}
.explore-work:hover{
    animation: bounce 0.5s ease-in-out infinite;
}
.connect:hover{
    background-color: var(--second-color);
    color: var(--main-color);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0 10px var(--third-color), 0 0 20px var(--third-color), 0 0 30px var(--third-color);
}
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }

}
.explore-work svg, .connect svg{
    color: var(--third-color);
    width: 20px;
}
.connect{
    background-color: var(--second-color);
    color: var(--main-color);
}
.connect-contact{
    display: flex;
    gap: 10px;
}
@media(max-width: 768px){
    .profile-details{
        max-width: 100%;
    }
    .profile-title{
        font-size: 30px;
    }
    .profile-description{
        font-size: 16px;
    }
    .connect-contact{
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
}
.star {
    width:20px;
    height: 20px;
    background: var(--main-color);
    clip-path: polygon(
      50% 0%, 61% 35%, 98% 35%, 
      68% 57%, 79% 91%, 50% 70%, 
      21% 91%, 32% 57%, 2% 35%, 
      39% 35%
    );
  }
    .star:hover {
        animation: rotateStar 1s linear infinite;
    }  

    .contact-me a{
        display: flex;
        align-items: center;
        text-decoration: none;
        color: var(--second-color);
    }


   


