﻿html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Noto Sans', sans-serif;
}

.modal-container {
    height: 100%;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.modal-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    height: 100%;
    padding: 0;
    box-sizing: border-box;
}

.modal-section {
    padding: 10px;
    box-sizing: border-box;
}

    .modal-section p {
        margin: 0 0 0 25px;
        padding: 0;
        line-height: 1.1;
    
    }

/*.red-section p {
    margin: 5px 0;
    margin-left: 15%;
}*/

.firts {
    font-size: 60px;
    font-weight: bold;
    color: grey;
}

.second {
    font-size: 70px;
    font-weight: bold;
    color: #e7d295;
}

.green-section {
    display: flex;
    flex-direction: column;
    background-image: url('/img/modalz.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom-right-radius: 10px;
    overflow: hidden;
}

.green-text {
    margin: 0;
    font-size: 1.5rem;
    text-align: center;
}

.green-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
    flex: 1;
}

.green-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 38px;
    margin-bottom: 25px;
}

.green-box {
    background-color: #bc955c;
    border-radius: 10px;
    border: 1px solid #bc955c;
    width: 85%;
    height: 115px;
}

.sectwo {
    text-align: center;
    color: #611232;
    margin: 0;
    font-size: 1.5rem;
}

/*Responsive para pantallas móviles */
@media (max-width: 768px) {
    .modal-grid {
        grid-template-columns:1fr 1fr;
        grid-template-rows: auto auto;
       
    }

    .firts {
        font-size: 16px;
        text-align: center;
    }

    .second {
        font-size: 20px;
        text-align: center;
    }

    .red-section p {
        margin-left: 0;
    }

    .green-box {
        height: 70px;
        width: 90%;
    }

    .green-item {
        gap: 8px;
    }

    .green-text, .sectwo {
        font-size: 1rem;
    }
}
