/* @font-face {
    font-family: 'Noteworthy';
    src: url('./src/fonts/noteworthy.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
} */
/* @font-face {
    font-family: "Comic Relief", system-ui;
    font-weight: 700;
    font-style: normal;
} */

body {
    margin: 0;
    background-color: #1D1C1A;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: "Comic Relief", system-ui;
    font-weight: 400;
    font-style: normal;
}

.image {
    width: 220px;
    height: 300px;
    border-radius: 3%;
    box-shadow: -5px 5px 5px #171616;
}

.image-name {
    font-size: 20px;
    color: #FFF5EB;
}

.main {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    gap: 3rem;
    padding: 2rem;
    margin-bottom: 130px;
}

.child {
    width: 30%;
}

.div-first {
    text-align: center;
}

.div-second {
    text-align: left;
    color: #FFF5EB;
    font-size: 18px;
}

.footer-image {
    width: 20px;
    padding-left: 3px;
    padding-right: 3px;
}

.footer-image:hover {
    transform: scale(1.1);
    box-shadow: rgba(52, 51, 50, 0.8);
    transition: all 0.3s ease-in-out;
    border-radius: 2%;
}

.footer {
    position: fixed;
    bottom: 0;
    /* background-color: #1D1C1A; */
    background-color: #FFF5EB;
    width: 100%;
    text-align: center;
    color: #1D1C1A;
    height: 90px;
}

.footer-div {
    position: 50%;
}

/* Tablet Screens (Below 1024px) */
@media (max-width: 1024px) {
    .main {
        gap: 2rem;
    }

    .child {
        width: 40%;
    }
}

/* Mobile Screens (Below 768px) */
@media (max-width: 768px) {
    .main {
        flex-direction: column;
        /* Stack elements vertically */
        align-items: center;
        margin-bottom: 100px;
    }

    .child {
        width: 80%;
        /* Make sections take most of the width */
        text-align: center;
    }

    .div-second {
        text-align: center;
        font-size: 16px;
    }

    .footer {
        height: auto;
        padding: 15px 0;
    }

    .footer-image {
        width: 25px;
        /* Slightly bigger for mobile touch */
    }
}

/* Very Small Screens (Below 480px) */
@media (max-width: 480px) {
    .image {
        width: 180px;
    }

    .image-name {
        font-size: 18px;
    }

    .div-second {
        font-size: 14px;
        padding: 0 10px;
    }
}