* {
    padding: 0;
    margin: 0;
}

body {
    font-family: 'Open Sans';
    text-transform: uppercase;
    color: white;
}

.home {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url("../img/background.png");
    background-repeat: no-repeat;
    background-size: cover;
    overflow-y: auto;
    overflow-x: hidden;
}

.home-content {
    width: 100%;
    height: max-content;
    display: grid;
    grid-template-columns: 1fr 2.5fr;
    gap: 10%;
    margin-top: auto;
    margin-bottom: 50px;
}

.wrapper {
    width: 90%;
    min-height: 100vh;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.main-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.slogan h1 {
    font-family: DINPro-CondensedBlack;
    font-size: 112px;
    line-height: 125px;
}

.slogan-description span {
    font-size: 14px;
    text-transform: none;
}

.see-more {
    padding-top: 20px
}

.see-more button {
    background: none;
    border: solid 2px white;
    padding: 15px 45px;
    text-transform: uppercase;
    font-size: 12px;
    font-family: 'Open Sans';
    color: white;
    border-radius: 25px;
    cursor: pointer;
}

.slider {
    width: 109%;
    display: grid;
    grid-template-rows: 4fr 0.8fr;
    gap: 50px;
    position: relative;
    max-width: none;
}

.slider-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 20px;
}

.control {
    width: 75px;
    height: 75px;
    border: solid 1px white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
}

.control .material-symbols-outlined {
    font-size: 32px !important;
}

.ui-h-line {
    flex: 1;
    height: 2px;
    background-color: white;
    margin-right: 10px;
    margin-left: 10px;
}

.cards-wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.cards {
    width: 100%;
    display: flex;
    gap: 2%;
    transform: translateX(0);
    transition: transform 0.5s ease;
}

.cards .card {
    width: 25%;
    min-width: 25%;
    height: 415px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    background-color: bisque;
}

.card-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px 20px;
}

.card-caption span {
    text-transform: uppercase;
    color: white;
    font-family: DINPro-CondensedBold;
    font-size: 28px;
}

.old-riga-background {
    background: url('../img/old-riga.png');
    background-repeat: no-repeat;
    background-size: cover;
}

.jurmala-background {
    background: url('../img/jurmala.png');
    background-repeat: no-repeat;
    background-size: cover;
}

.rundal-castle-background {
    background: url('../img/rundal-castle.png');
    background-repeat: no-repeat;
    background-size: cover;
}

.sssr-building-background {
    background: url('../img/sssr-building.png');
    background-repeat: no-repeat;
    background-size: cover;
}

.sssr-bunker-background {
    background: url('../img/sssr-bunker.png');
    background-repeat: no-repeat;
    background-size: cover;
}

.sigulda-background {
    background: url('../img/sigulda.png');
    background-repeat: no-repeat;
    background-size: cover;
}

.fw-light {
    font-weight: 300;
}

.fw-regular {
    font-weight: 400;
}

.fw-medium {
    font-weight: 500;
}

.fw-bold {
    font-weight: 700;
}

.f-s-42 {
    font-size: 42px;
}

.p-relative {
    position: relative !important;
}

@font-face {
    font-family: DINPro-CondensedBlack;
    src: url(../fonts/dinpro_condensedblack.otf);
}

@font-face {
    font-family: DINPro-CondensedBold;
    src: url(../fonts/dinpro_condensedbold.otf);
}

.home-footer footer {
    position: relative;
    margin-top: 170px;
    margin-bottom: 0;
}

.right-side-footer footer {
    position: relative;
    justify-content: end;
    margin-top: 35px;
    margin-bottom: 35px;
}

.left-side-footer footer {
    position: relative;
    justify-content: start;
    margin-top: 35px;
    margin-bottom: 35px;
}

.rundal-castle-2-background {
    background: url('../img/4.png');
    background-repeat: no-repeat;
    background-size: cover;
}

