.nav-btn {
    display: inline-block;
    padding: 10px 25px;
    font-size: 16px;
    text-decoration: none;
    border-radius: 8px;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Poppins,sans-serif;
}

body{

    background:linear-gradient(135deg,#050816,#0c1428,#101b35);

    min-height:100vh;

    overflow-x:hidden;

}

/* NAVBAR */

.navbar{

    width:100%;

    display:flex;

    justify-content:center;

    align-items:center;

    position:fixed;

    top:20px;

    z-index:100;

}

.logo{

    position:absolute;

    left:40px;

    color:#3ec9ff;

    font-size:30px;

    font-weight:bold;

}

.nav-menu{

    display:flex;

    gap:15px;

    background:rgba(255,255,255,.08);

    backdrop-filter:blur(15px);

    border-radius:50px;

    padding:10px;

}

.nav-menu a{

    color:white;

    text-decoration:none;

    padding:12px 28px;

    border-radius:40px;

    transition:.3s;

}

.nav-menu a:hover{

    background:#00bfff;

    box-shadow:0 0 15px #00bfff;

}

.active{

    background:#00bfff;

}

/* HERO */

.hero{

    min-height:100vh;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    gap:10px;

    padding:140px 20px 60px;

    text-align:center;

}

h1{

    color:#45d7ff;

    font-size:72px;

    text-shadow:0 0 25px #00bfff;

}

p{

    color:#bfc8d8;

    margin:15px;

    font-size:22px;

}

.robot{

    width:280px;

    animation:float 3s ease-in-out infinite;
}

.robot-container{

    margin:20px 0;

}

button{

    margin-top:35px;

    padding:18px 45px;

    font-size:20px;

    border:none;

    border-radius:40px;

    cursor:pointer;

    color:white;

    background:#00bfff;

    box-shadow:0 0 20px #00bfff;

    transition:.3s;

}

button:hover{

    transform:scale(1.08);

    box-shadow:0 0 35px #00bfff;

}

@keyframes float{

    0%{

        transform:translateY(0px);

    }

    50%{

        transform:translateY(-15px);

    }

    100%{

        transform:translateY(0px);

    }

}

html,body,main {
    min-height: 100vh;
}

main {
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: radial-gradient(#04f,#000);
}

#sketch-board-con {
    width: 350px;
    height: 350px;
    display: flex;
    justify-content: center;
    position: relative;
}

#sketch-board {
    margin-top: 20px;
    position: relative;
    transform: translateY(0);
    animation: moveRobot 2s infinite ease;
}

#head {
    width: 166px;
    height: 150px;
    border: 3px solid #000;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: inset 0 -10px #aac;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 4;
}

#lens {
    background-color: #007;
    width: 140px;
    height: 85px;
    border-radius: 50%;
    margin-top: 6px;
    position: relative;
    display: flex;
    align-items: center;
}

#lens::after,
#lens::before {
    content: "";
    border-radius: 50%;
    background-color: inherit;
    position: absolute;
    width: 85px;
    height: 70px;
    bottom: 2px;
    z-index: 1;
}

#lens::after {
    right: 0;
}

#lens::before {
    left: 0;
}

#upper-shadow {
    width: 94%;
    height: inherit;
    box-shadow: inset 0 4px rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    position: absolute;
    z-index: 10;
    top: 3px;
    transform: translateX(3%);
}

#rect {
    position: absolute;
    background-color: #fff;
    width: 48px;
    height: 10px;
    left: 50%;
    bottom: -6px;
    transform: translateX(-50%);
}

#eyes {
    position: absolute;
    width: 70%;
    height: 50%;
    transform: translateX(-50%);
    left: 50%;
    top: 28px;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    filter: drop-shadow(0 0 5px #09f)
    drop-shadow(0 0 10px #09f)
    drop-shadow(0 0 15px #09f);
}

#eyes::after,
#eyes::before {
    content: "";
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 7px solid transparent;
    border-top-color: #0ef;
    border-left-color: #0ef;
    transform: rotate(45deg);
}

#ear {
    position: absolute;
    top: 16%;
    left: 50%;
    transform: translateX(-50%);
    width: 197px;
    height: 60px;
    background-color: #fff;
    border: 3px solid #000;
    border-radius: 16px;
    z-index: 1;
    box-shadow: inset 0 -10px #aac;
}

#ear-antenna {
    width: 100%;
    height: 100%;
    position: relative;
}

#ear-antenna::after,
#ear-antenna::before {
    content: "";
    width: 10px;
    height: 35px;
    background-color: #0ef;
    position: absolute;
    transform: translateY(-100%);
    border: 3px solid #000;
}

