*, *::before, *::after {
    box-sizing: border-box;
}

img {
    margin-top: 20px;
    max-width: 90%;
    height: auto;
}

body {
    background-color: rgb(90, 205, 243);
    text-align: center;
    font-family: Verdana;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

table.rosco-table {
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    border-collapse: separate;
    border-spacing: 0 5px;
    table-layout: fixed;
}

table.rosco-table td {
    text-align: center;
}

table.fino {
    width: 90%;
    max-width: 800px;
    margin: 30px auto;
    border-collapse: collapse;
    table-layout: auto;
    background-color: white;
    border: 5px solid gray;
}

table.fino td {
    padding: 14px 20px;
    vertical-align: top;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

table.fino td:first-child {
    font-weight: bold;
    width: 35%;
}

table.fino td:nth-child(2), table.fino td:nth-child(3) {
    width: 65%;
}

.table-ad-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 0 20px;
    margin-bottom: 50px;
    width: 100%;
    box-sizing: border-box;
    gap: 20px;
}

.ad-sidebar {
    min-width: 160px;
    max-width: 300px;
    flex: 1 1 160px;
    background-color: rgba(255, 255, 255, 0.1);
    min-height: 600px;
}

.ad-sidebar.left {
    display: flex;
    justify-content: flex-end;
}

.ad-sidebar.right {
    display: flex;
    justify-content: flex-start;
}

.rosco-table {
    flex: 0 1 1000px;
    width: 100%;
}

.naranja {
    background-color: lightsalmon;
    border: 2px solid orange;
    border-radius: 10px;
}

.azul {
    background-color: lightblue;
    border: 2px solid blue;
    border-radius: 10px;
}

.verde {
    background-color: lightgreen;
    border: 2px solid green;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    min-width: 35px;
    min-height: 35px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5px auto;
    font-weight: bold;
}

.azul a, .naranja a {
    text-decoration: none;
    color: inherit;
    display: block;
    padding: 8px 12px;
    width: 100%;
    box-sizing: border-box;
    word-break: break-word;
}

.azul a:hover, .naranja a:hover {
    text-decoration: underline;
}

@media (max-width: 1200px) {
    .table-ad-wrapper {
        flex-direction: column;
        align-items: center;
        padding: 0 10px;
    }
    .ad-sidebar {
        width: 100%;
        max-width: 728px;
        min-height: 90px;
        flex: none; /* Reset flex */
        margin: 10px 0;
    }
    .rosco-table {
        flex: none; /* Reset flex-basis acting as height */
        width: 100%;
    }
}

table.rosco-table tr td:first-child {
    width: 10%;
}

table.rosco-table tr td:nth-child(2), table.rosco-table tr td:nth-child(3) {
    width: 45%;
}

@media (max-width: 600px) {
    body {
        font-size: 14px;
    }
    
    .table-ad-wrapper {
        padding: 0 5px;
    }

    .verde {
        width: 30px;
        height: 30px;
        font-size: 0.9em;
    }

    .azul a, .naranja a {
        padding: 6px 8px;
    }
    
    table.rosco-table tr td:first-child {
        width: 15%;
    }
}

.fuera {
    color: #ffffff;
    text-align: center;
    border: 5px solid gray;
    border-radius: 10px;
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
    background-color: white;
    max-width: 800px;
}