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

.logo {
    position: absolute;
    right: 37.238px;
    top: 24px;
    width: 209.762px;
    height: 244px;
    aspect-ratio: 209.76/244.00;
    margin-bottom: 2rem;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
    padding: 20px;
    background-image: url("../img/bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

main {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    padding: 1rem;
}

.title-container {
    display: flex;
    flex-direction: column;
    padding: 20px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 20px;
    background: #FFF;
    width: 100%;
    flex-wrap: wrap;
    text-align: center;
}

.title-container h1 {
    color: #803C1D;
    font-family: Inter, sans-serif;
    font-size: clamp(18px, 4vw, 24px);
    font-weight: 500;
}

.title-container a {
    color: #DC743D;
    font-family: Inter, sans-serif;
    font-size: clamp(18px, 4vw, 24px);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
}

.image-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: clamp(15px, 3vw, 30px);
    border-radius: 20px;
    border: 6px solid #DC743D;
    background: #FFF5EA;
}

.image-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.image-container p {
    color: #DC743D;
    font-family: Inter, sans-serif;
    font-size: clamp(24px, 5vw, 48px);
    font-weight: 500;
}

.button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;

    a {
        text-decoration: none;
    }
}

.button-dl {
    border: none;
    cursor: pointer;
    display: flex;
    padding: clamp(10px, 2vw, 20px) clamp(20px, 4vw, 40px);
    align-items: center;
    gap: 10px;
    border-radius: 50px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    color: #FFF;
    font-family: Inter, sans-serif;
    font-size: clamp(16px, 3vw, 24px);
    font-weight: 700;
    white-space: nowrap;
}

.button-delete {
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    color: red;
    font-family: Inter, sans-serif;
    font-size: clamp(14px, 2vw, 18px);
    font-weight: 700;
    white-space: nowrap;
    background: none;
    text-decoration: underline;
}

.button-dl {
    background: #4CAF50;
}

.button-dl:hover {
    background: #156b17;
}

.button-dl {
    text-decoration: none;
    color: #FFF;
}

.title-container {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-overlay.show {
    display: flex;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    transform: scale(0.7);
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.modal-overlay.show .modal-content {
    transform: scale(1);
    opacity: 1;
}

.modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px;
    border-radius: 20px;
    border: 6px solid #dc743d;
    background: #fff5ea;
    max-width: 500px;
    text-align: center;
}

.modal-content h2 {
    color: #dc743d;
    font-family: "Comic Sans MS", sans-serif;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.modal-content p {
    color: #000;
    font-family: "Comic Sans MS", sans-serif;
    font-size: 24px;
    margin-bottom: 30px;
}

.modal-buttons {
    display: flex;
    gap: 20px;
}

.cancel-button, .confirm-button {
    padding: 15px 40px;
    border-radius: 15px;
    border: none;
    font-family: "Comic Sans MS", sans-serif;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.cancel-button {
    background-color: #ebebeb;
    color: #000;
}

.cancel-button:hover {
    background-color: #e5e6e5;
}

.confirm-button {
    background-color: #e57373;
    color: white;
}

.confirm-button:hover {
    background-color: #A11212FF;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.info {
    color: #fff;
    text-decoration: underline;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .logo {
        width: 150px;
        height: auto;
        position: inherit;
    }

    .button-container {
        flex-direction: column;
        align-items: stretch;
    }

    .button-delete, .button-dl {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    main {
        gap: 1rem;
    }

    .title-container {
        padding: 15px;
    }

    .image-container {
        gap: 15px;
        border-width: 4px;
    }

    .logo {
        width: 120px;
        margin-bottom: 1rem;
    }
}