@import url('https://fonts.googleapis.com/css2?family=Inconsolata:wght@200..900&family=Press+Start+2P&display=swap');


::-webkit-scrollbar {
    width: 8px;
    /* Decrease the width */
}

::-webkit-scrollbar-thumb {
    background-color: #555;
    /* Change the color of the scrollbar thumb */
}

::-webkit-scrollbar-track {
    background-color: #eee;
    /* Change the color of the scrollbar track */
}


* {
    margin: 0px;
    padding: 0px;
}

body {
    position: relative;
    height: 100%;
    width: 100%;
    font-family: "Inconsolata","Press Start 2P", system-ui;
}

#my-name{
    font-family: "Press Start 2P", system-ui;
    font-size: 64px;
    margin-bottom: 40px;
}

#animationCheckbox,label{
    font-size: 20px;
    margin-top: 15px;
    pointer-events: all;
}
p{
    font-family:  "Inconsolata";
    font-size: 20px;
    margin-top: 10px;
    line-height: 1.5;
}
ul{
    font-family:  "Inconsolata";
    font-size: 20px;
    margin-top: 12px;
    line-height: 1.5;
    margin-left: 24px;
}
ol{
    font-family:  "Inconsolata";
    font-size: 20px;
    margin-top: 12px;
    line-height: 1.5;
    margin-left: 32px;
}

li{
    margin-top:10px
}

.main-container {
    position: relative;
    margin: 72px auto;
    padding: 10px;
    /* border: 1px solid black; */
    z-index: 3;
    height: 100vh;
    width: 55%;
    pointer-events:none;
    background: none;
    scrollbar-width: 10px;
}
.sub-section{
    margin-left: 48px;
}
a{
    pointer-events:all;
    text-decoration: none;
}
video{
    width: 100%;
    height: auto;
}
.video-banner{
    position:absolute;
    overflow: hidden;
    left: 0;
    right: 0;
    margin:-110px -16px -16px;
   
    pointer-events: none;
    z-index: -1;
    image-rendering: pixelated;
    /* user-select: none; */
    opacity: .2;
}

#palebluedot{
    width: 100%;
    margin-top: 10px;
}
#myphoto{
    width: 100%;
}
.bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    filter: blur(10px);
    z-index: 2;
}

.row {
    display: inline-flex;
    margin-top: -58px;
    margin-left: -100px;
}

.row:nth-child(even) {
    margin-left: 2px;
}

.hexagon {
    width: 200px;
    height: 220px;
    margin: 2px;
    background-color: #fff;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.hexagon:hover{
    background-color: #f0f0f0;
}
.animation-enabled 
.hexagon:hover {
    background-color: yellow;
    animation: rainbow-animation 8s linear infinite;
}

.hexagon:active {
    background-color: yellow;
    animation: rainbow-animation 8s linear infinite;

}

@keyframes rainbow-animation {
    0% {
        filter: hue-rotate(0deg);
    }

    16.67% {
        filter: hue-rotate(60deg);
        /* Red */
    }

    33.33% {
        filter: hue-rotate(120deg);
        /* Yellow */
    }

    50% {
        filter: hue-rotate(180deg);
        /* Green */
    }

    66.67% {
        filter: hue-rotate(240deg);
        /* Cyan */
    }

    83.33% {
        filter: hue-rotate(300deg);
        /* Blue */
    }

    100% {
        filter: hue-rotate(360deg);
        /* Back to Red */
    }
}


/* Toggle switch */

.toggle-container {
    position:fixed;
    top:0;
    right: 0;
    z-index: 6;
    display: flex;
    align-items: center;
    /* justify-content: center; */
    margin-top: 10px;
    margin-right: 10px;
    justify-content: space-around;
    width: 172px;
}

.fa-sun{
    margin-left: 4px;
    color: #00333f;
}
.fa-moon{
    margin-left:14px ;
    color: #00333f;

}


.toggle-input {
    display: none;
}

.toggle-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    width: 61px; /* Adjust width of the toggle switch */
    height: 30px; /* Adjust height of the toggle switch */
    background-color: #fff; /* Background color of the toggle switch */
    border-radius: 25px; /* Adjust border radius to make a round shape */
    position: relative;
    transition: background-color 0.3s ease;
    border: 1px solid #00333f;
    margin-top: 0px;
}

.toggle-label:before {
    content: '';
    position: absolute;
    top: 2px; /* Adjust vertical position of the slider */
    left: 2px; /* Adjust horizontal position of the slider */
    width: 25px; /* Adjust width of the slider */
    height: 25px; /* Adjust height of the slider */
    background-color: #00333f; /* Background color of the slider */
    border-radius: 50%; /* Ensure the slider is round */
    transition: transform 0.3s ease;
    
}

.toggle-input:checked + .toggle-label {
    background-color: #121316; /* Background color when toggle is on */
}

.toggle-input:checked + .toggle-label:before {
    transform: translateX(30px); /* Move the slider to the right when toggle is on */
}


/* #9fa7b9 text */




@media only screen and (max-width: 480px) {
    .video-banner{
        margin: 0px;
        margin-top: -60px;
    }
    body{
        overflow-x: hidden;
        
    }
    #my-name{
        font-size: 42px;
    }

    .main-container {
        
        width: 100%;
        
    }
    video {
        width: 100%; 
        height: auto;
    }
    .toggle-container{
        position:absolute;
        top:-69px;
        right: -24px;
    }

}