@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=Tinos:ital,wght@0,400;0,700;1,400;1,700&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tinos', 'serif';
}

body {
    background-color: #3C3C3C;
    transition: background-color 1s ease;
    overflow-y: hidden;
}

a {
    color: #3C3C3C;
    text-decoration: none;
}

.navbar {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    padding: 25px 9%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    visibility: hidden;
    opacity: 0;
    animation: show-content 1.5s linear forwards;
    animation-delay: 1.2s;
}

@keyframes show-content {
    100% {
        visibility: visible;
        opacity: 1;
    }
}

.navbar .logo {
    font-size: 30px;
    font-weight: 700;
}

.navbar ul {
    display: flex;
}

.navbar ul li {
    list-style: none;
    margin-left: 35px;
}

.navbar ul li a {
    font-size: 20px;
    font-weight: 500;
}

.navbar .theme {
    display: inline-flex;
    padding: 8px;
    border: 2px solid #FFFFFF;
    border-radius: 50%;
    font-size: 20px;
    margin: 0 8px;
    transition: .5s;
}

.navbar .theme:hover {
    color: #FFFFFF;
    border: 2px solid #39FF14;
    box-shadow: 0 0 10px #39FF14;
}

.home {
    display: flex;
    align-items: center;
    gap: 50px;
    height: 94vh;
    padding: 60px 9% 0;
    color: #3C3C3C;
    visibility: hidden;
    opacity: 0;
    animation: show-content 1.5s linear forwards;
    animation-delay: 1.6s;
}

.home-info h1 {
    font-size: 55px;
}

.home-info h2 {
    display: inline-block;
    font-size: 32px;
    margin-top: -10px;
}

.home-info h2 span {
    position: relative;
    display: inline-block;
    color: transparent;
    -webkit-text-stroke: .7px var(--stroke-color, #39FF14);
    animation: display-text 20s linear infinite;
    animation-delay: calc(-4s * var(--i));
}

@keyframes display-text {
    20%,
    100% {
        display: none;
    }
}

.home-info h2 span::before {
    content: attr(data-text);
    position: absolute;
    width: 0;
    border-right: 2px solid var(--pseudo-color, #39FF14);
    color: var(--pseudo-color, #39FF14);
    white-space: nowrap;
    overflow: hidden;
    animation: fill-text 4s linear infinite;
}

@keyframes fill-text {
    10%, 100% {
        width: 0;
    }
    70%, 90% {
        width: 100%;
    }
}
.home-info p {
    font-size: 16px;
    margin: 10px 0 25px;
}

.home-info .btn-sci {
    display: flex;
    align-items: center;
}

.btn {
    display: inline-block;
    padding: 10px 30px;
    background-color: #39FF14;
    border: 2px solid #39FF14;
    border-radius: 40px;
    box-shadow: 0 0 10px #39FF14;
    font-size: 16px;
    color: #3C3C3C;
    font-weight: 600;
    transition: .5s;
}

.btn:hover {
    background-color: transparent;
    color: #39FF14;
    box-shadow: none;
}

.home-info .btn .btn-sci .sci {
    margin-left: 20px;
}

.home-info .btn-sci .sci a {
    display: inline-flex;
    padding: 8px;
    border: 2px solid #39FF14;
    border-radius: 50%;
    font-size: 20px;
    color: #39FF14;
    margin: 0 8px;
    transition: .5s;
}

.home-info .btn-sci .sci a:hover {
    background-color: #39FF14;
    color: #FFFFFF;
    box-shadow: 0 0 10px #39FF14;
}

.home-img .img-box {
    width: 32vw;
    height: 32vw;
    border-radius: 50%;
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.home-img .img-box::before,
.home-img .img-box::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: conic-gradient(transparent, transparent, transparent, var(--conic-color, #39FF14));
    border-radius: 50%;
    transform: rotate(0deg);
    animation: rotate-border 10s linear infinite;
}

.home-img .img-box::after {
    animation-delay: -5s;
}

@keyframes rotate-border {
    100% {
        transform: rotate(360deg);
    }
}

.home-img .img-box .img-item {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #FFFFFF;
    border-radius: 50%;
    border: .1px solid #FFFFFF;
    display: flex;
    justify-content: center;
    z-index: 1;
    overflow: hidden;
}

.home-img .img-box .img-item img {
    position: absolute;
    top: 0px;
    display: block;
    width: 110%;
    object-fit: cover;
    mix-blend-mode: darken;
}

.bars-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: -1;
}

.bars-animation .bar {
    width: 100%;
    height: 100%;
    background-color: #FFFFFF;
    transform: translateY(-100%);
    animation: show-bars .5s ease-in-out forwards;
    animation-delay: calc(.1s * var(--i));
}

@keyframes show-bars {
    100% {
        transform: translateY(0%);
    }
}

.color {
    position: fixed;
    bottom: 20px;
    right: 40px;
    height: 30px;
    justify-content: right;
    display: flex;
    gap: 10px;
}

#red {
    height: 30px;
    width: 30px;
    border-radius: 50%;
    border-color: #3C3C3C;
    background-color: #FF4900;
}

#blue {
    height: 30px;
    width: 30px;
    border-radius: 50%;
    border-color: #3C3C3C;
    background-color: #1F51FF;
}

#pink {
    height: 30px;
    width: 30px;
    border-radius: 50%;
    border-color: #3C3C3C;
    background-color: #FF008D;
}

#green {
    height: 30px;
    width: 30px;
    border-radius: 50%;
    border-color: #3C3C3C;
    background-color: #39FF14;
}

#purple {
    height: 30px;
    width: 30px;
    border-radius: 50%;
    border-color: #3C3C3C;
    background-color: #8900FF;
}

.colorip {
    align-items: center;
    justify-content: center;
    border: none;
    width: 30px;
    height: 30px;
    overflow: hidden;
    border-radius: 50%;
    border: 2px solid #3C3C3C;
}

#colorpick {
    padding: 0;
    margin: 0;
    border: none;
    height: 40px;
    width: 38px;
    position: relative;
    top: -5px;
    left: -3px;
}