#ear-antenna::before {
    left: 7px;
    border-top-left-radius: 40px;
    box-shadow: inset -2px 0 0 2px #08c;
}

#ear-antenna::after {
    right: 7px;
    border-top-right-radius: 40px;
    box-shadow: inset 2px 0 0 2px #08c;
}

#small-cap {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 47px;
    background-color: #fff;
    border: 3px solid #000;
    border-radius: 15px;
}

#body {
    width: 126px;
    height: 170px;
    background-color: #fff;
    border-radius: 50%;
    border: 3px solid #000;
    position: absolute;
    z-index: 1;
    left: 50%;
    transform: translateX(-50%);
    bottom: 90px;
    overflow: hidden;
    box-shadow: inset 0 -10px rgba(100, 100, 100, 0.4);
}

#shadow-box {
    width: 100%;
    height: 40%;
    border-radius: 50%;
    box-shadow: 0 18px #bebed6;
}

#pocket-area {
    width: 150%;
    height: 60%;
    margin-top: 45px;
    border: 3px solid #000;
    border-radius: 50%;
    margin-left: -25%;
    position: relative;
}

#pocket {
    width: 60px;
    height: 50px;
    background-color: #0cf;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border: 3px solid #000;
    top: -20px;
    border-radius: 10px 10px 50% 50%;
    box-shadow: inset 0 -8px rgba(100, 100, 100, 0.4);
}

#hands {
    position: absolute;
    width: 170px;
    height: 50px;
    display: flex;
    justify-content: space-between;
    top: 34%;
    left: 50%;
    transform: translateX(-50%);
}

.hand {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    transform: rotate(35deg);
}

.hand::before {
    content: "";
    width: 40px;
    height: 90px;
    background-color: #fff;
    box-shadow: inset -10px 0 #aac;
    border-radius: 40%;
    border: 3px solid #000;
}

.hand:last-child {
    transform: rotate(240deg);
    animation: rotate 1s infinite linear;
}

@keyframes rotate {
    50% {
        transform: rotate(280deg);
    }
}

#robot-shadow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scale(0.7);
    width: 100px;
    height: 30px;
    background-color: #abd;
    border-radius: 50%;
    animation: robotShadow 2s infinite ease;
}

@keyframes robotShadow {
    50% {
        transform: translateX(-50%) scale(1);
    }
}

@keyframes moveRobot {
    50% {
        transform: translateY(50px);
    }
}


/* ===== RESPONSIVE ===== */

@media (min-width: 1400px) {

    .logo {
        font-size: 34px;
    }

    .nav-menu a {
        padding: 14px 32px;
        font-size: 18px;
    }

    h1 {
        font-size: 88px;
    }

    p {
        font-size: 26px;
    }

    .robot {
        width: 340px;
    }

    button {
        padding: 20px 52px;
        font-size: 22px;
    }

    #sketch-board-con {
        transform: scale(1.25);
        transform-origin: center top;
    }
}

@media (max-width: 768px) {

    body {
        height: auto;
        min-height: 100vh;
        overflow-y: auto;
    }

    .navbar {
        flex-direction: column;
        gap: 12px;
        top: 12px;
    }

    .logo {
        position: static;
        left: auto;
        font-size: 24px;
    }

    .nav-menu {
        gap: 8px;
        padding: 8px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-menu a {
        padding: 10px 18px;
        font-size: 14px;
    }

    .hero {
        height: auto;
        min-height: 100vh;
        padding: 180px 20px 60px;
    }

    h1 {
        font-size: 44px;
        text-align: center;
    }

    p {
        font-size: 16px;
        text-align: center;
        margin: 12px;
    }

    .robot {
        width: 180px;
    }

    button {
        padding: 14px 32px;
        font-size: 16px;
    }

    #sketch-board-con {
        transform: scale(0.75);
        transform-origin: center top;
    }
}

@media (max-width: 600px) {

    nav {
        flex-direction: column;
    }

    .nav-btn {
        width: 90%;
        text-align: center;
        padding: 10px 15px;
        font-size: 14px;
    }

    .container {
        width: 95%;
        margin: auto;
    }
}

@media (max-width: 480px) {

    .logo {
        font-size: 20px;
    }

    .nav-menu {
        gap: 4px;
    }

    .nav-menu a {
        padding: 8px 14px;
        font-size: 13px;
    }

    h1 {
        font-size: 32px;
    }

    p {
        font-size: 14px;
    }

    .robot {
        width: 140px;
    }

    button {
        padding: 12px 26px;
        font-size: 14px;
        margin-top: 25px;
    }

    #sketch-board-con {
        transform: scale(0.5);
        transform-origin: center top;
    }
}
