﻿@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;800&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    overflow-y: scroll;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #f2c09b;
    line-height: 1.6;
}

.topnav {
    display: flex;
    background-color: #006d84;
    justify-content: space-between; /* Ensure space is evenly distributed */
    width: 100%;
    max-width: 735px;
    margin: 5px auto;
}

    .topnav a {
        flex: 1;
        color: #f2f2f2;
        text-align: center;
        padding: 14px 0;
        text-decoration: none;
        font-size: 20px; 
    }

        .topnav a:hover {
            background-color: #ddd;
            color: black;
        }

        .topnav a.active {
            background-color: #e53118;
            color: white;
        }

.container {
    max-width: 735px;
    margin: 5px auto;
    padding: 10px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/*
#content {
    padding: 16px;
}
*/

h1, h2, h3 {
    margin-bottom: 10px;
    text-align: center;
    color: #006d84;
    padding: 4px;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.5rem;
}

h3 {
    font-size: 1rem;
}

.block {
    display: flex;
    flex-direction: column;
    background-color: #f9f9f9; /* Alternate background color */
        padding: 20px;
        border-radius: 5px;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
        margin-bottom: 20px;
    }

    .block::after {
        content: "";
        display: table;
        clear: both;
    }

.puzzle {
    margin-bottom: 10px;
}

    .puzzle img {
        display: block;
        width: 100%;
        height: auto;
        border: 1px solid #ddd;
        border-radius: 5px;
        transition: transform 0.3s ease;
    }

        .puzzle img:hover {
            transform: scale(1.05);
        }

.video {
    margin-top: 10px;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    margin-bottom: 10px;
    overflow: hidden;
}

    .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
        border-radius: 5px;
    }

.social-icons {
    text-align: center; /* Center align the content horizontally */
    margin-top: 5px;
    margin-left: 10px;
}

    .social-icons h1 {
        font-size: 1.2rem; /* Adjust font size as needed */
        margin-bottom: 10px; /* Add space below the heading */
        /* margin-right: 545px; */ 
    }

.icons-container {
    display: flex;
    justify-content: center; /* Center align the icons horizontally */
    gap: 10px;
    /* margin-right: 595px; */
}

    .icons-container a {
        display: block;
        width: 40px;
        height: 40px;
        text-indent: -9999px; /* Hide text */
        background-repeat: no-repeat;
    }

    .icons-container .mastodon {
        background-image: url('../images/Mastodon_logo.png');
    }

    .icons-container .instagram {
        background-image: url('../images/Instagram_logo.png');
    }

    .icons-container .facebook {
        background-image: url('../images/Facebook_logo.png');
    }

@media screen and (max-width: 768px) {
    .topnav.responsive {
        position: relative;
        width: 100%; /* Ensure full width for responsive */
    }

        .topnav.responsive a {
            float: none;
            display: block;
            text-align: left;
        }

        .topnav.responsive .active {
            display: block;
            text-align: left;
        }

    .topnav {
        max-width: 567px;
        margin: 0 auto;
    }

        .topnav a {
            font-size: 16px;
            padding: 10px 0;
        }

    /*
    #content {
        padding: 16px;
    }
    */

    .container {
        max-width: 567px;
        margin: 0 auto;
        padding: 8px;
    }

    h1, h2, h3 {
        margin-bottom: 5px;
        padding: 2px;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1rem;
    }

    h3 {
        font-size: 0.7rem;
    }

    .social-icons {
        margin-top: 5px;
        margin-right: 12px;
    }

        .social-icons h1 {
            font-size: 1rem; /* Adjust font size as needed */
            margin-bottom: 0px;
            /* margin-right: 400px; */
        }

    .icons-container {
        gap: 10px;
        /* margin-right: 453px; */
    }

        .icons-container a {
            width: 30px;
            height: 30px;
        }

        .icons-container .mastodon {
            background-image: url('../images/Mastodon_logo_30x30.png');
        }

        .icons-container .instagram {
            background-image: url('../images/Instagram_logo_30x30.png');
        }

        .icons-container .facebook {
            background-image: url('../images/Facebook_logo_30x30.png');
        }
}


@media screen and (max-width: 480px) {
    .topnav {
        max-width: 420px;
        margin: 0 auto;
    }

        .topnav a {
            font-size: 14px;
            padding: 6px 0;
        }

    /*
    #content {
        padding: 16px;
    }
    */

            .container {
        max-width: 420px;
        margin: 0 auto;
        padding: 6px;
    }

    h1, h2, h3 {
        margin-bottom: 10px;
        padding: 2px;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1rem;
    }

    h3 {
        font-size: 0.7rem;
    }

    .social-icons {
        margin-top: 5px;
    }

        .social-icons h1 {
            font-size: .9rem; /* Adjust font size as needed */
            margin-bottom: 3px; /* Add space below the heading */
            /* margin-right: 200px; */
        }

    .icons-container {
        gap: 10px;
        /* margin-right: 230px; */
    }

        .icons-container a {
            width: 20px;
            height: 20px;
        }

        .icons-container .mastodon {
            background-image: url('../images/Mastodon_logo_20x20.png');
        }

        .icons-container .instagram {
            background-image: url('../images/Instagram_logo_20x20.png');
        }

        .icons-container .facebook {
            background-image: url('../images/Facebook_logo_20x20.png');
        }
}

@media screen and (max-width: 414px) {
    .topnav {
        max-width: 336px;
        margin: 0 auto;
    }

        .topnav a {
            font-size: 12px;
            padding: 5px 0;
        }

    /*
    #content {
        padding: 16px;
    }
    */

    .container {
        max-width: 336px;
        margin: 0 auto;
        padding: 5px;
    }

    h1, h2, h3 {
        margin-bottom: 5px;
        padding: 2px;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1rem;
    }

    h3 {
        font-size: 0.7rem;
    }

    .social-icons {
        margin-top: 5px;
    }

        .social-icons h1 {
            font-size: .7rem; /* Adjust font size as needed */
            margin-bottom: 0px; /* Add space below the heading */
            /* margin-right: 200px; */
        }

    .icons-container {
        gap: 10px;
        /* margin-right: 230px; */
    }

        .icons-container a {
            width: 20px;
            height: 20px;
        }

        .icons-container .mastodon {
            background-image: url('../images/Mastodon_logo_20x20.png');
        }

        .icons-container .instagram {
            background-image: url('../images/Instagram_logo_20x20.png');
        }

        .icons-container .facebook {
            background-image: url('../images/Facebook_logo_20x20.png');
        }
}
