.header-quote {
    display: block;
    font-style: italic;
    text-align: end;
}

.intro {
    margin-top: 30px;
}


/* OFFERS */

.offer {
    display: flex;
    margin-top: 100px;
}

.first-column,
.second-column {
    box-sizing: border-box;
}

.first-column {
    width: 50%;
}

.first-column .attraction-rank {
    font-size: var(--step-3);
    line-height: 130%;
    font-family: var(--font-headers);
    margin-right: 10px;
    vertical-align: super;
    display: inline;
}

.first-column h2 {
    display: inline;
    margin: 0;
}

.first-column a {
    text-decoration: underline;
}

.second-column {
    width: 40%;
    margin-left: 10%;
}

.second-column img {
    width: 100%;
}

.offer:nth-child(odd) {
    flex-direction: row-reverse;
}

.offer:nth-child(odd) .second-column {
    margin-left: 0;
    margin-right: 10%;
}

.offer-description {
    margin-top: 30px;
}

.offer-description ul {
    margin-top: 1em;
    margin-bottom: 1em;
}

.offer-description ul li {
    list-style-type: circle;
}

.visitor-info {
    margin-top: 30px;
}

.visitor-info div strong {
    font-weight: 700;
}

.visitor-info a {
    text-decoration: underline;
}

.visitor-info a::after {
    content: '';
    display: inline-block;
    margin-left: 8px;
    width: 14px;
    height: 14px;
    background: url('../images/icon-external-link.svg') no-repeat center;
    background-size: contain;
    vertical-align: middle;
}


/* END OFFERS */


/* BUTTON */

.button {
    position: relative;
    background-color: #000000;
    border: none;
    font-size: var(--step-0);
    color: #FFFFFF;
    width: 230px;
    height: 43px;
    transition-duration: 0.4s;
    text-decoration: none;
    overflow: hidden;
    cursor: pointer;
    border-radius: 4px;
}

.button-link {
    display: block;
    margin-top: 30px;
}

.button:after {
    content: "";
    background: #f1f1f1;
    display: block;
    position: absolute;
    padding-top: 300%;
    padding-left: 350%;
    margin-left: -20px !important;
    margin-top: -120%;
    opacity: 0;
    transition: all 0.8s;
}

.button:active:after {
    padding: 0;
    margin: 0;
    opacity: 1;
    transition: 0s;
}

.wrapper {
    max-width: 1216px;
    margin: auto;
    box-sizing: border-box;
}


/*END  BUTTON */


/* TABLE */

table tr th:nth-child(1),
table tr th:nth-child(3),
table tr th:nth-child(4),
table tr th:nth-child(5),
table tr td:nth-child(1),
table tr td:nth-child(3),
table tr td:nth-child(4),
table tr td:nth-child(5) {
    text-align: center;
}

table tr td:nth-child(3) img {
    width: 84px;
    height: 16px;
}

.full-width-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid black;
    border-radius: 4px;
    overflow: hidden;
}

.full-width-table a {
    text-decoration: underline;
}

.full-width-table th,
.full-width-table td {
    text-align: left;
    padding: 8px;
}

.full-width-table th {
    background-color: #f2f2f2;
}

.full-width-table tr:nth-child(even) {
    background-color: #d9d9d9;
}

.full-width-table th {
    background-color: black;
    color: #fff;
}

.rank {
    display: inline-block;
    width: 25px;
    height: 25px;
    line-height: 25px;
    border-radius: 50%;
    text-align: center;
    color: #fff;
    background-color: black;
    font-size: 16px;
}


/* END TABLE */


/* .offer {
    display: flex;
    margin-top: 100px;
    box-sizing: border-box;
}

.offer>div {
    flex: 1 1 50%;
    box-sizing: border-box;
    overflow: hidden;
}

.offer:nth-child(even) {
    flex-direction: row-reverse;
}

.offer:nth-child(even) .second-column {
    margin-right: 100px;
    margin-left: 0;
}

.offer:nth-child(odd) .second-column {
    margin-left: 100px;
    margin-right: 0;
} */


/* MOBILE */

@media (max-width: 800px) {
    table tr th:nth-child(1),
    table tr th:nth-child(3),
    table tr th:nth-child(4),
    table tr th:nth-child(5),
    table tr td:nth-child(1),
    table tr td:nth-child(3),
    table tr td:nth-child(4),
    table tr td:nth-child(5) {
        text-align: right;
    }
    .full-width-table {
        width: 100%;
    }
    .full-width-table,
    .full-width-table thead,
    .full-width-table tbody,
    .full-width-table th,
    .full-width-table td,
    .full-width-table tr {
        display: block;
    }
    .full-width-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    .full-width-table tr {
        border: 1px solid #ccc;
    }
    .full-width-table td {
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
        text-align: right;
    }
    .full-width-table td:before {
        position: absolute;
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: bold;
    }
    .mobile-head-names-tallest-buildings td:nth-of-type(1):before {
        content: "Rank";
    }
    .mobile-head-names-tallest-buildings td:nth-of-type(2):before {
        content: "Experience";
    }
    .mobile-head-names-tallest-buildings td:nth-of-type(3):before {
        content: "Burj Khalifa view";
    }
    .mobile-head-names-tallest-buildings td:nth-of-type(4):before {
        content: "Dubai view";
    }
    .mobile-head-names-tallest-buildings td:nth-of-type(5):before {
        content: "Value for money";
    }
    .wrapper {
        max-width: 96%;
    }
    .visitor-info {
        width: 100%;
    }
    .offer {
        align-items: center;
        margin-top: 50px;
    }
    .offer img {
        width: 100%;
        height: auto;
    }
    .button {
        margin-top: 20px;
    }
    .first-column {
        width: 100%;
    }
    .offer:nth-child(even) .second-column,
    .offer:nth-child(odd) .second-column {
        margin-right: 0;
        margin-left: 0;
    }
    .offer:nth-child(odd),
    .offer:nth-child(even) {
        flex-direction: column;
    }
    .button {
        width: 100%;
    }
    .button-link {
        margin-top: 20px;
        width: 100%;
    }
    .question__label {
        position: relative;
        padding-right: 40px;
    }
    .question__label::after {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translate(0%, -50%) rotate(90deg);
    }
    .question__content p {
        padding: 1rem 40px 0 0;
    }
}


/* END MOBILE */