@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Permanent+Marker&display=swap');

body {
    font-family: "Open Sans", serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    color: #22313f;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.6;
    background-color: #f5f5f5;
}

header {
    background-image: linear-gradient(to top, #30cfd0 0%, #330867 100%);
    ;
    color: #faf5e4;
    text-align: center;
    padding: 2rem 1rem;
}

header h1 {
    font-family: "Permanent Marker", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 2.5rem;
    margin: 0;
}

header p {
    font-size: 1.2rem;
    margin: 0.5rem 0 0;
}

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

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.card {
    background: white;
    border-radius: 8px;
    border-style: groove;
    border-width: 1px;
    border-color: #a9b7ed;
    box-shadow: 5 5px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card img {
    width: 100%;
    height: auto;
    max-width: 100%;
}

.card .content {
    padding: 1rem;
}

.card h3 {
    font-family: "Permanent Marker", serif;
    font-weight: 100;
    font-style: normal;
    margin: 0.5rem 0;
    font-size: 1.5rem;
}

.card p {
    margin: 0.5rem 0 0;
    font-size: 1rem;
    color: #555;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

iframe {
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: 8px;
    margin-top: 1rem;
    border-style: groove;
    border-width: 1px;
    border-color: #a9b7ed;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    background: white;
    border-radius: 8px;
    border-style: groove;
    border-width: 1px;
    border-color: #a9b7ed;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

thead {
    background: #007bff;
    color: white;
}

th,
td {
    padding: 1rem;
    text-align: left;
}

tbody tr:nth-child(even) {
    background: #f9f9f9;
}

tbody tr:hover {
    background: #efefef;
}

footer {
    text-align: center;
    padding: 1rem;
    background: #22313f;
    color: white;
    font-size: 0.9rem;
    margin-top: 2rem;
}

a {
    color: floralwhite;
    font-weight: 500;
    text-decoration: none;
}

a:hover {
color: rgb(160, 231, 89);
text-decoration: underline;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    header p {
        font-size: 1rem;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .card h3 {
        font-size: 1.2rem;
    }

    .card p {
        font-size: 0.9rem;
    }

    iframe {
        height: 300px;
    }

    table th,
    table td {
        padding: 0.8rem;
    }

    footer {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5rem;
    }

    header p {
        font-size: 0.9rem;
    }

    .card h3 {
        font-size: 1rem;
    }

    .card p {
        font-size: 0.8rem;
    }

    iframe {
        height: 250px;
    }

    table th,
    table td {
        padding: 0.6rem;
    }
}