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

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

:root {
    --black: #2f2f2f;
    --white: #fff;
    --red: #f83038;
}

.main {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(#1c1c1c, #323232);
    padding: 30px 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.main::before {
    content: 'Adventure';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16vw;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.05);
}

header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    min-width: 80px;
}

.navigation {
    display: flex;
}

.navigation li {
    list-style: none;
}

.navigation li a {
    position: relative;
    color: var(--white);
    margin-left: 40px;
    text-decoration: none;
    transition: 0.25s;
}

.navigation li a:hover {
    color: var(--red);
}

.content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 100px;
    z-index: 1;
}

.content h2 {
    font-size: 5em;
    font-weight: 300;
    color: var(--white);
    text-align: center;
}

.content h2 span {
    font-weight: 700;
}

.btn {
    display: inline-block;
    background-color: var(--red);
    color: var(--white);
    text-decoration: none;
    padding: 16px 36px;
    margin-top: 20px;
    border-radius: 50px;
    font-size: 1.25em;
    transition: 0.25s;
}

.btn:hover {
    letter-spacing: 4px;
}

.bike {
    max-width: 80%;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 30px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sci {
    display: flex;
}

.sci li {
    list-style: none;
}

.sci li a {
    color: var(--white);
    font-size: 2em;
    margin-right: 20px;
    transition: 0.25s;
}

.sci li a:hover {
    color: var(--red);
}

.dots {
    display: flex;
}

.dots .dot {
    width: 10px;
    height: 10px;
    background-color:rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
}

.dots .dot:not(:last-child) {
    margin-right: 10px;
}


.dots .dot.active {
    background-color: var(--white);
}

.slider .slides {
    position: absolute;
    width: 100%;
    top: 60%;
    left: 0;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    justify-content: space-between;
    padding: 0 100px;
    transition: 0.25s;
    opacity: 0;    
    pointer-events: none;
}

.slider .slides.active {
    opacity: 1;
    top: 50%;
}

.slider .slides h2 {
    color: var(--white);
    font-size: 3em;
}

.slider .slides h2:last-child {
    text-align: end;
}

.slider .slides h2 span {
    color: var(--red);
    font-size: 0.5em;
    font-weight: 400;
    font-style: italic;
}

/*Media*/
@media screen and (max-width: 991px) {
    
    .main {
        padding: 40px;
    }

    header {
        padding: 20px 40px;
    }

    .slider {
        position: relative;
        width: 100%;
        height: 180px;
    }

    .slider .slides {
        position: absolute;
        top: 50%;
        padding: 0;
        flex-direction: column;
        justify-content: center;
    }

    .slider .slides h2 {
        font-size: 2.5em;
        text-align: center;
    }

    .slider .slides h2:last-child {
        text-align: center;
    }

    .bike {
        max-width: 100%;
    }
    
    .footer {
        padding: 0 40px;
        position: relative;
        margin-top: 50px;
        flex-direction: column-reverse;
    }

    .sci {
        margin-top: 40px;
    }

    .content h2 {
        font-size: 3em;
    }

    .toggle {
        position: relative;
        width: 32px;
        height: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1000;
    }

    .toggle.active {
        position: fixed;
        top: 40px;
        right: 40px;
    }

    .toggle::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: var(--white);
        transform: translateY(-10px);
        transition: 0.25s;
        box-shadow: 0 10px var(--white);
    }

    .toggle.active::before {
        transform: translateY(0) rotate(45deg);
        box-shadow: none;
    }

    .toggle::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: var(--white);
        transform: translateY(10px);
        transition: 0.25s;
    }

    .toggle.active::after {
        transform: translateY(0) rotate(-45deg);
    }

    .navigation {
        display: none;
    }

    .navigation.active {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        z-index: 999;
        background-color: var(--black);
    }

    .navigation li a {
        font-size: 1.5em;
        margin: 10px 0;
        display: inline-block;
    }
}

@media screen and (max-width: 576px) {
    .main {
        padding: 10px;
        justify-content: space-between;
    }

    .main::before {
        display: none;
    }

    .logo {
        width: 100%;
        max-width: 90px;
    }

    .content {
        margin-top: 150px;
    }

    .content h2 {
        font-size: 2em;
    }

    .btn {
        padding: 12px 32px;
        margin-bottom: 36px;
    }

    .slider .slides h2 {
        font-size: 2em;
    }

    .footer {
        margin-top: 20px;
    }
}