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

body {
    font-family: 'Cabin', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: black;
}

h1 {
    text-align: center;
    text-transform: uppercase;
}

h2 {
    font-size: 28px;
    padding-top: 2%;
    padding-bottom: 1%;
}

h3 {
    font-size: 24px;
    padding-top: 2%;
}

body p {
    font-size: 20px;
    padding-top: 1%;
}

header {
    position: fixed;
    min-width: 100%;
    padding: 3% 10% 3% 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: black;
    color: white;
}

.header-title a {
    font-size: 24px;
    text-transform: uppercase;
    font-weight: bold;
    color: inherit;
    text-decoration: none;
}

header nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    text-transform: uppercase;
}

header nav ul li {
    margin: 0 3%;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    border: 2px solid transparent;
    border-radius: 5px;
    transition: border-color 0.3s;
}

header nav ul li a:hover {
    border-color: white;
    background-color: transparent;
}

main {
    padding-top: 7%;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1% 0;
}

th, td {
    border: 1px solid black;
    padding: 1%;
    text-align: center;
    width: 50%;
}

th {
    background-color: #c5c4c4;
}

.container {
    flex-grow: 1;
    width: 100%;
    padding: 0 10%;
    display: flex;
    flex-wrap: wrap;
    gap: 1%;
    justify-content: space-between;
    background-color: black;
    color: white;
}

.block {
    background-color: black;
    padding: 1%;
    margin: 1% 0;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    text-transform: uppercase;
    flex: 1 1 20%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.block img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    transition: filter 0.3s ease;
}

.block:hover img {
    filter: brightness(40%);
}

.block-title {
    cursor: pointer;
    padding: 2% 0;
}

.block-content {
    max-height: 0;
    color: white;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.block-content.expanded {
    max-height: 50%;
}

.block-content a {
    list-style: disc;
    padding: 3%;
    display: block;
    color: white;
    text-transform: none;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 5px;
    transition: border-color 0.3s;
}

.block-content a:hover {
    border-color: white;
    background-color: transparent;
}

.page-content {
    padding: 1% 20%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background-color: black;
    color: white;
}

.page-content a {
    color: white;
    text-decoration: none;
}

.blog-content {
    padding: 2% 20% 2% 20%;
    text-align: left;
    background-color: white;
    color: black;
}

.blog-content ul {
    font-size: 18px;
    padding: 1% 0 1% 4%;
}

.blog-content img {
    height: auto;
    max-width: 80%;
    margin: 1% 0;
}

.blog-content a {
    text-decoration: none;
    color: #9f0000ff;
}
.blog-content a:hover {
    text-decoration: none;
    color: rgb(214, 0, 0);
    font-weight: bold;
}

.blog-content-centered {
    padding: 2% 20% 2% 20%;
    text-align: center;
    background-color: white;
    color: black;
}

.blog-content-centered h2 {
    padding: 1% 0 0 0;
}

.info-item {
    flex: 1 1 33%;
    text-align: center;
}

.info-item h2 {
    margin-bottom: 2%;
}

.info-item a {
    text-decoration: none;
    color: #9f0000ff;
}

.info-item a:hover {
    text-decoration: none;
    color: rgb(214, 0, 0);
    font-weight: bold;
}

.image-links {
    display: flex;
    justify-content: center;
    margin-top: 3%;
}

.social-icon {
    width: 70px;
    height: auto;
    margin: 0 2px;
    border: 2px solid transparent;
    border-radius: 5px;
    transition: border-color 0.3s;
}

.social-icon:hover {
    border-color: white;
    background-color: transparent;
    transform: scale(1.2);
}

.app-content {
    padding: 2% 30% 2% 30%;
    text-align: center;
    background-color: black;
    color: white;
}

.app-content input[type="text"] {
    width: 300px;
    padding: 12px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 15px;
    background-color: #f9f9f9;
    font-size: 16px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    outline: none;
}

.app-content button {
    background-color: #9f0000ff;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.app-content button:hover {
    background-color: rgb(214, 0, 0);
    font-weight: bold;
}

.app-content span {
    display: inline-block;
}

@media (max-width: 768px) {
    header nav ul li {
        margin: 10px 0;
    }

    main {
        padding-top: 15%;
    }

    .blog-content {
        padding: 20% 5% 20% 5%;
        text-align: left;
        background-color: white;
        color: black;
    }

    .blog-content-centered {
        padding: 20% 5% 20% 5%;
        text-align: center;
        background-color: white;
        color: black;
    }

    .page-content {
        padding: 10% 5%;
        display: flex;
        flex-direction: column;
        background-color: black;
        color: white;
    }
    
    .info-item {
        flex: none;
        margin-bottom: 5%;
    }

    .app-content {
        padding: 5% 10% 5% 10%;
        text-align: center;
        background-color: black;
        color: white;
    }

    .block {
        flex: 1 1 100%;
    }
}
