@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@700&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@700&family=Rubik+Mono+One&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

html {
    overflow: scroll;
    overflow-x: hidden;
}
::-webkit-scrollbar {
    width: 0;  /* Remove scrollbar space */
    background: transparent;  /* Optional: just make scrollbar invisible */
}
/* Optional: show position indicator in red */
::-webkit-scrollbar-thumb {
    background: #FF0000;
}

/* Initial light theme settings */
body {
    background-color: #f5f5f5;
    color: #000000;
    margin: 0;
    font-family: "Rubik", sans-serif;
    font-style: normal;
    transition: background-color 0.5s ease;
}

body.dark-theme {
    background-color: #2c2c2c;
    color: #ffffff;
}

/* Navbar styling */
.nav {
    display: flex;
    align-items: center;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid black;
    overflow: hidden;
}

.nav-dark-theme {
    border-bottom: 2px solid rgb(255, 255, 255);
}

/* Logo styling */
.logo {
    font-size: 24px;
    font-weight: bold;
    margin-right: 20px;
    position: relative;
    padding-top: 10px;
}

/* Line next to logo in light theme */
.logo::after {
    content: "";
    position: absolute;
    right: -10px;
    top: 0;
    bottom: 0;
    width: 2px;
    height: 150%;
    background-color: black;
}

/* Logo line in dark theme */
.logo-dark-theme::after {
    background-color: rgb(255, 255, 255);
}

/* Navbar button container */
.nav_buttons {
    display: flex;
    align-items: center;
    margin-left: auto;
    position: relative;
    padding-top: 10px;
}

/* Separator line in light theme */
.nav_buttons::after {
    content: "";
    position: absolute;
    width: 2px;
    height: 600%;
    background-color: black;
    right: 0;
}

/* Separator line in dark theme */
.nav_buttons-dark-theme::after {
    background-color: rgb(255, 255, 255);
}

/* Links styling */
.nav_buttons a {
    margin: 0 10px;
    text-decoration: none;
    color: inherit;
}

/* Switch container styling */
.theme-switch {
    display: flex;
    align-items: center;
    margin-left: 10px;
    padding-top: 10px;
}

/* Switch label styling */
.switch-label {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
    background-color: #ccc;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s;
}

/* Switch bubble */
.switch-label::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 22px;
    height: 22px;
    background-color: #fff;
    border-radius: 50%;
    transition: transform 0.3s;
    z-index: 1;
}

/* Toggle switch background and bubble position when checked */
#theme-toggle:checked + .switch-label {
    background-color: #333;
}

#theme-toggle:checked + .switch-label::after {
    transform: translateX(30px);
}

/* Hide checkbox */
#theme-toggle {
    display: none;
}


.column {
    float: left;
    width: 50%;
  }
 

@media screen and (max-width: 1150px) {
    .column {
      width: 100%;
    }
}

  /* Clear floats after the columns */
.hero:after {
    content: "";
    display: table;
    clear: both;
}

.fill {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden
}
.fill img {
    flex-shrink: 0;
    min-width: 100%;
    min-height: 100%
}

.hero {

    border-bottom: 2px solid black;

}

.hero_dark-theme {
    border-bottom: 2px solid white;
}

.hero p {
    padding-top: 80px;
    text-align: center;
}

.pp {
    padding-top: 10px;
    font-family: "Rubik Mono One", monospace;
    font-weight: 400;
    font-style: normal;
    font-size: 70px;
}
.px {
    font-family: "Rubik Mono One", monospace;
    font-weight: 400;
    font-style: normal;
    font-size: 50px;
    transform: scale(1, 5);
}


.column1 {
    float: left;
    text-align: center;
  }

.column {
    float: left;
}
  
.left, .right {
    width: 25%;
}
  
.middle {
    width: 50%;
}

  /* Clear floats after the columns */
.row1:after {
    content: "";
    display: table;
    clear: both;
}

.column1 h2 {
    font-size: 50px;
}

.column1 p {
    font-size: 30px;
}


footer {
    padding-bottom: 20px;
    text-align: center;
}

.f-text {
    font-size: 15px; /* Font size */
    font-weight: bold;
}

.slider_container {
    width: 100%;
    height: 100px; /* Adjust height as needed */
    overflow: hidden; /* Hide overflow */
    position: relative;
}


.slider {
    display: flex;
    white-space: nowrap; /* Prevent text from wrapping */
    position: absolute; /* Positioning for animation */
    animation: scroll 1s linear infinite; /* Adjust speed here */
    border-bottom: 2px solid black;
}