.sssr-building-2-background {
    background: url('../img/5.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}

.sssr-bunker-2-background {
    background: url('../img/5.png');
    background-repeat: no-repeat;
    background-size: cover;
}

.sigulda-2-background {
    background: url('../img/6.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}

.active-weekend-background {
    background: url('../img/7.png');
    background-repeat: no-repeat;
    background-size: cover;
}

.deg-tour-background {
    background: url('../img/8.png');
    background-repeat: no-repeat;
    background-size: cover;
}

.spa-weekend-background {
    background: url('../img/9.png');
    background-repeat: no-repeat;
    background-size: cover;
}

.romantic-castle-background {
    background: url('../img/10.png');
    background-repeat: no-repeat;
    background-size: cover;
}

.culture-riga-background {
    background: url('../img/11.png');
    background-repeat: no-repeat;
    background-size: cover;
}

.active-weekend-2-background {
    background: url('../img/12.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}

.m-top-195 {
    margin-top: 195px;
}

.deg-tour-2-background {
    background: url('../img/13.png');
    background-repeat: no-repeat;
    background-size: cover;
}

.m-top-55 {
    margin-top: 55px;
}

.spa-weekend-2-background {
    background: url('../img/14.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}

.m-top-85 {
    margin-top: 85px;
}

.romantic-castle-2-background {
    background: url('../img/15.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}

.culture-riga-2-background {
    background: url('../img/16.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}

.individual-transfers-background {
    background: url('../img/17.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}

.m-top-35 {
    margin-top: 35px;
}

.contacts {
    overflow-y: auto;
    overflow-x: hidden;
    background-color: black;
}

.m-top-20 {
    margin-top: 20px !important;
}

.t-d-underline {
    text-decoration: underline;
}

.card-link {
    position: absolute;
    inset: 0;
    z-index: 5;
}

.card-link:link,
.card-link:visited {
    text-decoration: none;
    background: none;
}

.card:hover {
    cursor: pointer;
}

a {
    text-decoration: none;
    color: inherit;
}

.m-top-160 {
    margin-top: 160px;
}

@media (max-width: 1550px) and (min-width: 1320px) {
    header {
        height: 90px !important;
    }

    .logo h1 {
        font-size: 24px !important;
    }

    .menu {
        gap: 40px !important;
    }

    .navigation ul {
        gap: 40px !important;
    }

    .cards .card {
        width: 30% !important;
        min-width: 30% !important;
        height: 380px !important;
        border-radius: 20px !important;
    }

    .day-tours .card {
        border-radius: 30px !important;
    }

    .hero-img {
        width: 100% !important;
        height: 280px !important;
    }
}

@media (max-width: 1320px) and (min-width: 1200px) {
    header {
        height: 90px !important;
    }

    .menu {
        gap: 15px !important;
    }

    .navigation ul {
        gap: 15px !important;
    }

    .cards .card {
        width: 40% !important;
        min-width: 40% !important;
        height: 380px !important;
    }

    .slogan h1 {
        font-size: 100px !important;
        line-height: 105px !important;
    }

    .logo h1 {
        font-size: 21px !important;
    }

    .card-caption span {
        font-size: 24px !important;
    }

    .day-tours .card {
        width: 28% !important;
        min-width: 28% !important;
        height: 325px !important;
        border-radius: 25px !important;
    }

    .in-transfers .tour-info-section {
        font-size: 32px !important;
    }

    .hero-img {
        width: 100% !important;
        height: 360px !important;
    }
}

@media (min-width: 1200px) {
    .t-left-text-pos-mobile {
        display: none !important;
    }
}

@media (max-width: 1200px) and (min-width: 1100px) {
    header {
        height: 90px !important;
    }

    .logo h1 {
        font-size: 18px !important;
    }

    .navigation ul li a {
        font-size: 12px !important;
    }

    .navigation ul {
        gap: 25px !important;
    }

    .menu {
        gap: 25px !important;
    }

    .language-switcher .language-code {
        font-size: 12px !important;
    }

    .slogan h1 {
        font-size: 80px !important;
        line-height: 100px !important;
    }

    .card-caption span {
        font-size: 24px !important;
    }

    .card-caption {
        padding: 20px 15px !important;
    }

    .cards .card {
        width: 40% !important;
        min-width: 40% !important;
    }

    .home-footer footer {
        margin-top: 200px !important;
    }

    .cards .card {
        width: 45% !important;
        min-width: 45% !important;
        height: 380px !important;
        border-radius: 25px !important;
    }

    .slider {
        grid-template-rows: 2fr 0.8fr !important;
        gap: 30px !important;
    }

    .home-content {
        margin-bottom: 0px !important;
    }

    .day-tours .card {
        width: 28% !important;
        min-width: 28% !important;
        height: 325px !important;
        border-radius: 25px !important;
    }

    .in-transfers .order-btn {
        margin-top: 30px !important;
    }

    .in-transfers .tour-info-section {
        gap: 0px !important;
    }

    .in-transfers .tour-image {
        height: 360px !important;
    }

    .hero-img {
        width: 100% !important;
        height: 360px !important;
    }

    .t-left-text-pos-mobile {
        display: grid !important;
        grid-template-columns: 1fr !important;
    }

    .t-left-text-pos {
        display: none !important;
    }

    .right-side-footer footer {
        justify-content: start !important;
    }

    .active-weekend .order-btn {
        margin-top: 15px !important;
    }

}

@media (max-width: 1100px) and (min-width: 720px) {
    header {
        height: 70px !important;
    }

    .logo h1 {
        font-size: 21px !important;
    }

    .burger {
        display: flex !important;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
        z-index: 30;
    }

    .burger span {
        width: 28px !important;
        height: 3px;
        background: #fff;
        transition: transform .3s ease, opacity .3s ease;
    }

    .burger.open span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .burger.open span:nth-child(2) {
        opacity: 0;
    }

    .burger.open span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .menu {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 70% !important;
        max-width: 320px !important;
        height: 100vh !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 110px 30px 40px !important;
        background: rgba(0, 0, 0, .95) !important;
        transition: right .3s ease !important;
        z-index: 25 !important;
    }

    .menu.open {
        right: 0 !important;
    }

    .navigation ul {
        flex-direction: column !important;
        gap: 25px !important;
        align-items: flex-start !important;
    }

    .navigation ul li a {
        font-size: 16px !important;
    }

    .language-switcher {
        margin-top: 40px !important;
    }

    .home-content {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 0;
    }

    .slogan h1 {
        font-size: 72px;
        line-height: 78px;
    }

    .slider {
        grid-template-rows: 2fr .2fr !important;
        gap: 30px;
        width: 106% !important;
    }

    .cards .card {
        width: 26%;
        min-width: 26%;
        height: 295px;
        border-radius: 25px;
    }

    .card-caption span {
        font-size: 18px;
    }

    .control {
        width: 45px !important;
        height: 45px !important;
    }

    .slider-controls {
        padding: 0 !important;
    }

    .control .material-symbols-outlined {
        font-size: 24px !important;
    }

    .ui-h-line {
        margin: 0 6px;
    }

    .home-footer {
        display: none;
    }

    .home-footer-mobile {
        display: block !important;
    }

    .home-footer-mobile footer {
        position: relative !important;
        justify-content: end !important;
        margin-bottom: 20px !important;
    }

    .tour-cards .cards .card {
        width: 28% !important;
        min-width: 28% !important;
        height: 310px !important;
        border-radius: 20px;
        position: relative;
        overflow: hidden;
    }

    .intro-text h1 {
        font-size: 32px !important;
    }

    .in-transfers .order-btn {
        margin-top: 30px !important;
    }

    .in-transfers .tour-info-section {
        gap: 0px !important;
    }

    .in-transfers .tour-image {
        height: 360px !important;
    }

    .hero-img {
        width: 100% !important;
        height: 360px !important;
    }

    .t-left-text-pos-mobile {
        display: grid !important;
        grid-template-columns: 1fr !important;
    }

    .t-left-text-pos {
        display: none !important;
    }

    .tour-info-section h1 {
        font-size: 28px !important;
    }

    .tour-description {
        font-size: 14px !important;
    }

    .hero-wrapper h1,
    .contacts-title {
        font-size: 28px !important
    }

    .link-icon img {
        width: 30px;
    }

    .right-side-footer footer img {
        width: 30px !important;
    }

    .link-text .link-icon {
        border: none;
        width: 30px;
        height: 30px;
        background: white;
    }

    .link-text {
        display: flex;
        align-items: center;
        gap: 12px !important;
        font-size: 16px !important;
    }

    .pre-form-description {
        text-align: center;
        text-transform: none;
        font-size: 12px !important;
    }

    .form-title {
        text-align: center;
        font-size: 18px !important;
    }

    .right-side-footer footer {
        justify-content: start !important;
    }

    .active-weekend .order-btn {
        margin-top: 15px !important;
    }

    .language-switcher {
        margin-top: -80px !important;
        width: max-content;
        height: 15px !important;
        position: absolute !important;
    }

}

@media (max-width: 720px) and (min-width: 550px) {
    header {
        height: 70px !important;
    }

    .logo h1 {
        font-size: 21px !important;
    }

    .burger {
        display: flex !important;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
        z-index: 30;
    }

    .burger span {
        width: 28px !important;
        height: 3px;
        background: #fff;
        transition: transform .3s ease, opacity .3s ease;
    }

    .burger.open span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .burger.open span:nth-child(2) {
        opacity: 0;
    }

    .burger.open span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .menu {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 70% !important;
        max-width: 320px !important;
        height: 100vh !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 110px 30px 40px !important;
        background: rgba(0, 0, 0, .95) !important;
        transition: right .3s ease !important;
        z-index: 25 !important;
    }

    .menu.open {
        right: 0 !important;
    }

    .navigation ul {
        flex-direction: column !important;
        gap: 25px !important;
        align-items: flex-start !important;
    }

    .navigation ul li a {
        font-size: 16px !important;
    }

    .language-switcher {
        margin-top: 40px !important;
    }

    .home-content {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 0;
    }

    .slogan h1 {
        font-size: 72px;
        line-height: 78px;
    }

    .slider {
        grid-template-rows: 2fr .2fr !important;
        gap: 30px;
        width: 106% !important;
    }

    .cards .card {
        width: 30%;
        min-width: 30%;
        height: 255px;
        border-radius: 25px;
    }

    .card-caption span {
        font-size: 18px;
    }

    .control {
        width: 45px !important;
        height: 45px !important;
    }

    .slider-controls {
        padding: 0 !important;
    }

    .control .material-symbols-outlined {
        font-size: 24px !important;
    }

    .ui-h-line {
        margin: 0 6px;
    }

    .home-footer {
        display: none;
    }

    .home-footer-mobile {
        display: block !important;
    }

    .home-footer-mobile footer {
        position: relative !important;
        justify-content: end !important;
        margin-bottom: 20px !important;
    }

    .facebook-icon img,
    .instagram-icon img {
        width: 30px !important;
    }

    .tour-cards .cards .card {
        width: 46% !important;
        min-width: 46% !important;
        height: 315px !important;
        border-radius: 20px;
        position: relative;
        overflow: hidden;
    }

    .intro-text h1 {
        font-size: 28px !important;
    }

    .intro-text p {
        font-size: 14px !important;
        text-transform: none;
    }

    .in-transfers .order-btn {
        margin-top: 30px !important;
    }

    .in-transfers .tour-info-section {
        gap: 0px !important;
    }

    .in-transfers .tour-image {
        height: 360px !important;
    }

    .hero-img {
        width: 100% !important;
        height: 360px !important;
    }

    .t-left-text-pos-mobile {
        display: grid !important;
        grid-template-columns: 1fr !important;
    }

    .t-left-text-pos {
        display: none !important;
    }

    .tour-info-section h1 {
        font-size: 28px !important;
    }

    .tour-description {
        font-size: 14px !important;
    }

    .hero-wrapper h1,
    .contacts-title {
        font-size: 28px !important
    }

    .link-icon img {
        width: 30px;
    }

    .link-text .link-icon {
        border: none;
        width: 30px;
        height: 30px;
        background: white;
    }

    .link-text {
        display: flex;
        align-items: center;
        gap: 12px !important;
        font-size: 16px !important;
    }

    .pre-form-description {
        text-align: center;
        text-transform: none;
        font-size: 12px !important;
    }

    .form-title {
        text-align: center;
        font-size: 18px !important;
    }

    .feedback-form input,
    .feedback-form textarea {
        padding: 14px 25px !important;
    }

    .right-side-footer footer {
        justify-content: start !important;
    }

    .active-weekend .order-btn {
        margin-top: 15px !important;
    }

    .right-side-footer footer img {
        width: 30px !important;
    }

    .language-switcher {
        margin-top: -80px !important;
        width: max-content;
        height: 15px !important;
        position: absolute !important;
    }
}

@media (max-width: 550px) and (min-width: 360px) {
    header {
        height: 70px !important;
    }

    .logo h1 {
        font-size: 21px !important;
    }

    .burger {
        display: flex !important;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
        z-index: 30;
    }

    .burger span {
        width: 28px !important;
        height: 3px;
        background: #fff;
        transition: transform .3s ease, opacity .3s ease;
    }

    .burger.open span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .burger.open span:nth-child(2) {
        opacity: 0;
    }

    .burger.open span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .menu {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 70% !important;
        max-width: 320px !important;
        height: 100vh !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 110px 30px 40px !important;
        background: rgba(0, 0, 0, .95) !important;
        transition: right .3s ease !important;
        z-index: 25 !important;
    }

    .menu.open {
        right: 0 !important;
    }

    .navigation ul {
        flex-direction: column !important;
        gap: 25px !important;
        align-items: flex-start !important;
    }

    .navigation ul li a {
        font-size: 16px !important;
    }

    .language-switcher {
        margin-top: 40px !important;
    }

    .home-content {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 0;
    }

    .slogan h1 {
        font-size: 72px;
        line-height: 78px;
    }

    .slider {
        grid-template-rows: 2fr .2fr !important;
        gap: 30px;
        width: 106% !important;
    }

    .cards .card {
        width: 35%;
        min-width: 35%;
        height: 210px;
        border-radius: 25px;
    }

    .card-caption span {
        font-size: 18px !important;
    }

    .control {
        width: 45px !important;
        height: 45px !important;
    }

    .slider-controls {
        padding: 0 !important;
    }

    .control .material-symbols-outlined {
        font-size: 24px !important;
    }

    .ui-h-line {
        margin: 0 6px;
    }

    .home-footer {
        display: none;
    }

    .home-footer-mobile {
        display: block !important;
    }

    .home-footer-mobile footer {
        position: relative !important;
        justify-content: end !important;
        margin-bottom: 20px !important;
    }

    .facebook-icon img,
    .instagram-icon img {
        width: 30px !important;
    }

    .tour-cards .cards .card {
        width: 100% !important;
        min-width: 100% !important;
        height: 410px !important;
        border-radius: 35px !important;
        position: relative;
        overflow: hidden;
    }

    .intro-text h1 {
        font-size: 26px !important;
    }

    .intro-text p {
        font-size: 14px !important;
        text-transform: none;
    }

    .in-transfers .order-btn {
        margin-top: 30px !important;
    }

    .in-transfers .tour-info-section {
        gap: 0px !important;
    }

    .in-transfers .tour-image {
        height: 360px !important;
    }

    .hero-img {
        width: 100% !important;
        height: 360px !important;
    }

    .t-left-text-pos-mobile {
        display: grid !important;
        grid-template-columns: 1fr !important;
    }

    .t-left-text-pos {
        display: none !important;
    }

    .tour-info-section h1 {
        font-size: 26px !important;
    }

    .tour-description {
        font-size: 14px !important;
    }

    .hero-wrapper h1,
    .contacts-title {
        font-size: 28px !important
    }

    .link-icon img {
        width: 30px;
    }

    .link-text .link-icon {
        border: none;
        width: 30px !important;
        height: 30px !important;
        background: white;
    }

    .link-text {
        display: flex;
        align-items: center;
        gap: 10px !important;
        font-size: 12px !important;
    }

    .pre-form-description {
        text-align: center;
        text-transform: none;
        font-size: 12px !important;
    }

    .form-title {
        text-align: center;
        font-size: 18px !important;
        margin-top: 40px !important;
    }

    .contact-links {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px !important;
        flex-wrap: wrap;
        font-size: 18px;
        text-transform: none;
    }

    .feedback-form input,
    .feedback-form textarea {
        padding: 14px 20px !important;
    }

    .right-side-footer footer {
        justify-content: start !important;
    }

    .active-weekend .order-btn {
        margin-top: 15px !important;
    }

    .right-side-footer footer img {
        width: 30px !important;
    }

    .language-switcher {
        margin-top: -80px !important;
        width: max-content;
        height: 15px !important;
        position: absolute !important;
    }

    .day-tours .card-caption span {
        font-size: 28px !important;
    }
}

.t-left-text-pos-mobile {
    display: none;
}

.burger {
    display: none;
}

.home-footer-mobile {
    display: none;
}

.active-weekend .tour-info-section {
    max-height: 575px;
}

.active-weekend .order-btn {
    margin-top: 125px;
}

.culture-riga .order-btn {
    margin-top: 40px;
}

.in-transfers .order-btn {
    margin-top: 30px;
}