@import "reset.css";
@import "fonts.css";
@import "layout.css";
@import "adaptive.css";
@import "animation.css";


.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    animation: fadeIn 0.3s ease-in-out;
}

.modal-content {
    position: relative;
    width: 80%;
    max-width: 63vw;
    margin: 3vw auto;
    background-color: transparent;
    padding: 2vw;
    animation: slideIn 0.3s ease-in-out;
}

.modal-image {
    width: 100%;
    height: auto;
    border-radius: 1vw;
    box-shadow: 0 0 2vw rgba(0, 0, 0, 0.3);
}

.text-input {
    position: absolute;
    top: 56%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 50%;
    width: 61%;
    padding: 2vw;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 1vw;
    font-size: 2vw;
    text-align:start;
    z-index: 1001;
    
}

.close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 1002;
    transition: transform 0.2s;
}

.close-button:hover {
    transform: scale(1.1);
}

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

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.section1 {
    cursor: pointer;
    transition: transform 0.2s;
}

.section1:hover {
    transform: scale(1.02);
}

.podval {
    position: relative;
    animation: slideInFromLeft 2s ease-out;
    width: 100%;
    max-width: 100%;
    height: auto;
}

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}