* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
}

header {
    display: grid;
    background-color: #2c3350;
    color: white;
    padding: 1rem;
    text-align: center;
    grid-template-columns: 10px 1fr;
    grid-template-rows: 50px;
}

header h1 {
    grid-column: 2/3;
    grid-row: auto;
}

header p {
    grid-column: 2/3;
    grid-row: auto;
}

header img {
    grid-column: 1/2;
    grid-row: auto;
}

nav {
    display: flex;
    justify-content: center;
    background-color: #34385e;
}

nav a {
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    transition: background 0.3s ease;
}

nav a:hover {
    background-color: #121a21;
}

.content-wrapper {
    display: flex;
    background-image: linear-gradient(to top, #ffffff, #555a96);
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 2rem;
}

main {
    flex: 2;
    background-color: #8d99ff;
    box-shadow: 3px 3px 3px #35395e;
    text-align: center;
    padding: 1.5rem;
    max-width: 1200px;
    margin: auto;
}

main h1 {
    color: #0d0e17;
    padding-bottom: 30px;
}

main h2 {
    color: #0d0e17;
    padding-top: 30px;
}

section {
    display: flex;
    text-align: left;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #adb5ff;
    border: 1px solid #35395e;
    padding: 10px;
    box-shadow: 3px 3px 3px #35395e;
}

section ul {
    font-size: 1.2em;
    line-height: 25px;
}

footer {
    font-size: 75%;
    font-style: italic;
    text-align: center;
    font-family: Georgia, "Times New Roman", serif;
    padding: 2em;
    background-color: #ffffff;
}

#workout {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 25%;
    padding: 10px 0;
    text-align: center;
    z-index: 1000;
    border-radius: 100px;
}

@media (max-width: 1270px) {
    header img {
        display: block;
    }

    #workout {
        display: flex;
        width: 100%;
        height: 50px;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    ul {
        margin-top: 20px;
        margin-left: 20px;
    }
    
    footer {
        margin-bottom: 100px;
    }
}

@media (max-width: 750px) {
    header img {
        display: none;
    }

    #workout {
        display: none;
    }

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

    iframe {
        width: 100%;
        height: 300px;
    }

    ul {
        margin-top: 20px;
        margin-left: 20px;
    }
}