@font-face {
    font-family: peach;
    src: url(./assets/fonts/Peach\ Daisy.ttf);
}

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

body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    background-color: rgb(255, 238, 204) !important;
    font-family: peach;
}

section {
    width: 100%;
    height: 100%;
    padding-bottom: 30px;
}

.container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    background: rgb(255, 238, 204);
}

.header {
    height: max-content;
    flex-shrink: 0;
    padding-block: 1rem;
    width: 100%;
}

.header img {
    display: block;
    height: 250px;
    width: 250px;
    margin-inline: auto;
   
}

.content {
    width: 100%;
    height: 100%;
    padding-inline: 30px;
    flex-grow: 1;
}

.slider {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.cardd {
    border-radius: 2rem;
    overflow: hidden;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    place-items: center;
    height: 100%;
    position: relative;
    cursor: pointer;
    gap: 10px;
}

.cardd.active {
    background: rgb(255, 255, 255) !important;
    background: linear-gradient(180deg, rgba(243, 130, 13, 1) 50%, rgba(255, 0, 0, 1) 100%) !important;
}

.cardd .img-wrapper {
    width: 80%;
    height: 80%;
    border-radius: 2rem;
    overflow: hidden;
    margin: auto;
    margin-bottom: 0;
}

.cardd img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cardd .title {
    flex-shrink: 0;
    font-size: 40px;
    font-weight: 900;
    color: rgba(243, 130, 13, 1);
}

.cardd.active .title {
    color: white;
}

@media (max-width: 768px) {
    .slider {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}


/* Further adjustments for even smaller screens */

@media (max-width: 480px) {
    .slider {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .content {
        padding-inline: 10px;
    }
    .cardd {
        height: 450px;
        border-radius: 10px;
    }
    .cardd .title {
        font-size: 30px;
        font-weight: 600;
    }
}