* {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
}

body {
    background: url('../images/Backdrop_2025_Original.jpg');
    background-repeat: no-repeat;
    background-size: 100vw 100%;
    color: whitesmoke;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 85vh;
    padding-top: 150px;
}

.content {
    margin-top: 100px;
    display: grid;
    grid-template-areas:
        "certificate certificate"
        "main notice"
        "buttons buttons";
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr auto;
    width: 90%;
    gap: 15px;
    min-height: calc(100vh - 400px);
    padding-bottom: 100px;
    position: relative;
    top: 0;
    background: rgba(0, 0, 0, 0);
}

.certificate {
    grid-area: certificate;
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.5s ease-in;
}

.main {
    grid-area: main;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    line-height: 1.8;
}

.content-heading {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.5s ease-in;
}

.content-row {
    display: flex;
    flex-direction: row;
    font-size: 1.8rem;
    font-weight: 600;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 10;
    height: auto;
}

.content-row-input {
    min-width: 22rem;
    font-size: 1.8rem;
    font-weight: 600;
    padding: 0.5rem;
    border: none;
    border-radius: 5px;
    position: relative;
    text-align: center;
}

.notice-heading {
    font-size: 1.6rem;
    font-weight: 700;
    text-decoration: underline;
    color: rgb(206, 161, 224);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    top: 0;
    background: transparent;
    z-index: 1;
}

notice {
    grid-area: notice;
    margin: 0;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    line-height: 1.4;
    background: transparent;
    animation: fadeInUp 0.5s ease-in;
}

.notice-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.notice-column-left,
.notice-column-right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.buttons {
    grid-area: buttons;
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-top: 20px;
    animation: fadeInUp 0.5s ease-in;
}

.button-section-button {
    border: none;
    padding: 0.8rem 1.2rem;
    font-size: 1.4rem;
    font-weight: 700;
    background: rgb(106, 21, 139);
    border-radius: 1.2rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

    .button-section-button:hover {
        background: rgb(71, 12, 94);
        transform: scale(1.05);
    }

.para {
    margin-bottom: 0.2rem;
}


#full_name_404 {
    font-size: 1.1rem;
    font-weight: 500;
    color: #ff4d4d;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Media Queries */
@media (max-width: 1400px) {
    .content {
        width: 85%;
        grid-template-columns: 2fr 1fr;
    }

    .certificate {
        font-size: 2.5rem;
    }

    .content-heading {
        font-size: 2rem;
    }

    .content-row {
        font-size: 1.4rem;
    }

    .button-section-button {
        font-size: 1.1rem;
    }

    .notice {
        padding: 10px;
        max-height: 280px;
    }

    .notice-heading {
        font-size: 1.4rem;
    }

    .notice-row {
        font-size: 1rem;
    }
}

@media (max-width: 1024px) {
    .content {
        width: 90%;
        grid-template-columns: 1.5fr 1fr;
        grid-template-areas:
            "certificate certificate"
            "main notice"
            "buttons buttons";
    }

    .certificate {
        font-size: 2rem;
    }

    .content-heading {
        font-size: 1.8rem;
    }

    .content-row {
        font-size: 1.2rem;
    }

    .button-section-button {
        font-size: 1rem;
    }

    .notice {
        padding: 8px;
        max-height: 260px;
    }

    .notice-heading {
        font-size: 1.2rem;
    }

    .notice-row {
        font-size: 0.9rem;
    }
}

@media (max-width: 600px) {
    .content {
        width: 95%;
        grid-template-columns: 1fr;
        grid-template-areas:
            "certificate"
            "main"
            "notice"
            "buttons";
    }

    .certificate {
        font-size: 1.5rem;
    }

    .content-heading {
        font-size: 1.5rem;
    }

    .content-row {
        font-size: 1rem;
    }

    .button-section-button {
        font-size: 0.9rem;
    }

    .content-row-input {
        min-width: 15rem;
        font-size: 1rem;
    }

    .notice {
        padding: 6px;
        max-height: 240px;
    }

    .notice-heading {
        font-size: 1.1rem;
    }

    .notice-row {
        font-size: 0.8rem;
    }
}

@media (max-width: 500px) {
    .content {
        width: 95%;
        grid-template-columns: 1fr;
    }

    .certificate {
        font-size: 1.2rem;
    }

    .content-heading {
        font-size: 1.2rem;
    }

    .content-row {
        font-size: 0.9rem;
    }

    .button-section-button {
        font-size: 0.8rem;
    }

    .content-row-input {
        min-width: 10rem;
        font-size: 0.8rem;
    }

    .notice {
        padding: 5px;
        max-height: 220px;
    }

    .notice-heading {
        font-size: 1rem;
    }

    .notice-row {
        font-size: 0.7rem;
    }
}

@media (max-width: 400px) {
    .content {
        width: 95%;
    }

    .certificate {
        font-size: 1rem;
    }

    .content-heading {
        font-size: 1rem;
    }

    .content-row {
        font-size: 0.7rem;
    }

    .button-section-button {
        font-size: 0.7rem;
    }

    .content-row-input {
        min-width: 10rem;
        font-size: 0.7rem;
    }

    .notice {
        padding: 4px;
        max-height: 200px;
    }

    .notice-heading {
        font-size: 0.9rem;
    }

    .notice-row {
        font-size: 0.6rem;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
