@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --red1: #FF6666;
    --red2: #FF8989;
    --red3: #FCAEAE;
    --light: #FFEADD;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Noto Serif", serif;
}

body {
    background-color: var(--light);
}

nav {
    background-color: var(--red2);
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
}

nav .hamburger {
    color: var(--light);
    font-size: 1.5rem;
    display: none;
    cursor: pointer;
}

nav h1 a {
    text-decoration: none;
    color: white;
    font-size: 1.35rem;
}

nav ul {
    list-style-type: none;
    overflow: hidden;

    display: flex;

}

nav ul .close {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 1.5rem;
    color: var(--light);
    display: none;
    cursor: pointer;
}

nav ul li a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    border-radius: 30px;

    transition: all 0.5s ease-in-out;

}

nav ul li a:hover {
    background-color: var(--red3);
}

nav ul li a.active {
    background-color: var(--red1);
}

footer {
    background-color: var(--red2);
    padding: 8px 20px;
    text-align: center;
    color: var(--light);
    font-size: 0.9rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    min-height: calc(100vh - 109px);
    padding: 2.5rem 0;
}

.hero {
    /* background-image: url('../img/hero.jpg'); */
    background-color: var(--light);
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--red1);
    text-align: center;
    padding: 2.5rem 20px;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero p {
    max-width: 768px;
}

.content h2 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--red1);
}

.box {
    background-color: var(--red3);
    border-radius: 12px;
    color: #000;
    height: 100%;
    padding: 1rem;
}

.before {
    padding: 1rem 1rem 1rem 2.5rem;
}

.content .box h2 {
    color: #000;
    margin-bottom: 12px;
    text-align: center;
}

.during {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.during .text {
    text-align: center;
}

.during .text h2 {
    font-size: 1.25rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.during .text ul {
    text-align: start;
}

.compression ol, .breath ol {
    list-style-type: decimal;
    margin-left: 1.5rem;
}

.compre-desc, .airway-desc, .breath-desc {
    text-align: center;
    margin-bottom: 1rem;
}

.extra-info {
    margin-top: 1rem;
}

.gallery h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    color: var(--red1);
}

.row {
    display: flex;
    flex-wrap: wrap;
    /* margin-bottom: 2rem; */
}

.row .col {
    padding: 0.5rem;
}

.row .col-6 {
    width: 50%;
}

.row .col-12 {
    width: 100%;
}

.row .col-4 {
    width: 33.33%;
}

.row .col-3 {
    width: 25%;
}

.gallery .row img {
    width: 100%;
    border-radius: 10px;
    border: 3px solid var(--red2);
}

.yt-title {
    margin-top: 1.25rem;
}

.row .col iframe {
    aspect-ratio: 16/9;
}

.about h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    color: var(--red1);
}

.profiles {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 1rem;
}

.profile {
    padding: 1rem;
    border-radius: 12px;
    background-color: var(--red3);
    text-align: center;
    width: 45%;
    min-width: 300px;
    max-width: 550px;
}

.profile img {
    width: 35%;
    border-radius: 50%;
    margin-bottom: .5rem;
}

.profile a {
    color: var(--light);
    text-decoration: none;
}

.profile .hobbies {
    margin-top: 1rem;
    font-size: .9rem;
    text-align: start;
}

.profile .hobbies li {
    margin-left: 2rem;
}

/* media qyuery */
@media screen and (max-width: 768px) {
    nav .hamburger {
        display: block;
    }

    nav ul {
        /* display: none; */
        position: fixed;
        top: 0;
        right: -100%;
        bottom: 0;
        width: 50%;
        min-width: 300px;

        display: flex;
        flex-direction: column;
        background-color: var(--red3);
        padding: 75px 12px 12px;

        transition: all 0.5s ease-in-out;
    }

    nav ul.active {
        right: 0;
    }

    nav ul .close {
        display: block;
    }

    nav ul li {
        display: block;
        text-align: center;
    }

    nav ul li a {
        padding: 10px;
        font-size: 1.25rem;
    }

    nav ul.active {
        display: block;
    }

    section {
        min-height: calc(100vh - 92px);
    }

    .hero h1 {
        font-size: 2rem;
    }
    
    .row .col-6 {
        width: 100%;
    }
}

/* for smaller screen */
@media screen and (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }
}