main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(-45deg, #ECFDF5 , #ffffff 50%);
    gap: 40px;
    padding: 40px;
}

main h1 {
    font-size: 2vw;
}

.info-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    gap: 60px;
    padding-bottom: 100px;
}

.info-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 25%;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    gap: 10px;
    padding-bottom: 10px;
    background-color: #ffffff;
    transition: transform 0.3s ease;
}

.info-block img {
    width: 100%;  
    height: 40vh;
    padding-bottom: 20px;
    object-fit: cover;
    object-position: top;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;  
}

.info-block h1 {
    font-size: 1.4vw;
    width: 80%;
}

.info-block button, .info-block a {
    cursor: pointer;
    text-decoration: none;
    border: none;
    padding: 15px 60px;
    border-radius: 5px;
    font-size: 1.2rem;
    background: linear-gradient(-45deg, #61CC50, #153885);
    color: #ffffff;
    margin: 10px;
    transition: transform 0.3s ease;
    font-size: 1.2vw;
}

.info-block a:hover {
    transform: scale(1.1);
}

.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
    padding: 40px;
    box-sizing: border-box;
}

.modal img {
    display: block;
    margin: auto;
    max-width: 80vw;
    border-radius: 8px;
    box-shadow: 0 0 10px #fff;
}

#hidden-block {
    visibility: hidden;
}

@media (max-width: 768px) {
    .info-row {
        flex-direction: column;
    }

    .info-block {
        width: 100%;
    }
}