@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
    font-size: 16px;
    line-height: 1.5;
    color: #fff;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10%;
    background-color: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.logo {
    position: relative;
    font-size: 25px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

/* .logo::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
    animation: showRight 1s forwards;
    animation-delay: .4s;
} */

.navbar a {
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin-left: 35px;
    transition: .3s;
}

.navbar a:hover,
.navbar a:active {
    color: #00abf0;
    transition: 0.3s;
}

#menu-icon {
    display: none;
    font-size: 36px;
    color: #fff;
    cursor: pointer;
}

.home {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
}

.home-content {
    max-width: 600px;
}

.home-content h1 {
    position: relative;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
}

/* .home-content h1::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
    animation: showRight 1s forwards;
    animation-delay: 1s;
} */

.home-content h3 {
    position: relative;
    font-size: 32px;
    font-weight: 700;
    color: #00abf0;
}

/* .home-content h3::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
    animation: showRight 1s forwards;
    animation-delay: 1.3s;
} */

.home-content p {
    position: relative;
    font-size: 16px;
    margin: 20px 0 40px;
}

/* .home-content p::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
    animation: showRight 1s forwards;
    animation-delay: 1.6s;
} */

.home-content .btn-box {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 345px;
    height: 50px;
}

/* .home-content .btn-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
    animation: showRight 1s forwards;
    animation-delay: 1.9s;
    z-index: 2;
} */

.btn-box a {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-content: center;
    width: 150px;
    height: 100%;
    background: #00abf0;
    border: 2px solid #00abf0;
    border-radius: 8px;
    font-size: 19px;
    color: #081b29;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 1;
    overflow: hidden;
    transition: .5s;
}

.btn-box a:hover {
    color: #00abf0;
}

.btn-box a:nth-child(2) {
    background: transparent;
    color: #00abf0;
}

.btn-box a:nth-child(2):hover {
    color: black;
}

.btn-box a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
    z-index: -1;
    transition: .5s;
}

.btn-box a:hover::before {
    width: 100%;
}

.home-sci {
    position: absolute;
    bottom: 40px;
    width: 170px;
    display: flex;
    justify-content: space-between;
}

/* .home-sci::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
    animation: showRight 1s forwards;
    animation-delay: 2.5s;
    z-index: 2;
} */

.home-sci a {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid #00abf0;
    border-radius: 50%;
    font-size: 20px;
    color: #00abf0;
    text-decoration: none;
    z-index: 1;
    overflow: hidden;
    transition: 0.5s;
}

.home-sci a:hover::before {
    width: 100%;
}

.home-sci a:hover {
    color: #00abf0;
}

@keyframes showRight {
    100% {
        width: 0;
    }
}

@media (max-width: 768px) {
    #menu-icon {
        display: block;
    }

    .navbar {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(15, 32, 39, 0.95);
        flex-direction: column;
        align-items: center;
        display: none;
    }

    .navbar.active {
        display: flex;
    }

    .navbar a {
        margin: 10px 0;
    }

    .home-content .btn-box {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        height: auto;
        gap: 15px;
    }

    .btn-box a {
        width: 100%;
        text-align: center;
        padding: 14px 0;
        font-size: 16px;
    }

    .home-sci {
        position: relative;
        bottom: unset;
        margin-top: 30px;
        width: 100%;
        justify-content: center;
        gap: 16px;
        flex-wrap: wrap;
    }

    .home-sci a {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .home-content h1 {
        font-size: 32px;
    }

    .home-content h3 {
        font-size: 20px;
    }

    .home-content p {
        font-size: 14px;
    }

    .logo {
        font-size: 20px;
    }

    .navbar a {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .btn-box a {
        font-size: 14px;
        padding: 12px 0;
    }

    .home-sci a {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }
}
