@import url('https://fonts.googleapis.com/css2?family=Andika&display=swap');

:root {
    --black: #000;
    --purple: #8a2be2;
    --light-color: #ccc;
    --box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.5);
    --header-background: #1e1e1e;
    --body-background: #121212;
    --text-color: #e0e0e0;
    --button-background: linear-gradient(to right, #4a66ff, #0050fa, #4a66ff);
    --button-border: #444;
}

* {
    font-family: 'Andika', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: none;
    outline: none;
    text-decoration: none;
    text-transform: none;
    transition: all .2s linear;
}

html {
    overflow-x: hidden;
    scroll-padding-top: 7rem;
    scroll-behavior: smooth;
}

body {
    background: var(--body-background);
    color: var(--text-color);
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px;
    background: var(--header-background);
    color: var(--text-color);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
}

.logo img {
    height: 50px;
    width: auto;
}

.headbar {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-grow: 1;
    justify-content: center;
}

.headbar a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    padding: 10px;
    transition: color 0.3s ease;
    display: block;
}

.headbar a:hover {
    color: #00aaff;
}

.menubtn {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    border-radius: 5px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

@media (max-width: 768px) {
    .headbar {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background: var(--header-background);
        width: 100%;
        border-top: 1px solid #444;
        box-sizing: border-box;
    }

    .headbar.show {
        display: flex;
    }

    .headbar a {
        padding: 15px;
        text-align: center;
        border-bottom: 1px solid #444;
        width: 100%;
    }

    .menubtn {
        display: block;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}


.main {
    width: 100%;
    display: flex;
}

.main .left {
    padding-left: 50px;
    text-align: center;
    line-height: 1.6;
}

.main .left h2 {
    padding-top: 31%;
    font-size: 15px;
    text-transform: capitalize;
    color: var(--light-color);
    margin-top: 100px;
}

.main .left h1 {
    font-size: 42px;
    text-transform: capitalize;
    font-weight: 700;
    margin: 15px 0;
}

.main .left p {
    margin-bottom: 20px;
    font-size: 15px;
    color: var(--light-color);
}

.main .left button a{
    padding-top: 12px;
    padding: 15px 45px;
    text-align: center;
    font-size: 14px;
    color: #fff;
    border: 1px solid var(--button-border);
    box-shadow: var(--box-shadow);
    background-image: var(--button-background);
    border-radius: 10px;
}

.main .right img {
    padding-top: 25%;
    width: 130%;
    height: 113%;
    display: flex;
}


@media (max-width: 912px) {
    .main {
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 0 1rem;
    }

    .main .left {
        text-align: center;
        padding: 2rem 0;
        width: 100%;
    }

    .main .right {
        width: 100%;
        display: flex;
        justify-content: center;
        padding-top: 1rem;
    }
    
    .main .right img {
        width: 80%;
        height: auto;
    }
    
    .main .left button {
        margin: 1rem 0;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translate(0);
    }
}
