@import url('https://fonts.googleapis.com/css2?family=Nunito&display=swap');

body {
    padding: 0;
    margin: 0;
    transition: all .5s;
    background-color: var(--default-bg);
}

a {
    text-decoration: none;
}
ul {
    list-style: none;
    padding: 0;
}

* {
    font-family: 'Nunito', sans-serif;
    color: var(--default-color-active);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

:root {
    --default-container: #fff;
    --default-color: #e7e7e7;
    --default-color-active: #000;
    --primary: #5865f2;
    --default-bg: #f0f8ff;
    --default-shadow: #111;
}

section {
    margin-top: 125px;
}

/* Change theme */

.theme {
    display: flex;
    margin-left: auto;
    cursor: pointer;
}

/* Header */

.header .container {
    padding: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.logo img {
    width: 60px;
    border-radius: 50%;
}

.menu {
    width: 100%;
}

.menu ul {
    margin-left: 50px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.menu-item {
    margin-right: 25px;
}

.menu-item a {
    color: var(--default-color);
}

.menu-item.active a {
    color: var(--default-color-active);
    font-weight: 600;
}

/* Hero */

.hero-container {
    display: flex;
    justify-content: center;
    text-align: center;
}

.hero-title {
    font-size: 38px;
    font-weight: 700;
}

.hero-text {
    font-size: 18px;
}

.hero-actions {
    margin-top: 20px;
}

.hero-actions .btn {
    margin-right: 10px;
}

.section-info {
    text-align: center;
}

.title {
    font-weight: 700;
    font-size: 18px;
    color: var(--primary);
}

.subtitle {
    font-weight: 600;
    font-size: 24px;
}

.subtitle span {
    position: relative;
}

.subtitle span::after {
    position: absolute;
    left: 0;
    bottom: -4px;
    border-radius: 4px;
    content: "";
    width: 100%;
    height: 4px;
    background-color: var(--primary);
}

/* buttons */

.btn {
    padding: 10px 20px;
    border: 1.5px solid transparent;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    transition: background-color .5s ease;
}
.btn.primary {
    border: 1.5px solid var(--primary);
    color: var(--primary);
}
.btn.primary:hover {
    color: var(--default-color-active);
    background-color: var(--primary);
}

.btn.default {
    border: 1.5px solid var(--primary);
    background-color: var(--primary);
    color: var(--default-color-active);
}

/* Adventures */

.adventures-list {
    display: flex;
    max-width: 580px;
    margin: 0 auto;
}

.adventures-list ul {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.adventure {
    display: flex;
    flex-direction: column;
    background-color: var(--default-container);
    padding: 35px 15px;
    height: 100px;
    border-radius: 7px;
    align-items: center;
    box-shadow: 2px 2px 8px var(--default-shadow);
}

.adventure-title {
    display: flex;
    font-size: 26px;
    font-weight: 600;
    position: relative;
}

.adventure-title::after {
    content: "";
    width: 100%;
    height: 3px;
    bottom: 0;
    left: 0;
    position: absolute;
    background-color: var(--primary);
}

.adventure-content {
    margin-top: 10px;
    text-align: center;
    display: flex;
    max-width: 250px;
    font-weight: 500;
}

/* Stats */

.stats {
    display: flex;
    justify-content: center;
}

.stats ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.stats-item {
    background-color: var(--default-container);
    padding: 20px 30px;
    position: relative;
    font-size: 18px;
    display: flex;
    text-align: center;
    justify-content: center;
    border-radius: 5px;
    box-shadow: 1px 1px 6px #111111;
    width: 170px;
}

/* Media */

@media (max-width: 420px) {
    .hero-actions {
        display: flex;
        flex-direction: column;
    }
    .hero-actions .btn {
        margin-top: 10px;
    }
}

@media (max-width: 588px) {
    .adventures-list {
        display: flex;
        justify-content: space-around;
    }
    .adventures-list ul {
        display: flex;
        flex-direction: column;
    }
}