.slider_dark-theme {
    border-bottom: 2px solid white;
}

.text {
    font-size: 30px; /* Font size */
    font-weight: bold;
}

.t {
    padding-top: 20px;
    padding-bottom: 15px;
    padding-left: 10px;
    padding-right: 10px;
}

.duck {
    font-size: 30px;
    padding-top: 14px;
}


@keyframes scroll {
    0% {
        transform: translateX(0); /* Start at the beginning */
    }
    100% {
        transform: translateX(-50%); /* Move left by half the total width */
    }
}


/* For desktops and large screens (1024px - 1440px) */
@media (max-width: 1440px) {
    .container {
        max-width: 90%;
    }

    h1 {
        font-size: 2.5em;
    }

    p {
        font-size: 1.1em;
    }
}

@media (max-width: 1100px) {
    .container {
        max-width: 90%;
    }

    h1 {
        font-size: 2.5em;
    }

    p {
        font-size: 1.1em;
    }

    .column1 p {
        font-size: 20px;
    }
}

/* For smaller desktops and laptops (width <= 1024px) */
@media (max-width: 1024px) {
    body {
        font-size: 15px;
    }

    .container {
        max-width: 95%;
        padding: 15px;
    }

    h1, h2, h3 {
        font-size: 2em;
    }

    p {
        font-size: 1em;
    }
}

/* For tablets and medium screens (width <= 768px) */
@media (max-width: 768px) {
    body {
        font-size: 14px;
        padding: 10px;
    }

    .container {
        max-width: 90%;
        padding: 10px;
    }

    h1, h2, h3 {
        font-size: 1.8em;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    .column1 p {
        font-size: 15.5px;
    }

    .column1 h2 {
        font-size: 40px;
    }
}

/* For mobile devices (width <= 480px) */
@media (max-width: 580px) {
    body {
        font-size: 13px;
    }

    .container {
        max-width: 100%;
        padding: 5px;
    }

    h1, h2, h3 {
        font-size: 1.5em;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    .column1 p {
        font-size: 12.5px;
    }

    .column1 h2 {
        font-size: 35px;
    }
}

@media (max-width: 550px) {
    body {
        font-size: 13px;
    }

    .container {
        max-width: 100%;
        padding: 5px;
    }

    h1, h2, h3 {
        font-size: 1.5em;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    .pp {
        font-size: 40px;
        padding-top: 40px;
    }
}

@media (max-width: 545px) {
    body {
        font-size: 13px;
    }

    .container {
        max-width: 100%;
        padding: 5px;
    }

    h1, h2, h3 {
        font-size: 1.5em;
    }

    img {
        max-width: 100%;
        height: auto;
    }
    .px {
        font-size: 30px;
    }
    
    .pp {
        font-size: 40px;
        padding-top: 40px;
    }
}

@media (max-width: 500px) {
    .column1 p {
        font-size: 11px;
        font-weight: bold;
    }

    .column1 h2 {
        font-size: 25px;
    }
}

/* For very large screens (width > 1440px) */
@media (min-width: 1441px) {
    .container {
        max-width: 80%;
    }

    h1 {
        font-size: 3em;
    }

    p {
        font-size: 1.2em;
    }
}

/* Overlay container */
#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8); /* White transparent background */
    z-index: 1000; /* Ensure it appears above all other content */
}

/* Overlay content box */
.overlay-content {
    position: relative;
    margin: auto;
    top: 20%;
    width: 60%;
    background: #fff; /* Solid white rectangle */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
}

/* Exit button */
.exit-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    text-decoration: none;
    color: #000;
    font-weight: bold;
    cursor: pointer;
}

.exit-btn:hover {
    color: red;
}

.about-me {
    font-family: Arial, sans-serif;
    color: #333;
    text-align: center;
    line-height: 1.6;
}

.about-me h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #000;
}

.about-me p {
    font-size: 16px;
    margin: 10px 0;
}

.contact-me {
    margin: 20px auto; /* Center the box */
    font-family: Arial, sans-serif;
    color: #333;
    text-align: center;
    line-height: 1.6;
    width: 50%; /* Adjust the width to make the box narrower */
    border: 2px solid black; /* Keep your border styling */
    padding: 10px; /* Add space inside the border */
    border-radius: 8px; /* Optional: Add rounded corners for a polished look */
}

.contact-me h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #000;
}

.contact-me a {
    color: orangered;
    text-decoration: none;
}

.contact-me a:hover {
    text-decoration: underline;
    color: rgb(192, 51, 0);
}
