* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", sans-serif;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 60px;
    overflow-x: hidden;
}

h1 {
    color: #171717;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -180%);
    font-size: 450%;
    font-weight: 500;
    letter-spacing: 5px;
    font-family: "Reddit Sans", sans-serif;
    font-size: 4.5rem;
    letter-spacing: 5px;
    text-align: center;
}

h2 {
    color: #a2a2a2;
    position: absolute;
    top: 20%;
    text-align: center;
    justify-content: center;
    left: 50%;
    transform: translate(-50%, -200%);
    text-align: center;
    font-size: 2.5rem;
    max-width: 90vw;
    font-weight: 400;
    font-size: 1.5rem;
    letter-spacing: 5px;
    font-family: "Reddit Sans", sans-serif;
}

header {
    text-align: center;
    transform: translateY(450px);


}

.start-button {
    position: absolute;
    top: 63%;
    left: 50%;
    transform: translate(-50%, 200%);
    padding: 10px 26px;
    font-size: 1.0rem;
    font-family: "Inter", sans-serif;
    color: #fff;
    background-color: #007BFF;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.start-button:hover {
    background-color: #0371e6;
    box-shadow: 0 0 10px #c2afaf;
}

.home {
    box-sizing: border-box;
    border-radius: 25px;
    height: 90vh;
    width: 95vw;
    max-width: 100%;
    margin: auto;
    background-color: #f4f4f4;
    background-image: radial-gradient(#d1d5db82 1px, transparent 1px);
    background-size: 10px 10px;
    overflow-x: hidden;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 999;
}

.logo {
    position: static;
    flex: 1;
}

.logo img {
    width: 50px;
    height: 40px;
}

.nav-center {
    display: flex;
    gap: 30px;
    align-items: center;
    font-family: 'Inter', sans-serif;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-center a {
    color: #171717;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-center a:hover {
    color: #007BFF;
}


.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1000;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #171717;
    margin: 5px 0;
    transition: 0.3s;
    display: block;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-center {
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        transform: none;
        flex-direction: column;
        background-color: white;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
    
    .nav-center.active {
        max-height: 400px;
    }

    .nav-center a {
        padding: 15px 20px;
        border-bottom: 1px solid #f0f0f0;
        width: 100%;
        display: block;
    }
    
    .nav-center a:last-child {
        border-bottom: 1px solid #f0f0f0;
    }
    
    #typewriter {
        font-size: 1.2rem;
        max-width: 85vw;
        white-space: normal;
        word-wrap: break-word;
    }
    
    h2 {
        font-size: 1.2rem;
        width: 90vw;
        max-width: 90vw;
        overflow: visible;
        left: 50%;
        transform: translateX(-50%);
        top: 55%;
    }
    
    h1 {
        font-size: 2rem;
        max-width: 90vw;
        left: 50%;
        transform: translate(-50%, -180%);
    }
    
    .start-button {
        top: 70%;
        transform: translateX(-50%);
    }
    
    .home {
        width: 100vw;
        border-radius: 0;
    }
    
    body {
        padding-top: 60px;
        overflow-x: hidden;
        width: 100%;
    }
}

a {
    color: #171717;
    text-decoration: none;
}

.logo-1 img {
    width: 110px;
    height: 90px;
    position: absolute;
    bottom: 190px;
    left: 50%;
    transform: translateX(-50%);
}

@media (min-width: 770px) and (max-width: 1250px) {
    .logo-1 img {
        display: none;
    }
}

@media (min-width: 421px) and (max-width: 700px) {
    .start-button{
        position: relative;
        
        top: 110%;
        left: 50%;
        transform: translateY(-50%);
    }
}

#typewriter {
    border-right: 3px solid black;
    padding-right: 5px;
    font-family: "poppins", monospace;
    white-space: nowrap;
    animation: blink 1s infinite;
    background: linear-gradient(90deg, #ff0000, #0000ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 1.5rem;
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

.static {
    color: #000000;
}

@media (max-width: 420px) and (min-width: 320px) {
    .home {
        width: 100vw;
    }

    .start-button {
        position: relative;
        margin-top: 20%;
        transform: translateX(-50%);
    }

    .box-1 {
        top: 20%;
        left: 10%;
        width: 80%;
    }

    .box-2 {
        top: 50%;
        left: 10%;
        width: 80%;
    }
    h1{
        font-size: 2.5rem;
        max-width: 90vw;
        letter-spacing: 3px;
    }
    #typewriter{
        font-size: 1rem;
        max-width: 90vw;
        margin-top: 5%;
        white-space: normal;
        word-wrap: break-word;
    }
    
    h2 {
        width: 90vw;
        max-width: 90vw;
    }
    
}

@media (max-width: 768px) {
    #typewriter {
        font-size: 1.2rem;
        max-width: 85vw;
        white-space: normal;
        word-wrap: break-word;
    }
    
    h2 {
        font-size: 1.2rem;
        width: 90vw;
        max-width: 90vw;
        overflow: visible;
    }
    
    h1 {
        font-size: 2rem;
        max-width: 90vw;
    }
    
    .start-button {
        top: 70%;
        transform: translateX(-50%);
    }
    
    .home {
        width: 100vw;
        border-radius: 0;
    }
    .logo{ 
        display: none;
    }
}

@media (max-width: 480px) {
    #typewriter {
        font-size: 0.9rem;
        max-width: 90vw;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    h2 {
        font-size: 1rem;
        width: 90vw;
        max-width: 90vw;
        overflow: visible;
    }
    
    h1 {
        font-size: 1.8rem;
        max-width: 90vw;
        letter-spacing: 2px;
    }
    
    .start-button {
        top: 70%;
        transform: translateX(-50%);
    }
    
    .home {
        width: 100vw;
        border-radius: 0;
    }
}

@media (max-width: 360px) {
    #typewriter {
        font-size: 0.8rem;
        max-width: 90vw;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    h2 {
        font-size: 0.85rem;
        width: 90vw;
        max-width: 90vw;
        overflow: visible;
    }
    
    .start-button {
        top: 70%;
        transform: translateX(-50%);
    }
    
    h1 {
        font-size: 1.5rem;
        max-width: 90vw;
        letter-spacing: 1px;
    }
}