html {
    font-family: 'brandon-grotesque';
    overflow-x: hidden;
    font-weight: 500;
    color: #fff;
    background: #000;
    font-size: 17px;
    font-size: 1vw;
    height: 100%;
    scroll-behavior: smooth;
}

body {
    color: #fff;
}

#wrapper {
    overflow-x: hidden;
    overflow-y: hidden;
}

* {
    box-sizing: border-box;
}

h1 {
    font-family: "citrus-gothic", sans-serif;
    font-size: 6em;
    text-transform: uppercase;
    color: #faed00;
    margin: 0;
    word-spacing: 0.1em;
    font-weight: normal;
}

h2 {
    font-family: "citrus-gothic", sans-serif;
    font-size: 8em;
    text-transform: uppercase;
    color: #faed00;
    margin: 0;
    font-weight: normal;
}

h3 {
    color: #fff;
    font-family: "citrus-gothic", sans-serif;
    font-size: 5em;
    text-align: center;
    text-transform: uppercase;
    margin: 0;
    font-weight: normal;
}

h4 {
    color: #fff;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: 1.2em;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 1.6em;
    line-height: 1.3em;
    margin-top: 2.5em;
}

a {
    color: #fff;
    text-decoration: underline;
    transition: 0.3s;
}

a:hover {
    color: #e2211c
}

.anchor {
    position: absolute;
    top: 0;
}

.clear {
    clear: both
}

p {
    font-family: 'brandon-grotesque';
    font-size: 1.3em;
}

.original-product {
    text-transform: uppercase;
    position: relative;
}

.subheadline {
    font-family: 'brandon-grotesque';
    text-transform: uppercase;
    margin: 0;
    padding: 0;
    font-size: 2em;
}

.slozeni-text .subheadline {
    font-size: 1.5em;
    cursor: pointer;
    transition: .3s;
}

img {
    width: 100%;
}

.arrow {
    width: 0.4em;
    vertical-align: baseline;
    transition: 0.3s;
    margin-left: 16px;
    transform: rotate(90deg);
}

.padded {
    padding-left: 5%;
    padding-right: 5%;
}

.lightbox {
    position: relative;
}

.lights {
    z-index: -1;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#224ead+0,7db9e8+100&1+0,0+61 */
    background: -moz-radial-gradient(center, ellipse cover, rgba(34, 78, 173, 1) 0%, rgba(90, 143, 209, 0) 61%, rgba(125, 185, 232, 0) 100%);
    /* FF3.6-15 */
    background: -webkit-radial-gradient(center, ellipse cover, rgba(34, 78, 173, 1) 0%, rgba(90, 143, 209, 0) 61%, rgba(125, 185, 232, 0) 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: radial-gradient(ellipse at center, rgba(34, 78, 173, 1) 0%, rgba(90, 143, 209, 0) 61%, rgba(125, 185, 232, 0) 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#224ead', endColorstr='#007db9e8', GradientType=1);
    /* IE6-9 fallback on horizontal gradient */
}

.light-top {
    width: 120%;
    height: 93em;
    position: absolute;
    top: -62em;
    right: -55%;
    opacity: 0.6;
    z-index: 2;
}

.light-mid {
    width: 301%;
    height: 173em;
    position: absolute;
    top: -9em;
    left: -232%;
    opacity: 0.6;
    z-index: 2;
}

.light-mid-right {
    width: 161%;
    height: 153em;
    position: absolute;
    top: 46em;
    right: -132%;
    opacity: 0.6;
    z-index: 2;
}

.light-v {
    width: 120%;
    height: 93em;
    position: absolute;
    top: -24em;
    left: -70%;
    opacity: 0.6;
    z-index: -1;
    z-index: 2;
}

.light-bot {
    width: 120%;
    height: 93em;
    position: absolute;
    bottom: -24em;
    left: -70%;
    opacity: 0.6;
    z-index: -1;
}

.social {
    position: fixed;
    top: 50%;
    left: -10px;
    transform: translateY(-50%);
    z-index: 10;
}

.social div {
    margin: 1em 0;
    width: 70px;
    height: 50px;
    position: relative;
    transition: 0.3s;
    border-radius: 10px;
}

#fb {
    background: #1778f2;
    padding: 1em;
}

#fb:hover {
    background: rgba(23 120 242 / 70%);
}

#yt {
    background: #FF0000;
    padding: 1em;
}

#yt:hover {
    background: rgb(255 0 0 / 80%);
}

#fb img,
#yt img {
    width: 30px;
    margin-left: 4px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
}

header .padded {
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    position: relative;
}

.controls {
    float: right;
    height: 40px;
    width: 90px;
    position: absolute;
    top: 50%;
    right: 10%;
    z-index: 1;
    transform: translateY(-50%);
}

#mainmenu {
    display: none;
    position: absolute;
    width: 210px;
    top: 90%;
    right: -25px;
    z-index: 1;
    text-transform: uppercase;
}

#mainmenu ul {
    padding: 0;
    list-style: none;
    background: rgba(16, 37, 82, 0.8);
}

#mainmenu li {
    padding: 1em 2em;
    border-bottom: 1px solid #fff;
}

#mainmenu li:first-child {
    border-top: 1px solid #fff;
}

#mainmenu a {
    text-decoration: none;
}

section {
    margin: 10em auto 0;
}

.main-visual {
    margin-top: 0;
}

.logomain {
    filter: none;
    width: 13%;
    margin: 1em 0;
}

.bubble {
    position: fixed;
    bottom: -100px;
    z-index: 10;
}

.bubble.big {
    width: auto;
}

.bubble.small {
    width: 25px;
}

.bubble.medium {
    width: 45px;
}


/* ---------------------------- MAIN CONTENT START ---------------------------- */

.main-width {
    width: 60%;
}

.products.main-width {
    width: 100%;
}

.page-headline {
    text-align: center;
    margin-top: 15em;
    margin-bottom: 3em;
}

.main-visual {
    position: relative;
}

#tonic-big {
    position: absolute;
    width: 100%;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
}

#logo-50 {
    width: 10%;
    display: block;
    margin: 0em auto;
}

.river-original {
    text-align: center;
}

.product-name {
    position: relative;
    margin-bottom: 4em;
}

.product-description {
    font-size: 1em;
    color: #faed00;
    text-transform: uppercase;
    margin: 0;
    font-weight: normal;
}

.slozeni {
    display: none;
}


.product h3 {
    font-size: 1.5em;
}

.pet2l img {
    max-height: 489px;
    padding-bottom: 22px;
    width: auto;
}

.hero-banner {
    width: 100%;
    margin: 0;
    padding: 0;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.shadow img {
    filter: drop-shadow(0px 0px 30px #ffff5240);
}

@keyframes spin {
    0% {
        transform: rotate(20deg);
    }

    50% {
        transform: rotate(-20deg);
    }

    100% {
        transform: rotate(20deg);
    }
}


.product p {
    margin: 0;
}

.circle {
    position: absolute;
    top: 0;
    width: 180px;
    height: 180px;
    border-radius: 100px;
    /* line-height: 200px; */
    text-align: center;
    border: 1px solid #fff;
    transform: rotate(345deg);
}

.circle.right {
    right: 0;
}

.circle p {
    margin: 0;
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
}

.tonic-headline {
    width: 60%;
    margin-bottom: 40px;
}

/* ---------------------------- MAIN END ---------------------------- */

/* ---------------------------- PORTFOLIO START ---------------------------- */


section#portfolio .row {
    max-width: 1300px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    margin: auto;
}

.product {
    display: inline-block;
    width: 20%;
    text-align: center;
    cursor: pointer;
    margin-bottom: 60px;
    z-index: 10;
    position: relative;
}

.divider {
    display: block;
    clear: both;
    width: 100%;
}

.plech .scaleUp {
    overflow: hidden;
}

.plech img {
    margin-top: -250px;
}

.top-novinka::before {
    content: "NOVINKA";
    position: absolute;
    font-family: "citrus-gothic", sans-serif;
    font-size: clamp(2rem, 50%, 1.5rem);
    top: 10%;
    right: calc(50% - 12%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    aspect-ratio: 1/1;
    background-color: #d52727;
    color: white;
    border-radius: 50%;
    z-index: 1;
    text-shadow: 0 0 15px #000000;
}

@media only screen and (max-width: 1024px) {
    .plech img {
        margin-top: -180px;
    }

    .top-novinka::before {
        font-size: 20px;
        left: calc(50% + 10px);
        width: 50px;
        top: 4%;
    }
}



/* ---------------------------- PORTFOLIO END ---------------------------- */

/* ---------------------------- FORM START ---------------------------- */

.contact {
    font-size: 1.3em;
}

form {
    margin-top: 4em;
}

.contact-form input,
.contact-form textarea {
    background: transparent;
    border: 2px solid #bfc8d1;
    color: #fff;
    display: block;
    height: 3em;
    line-height: 1;
    padding: 0 2em;
    width: 100%;
    box-sizing: border-box;
    margin-top: 1em;
    transition: 0.3s;
}

::placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #808690;
    opacity: 1;
    /* Firefox */
}

:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #808690;
}

::-ms-input-placeholder {
    /* Microsoft Edge */
    color: #808690;
}

.error-box::placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #e31f13;
    opacity: 1;
    /* Firefox */
}

.error-box:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #e31f13;
}

.error-box::-ms-input-placeholder {
    /* Microsoft Edge */
    color: #e31f13;
}

.contact-form textarea {
    color: #fff;
    background: transparent;
    margin-bottom: 0.5em;
    width: 100%;
    height: 8em;
    padding: 1em 2em;
}

.row {
    margin-bottom: 2em;
}


button {
    background: transparent;
    color: #fff;
    padding: 1em 2em;
    border: 2px solid #bfc8d1;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
}


button:hover {
    background: #bfc8d1;
    color: #000;
}

.control {
    display: block;
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    cursor: pointer;
}


.myCheckbox input {
    display: none;
    position: relative;
    z-index: -9999;
}

.myCheckbox span {
    width: 27px;
    height: 54px;
    display: block;
    background: url(../img/checkbox.png);
    background-repeat: no-repeat;
    float: left;
    margin-right: 1em;
    cursor: pointer;
}


.myCheckbox input:checked+span {
    background: url(../img/checkbox-checked.png);
    background-repeat: no-repeat;
}

input.error-box,
.error-box,
.g-recaptcha.error-box {
    border: 2px solid #de1818;
}

#form .form-response,
#form .captcha-response {
    padding: 0;
    color: #faed00;
    font-size: 1.1em;
    display: inline-block;
}


#form .form-response.error,
#form .captcha-response {
    color: #e31f13;
}

.g-recaptcha {
    float: left;
    margin-right: 1em;
}

.souhlas-box {
    padding: 1em 0;
}


/* ---------------------------- FORM END ---------------------------- */

/* ---------------------------- DATA PROTECTION START ---------------------------- */

.blackout {
    overflow: auto;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.4);
    font-size: 1em;
    color: #fff;
}

.blackout h2 {
    font-size: 4em;
}


.blackout h3 {
    font-size: 2em;
    color: #000;
    text-align: left;
}

.blackout ul,
.blackout p {
    font-size: 1.1em;
    font-weight: normal;
}

.blackout a {
    color: #e2211c;
}

.popup {
    position: static;
    box-sizing: border-box;
    padding: 4% 5%;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 89%;
    height: auto;
    min-height: 100%;
    background-color: rgba(236, 105, 186, 0.95);
    background-color: rgba(255, 255, 255, 1);
    position: static;
    z-index: 11;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.close-popup {
    transition: 0.3s;
    cursor: pointer;
    position: absolute;
    top: 3%;
    right: 7%;
    z-index: 12;
    width: 30px;
    height: 30px;
    background-image: url(../img/x-popup.png);
    background-size: 100%;
    background-repeat: no-repeat;
}

.close-popup:hover {
    transform: rotate(90deg);
}



/* ---------------------------- DATA PROTECTION END ---------------------------- */



footer {
    padding-bottom: 4em;
    position: relative;
}

.bluecover {
    position: absolute;
    bottom: -1px;
    left: 0;
    z-index: -3;
}

.maspex {
    width: auto;
}

.address {
    text-align: right;
}

.address p {
    font-size: 1em;
}



















/* modal */

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    z-index: 10;
}

@keyframes grow {
    0% {
        transform: scale(0.1);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-content {
    display: flex;
    padding: 20%;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: visible;
    transform: scale(0);
    transition: transform 0.5s ease-out;
    opacity: 1;
    transition: opacity 0.2s, transform 0.2s;
}

.modal-content.hide-content {
    opacity: 0;
}

.rounded {
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    animation: expand 0.5s ease-out forwards, fadeIn 0.5s .4s forwards;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.rounded:nth-child(1) {
    animation-delay: 0s, 0.2s;
}

.rounded:nth-child(2) {
    animation-delay: 0.2s, 0.4s;
}

.rounded:nth-child(3) {
    animation-delay: 0.4s, 0.6s;
}

img#modal-image {
    height: 100%;
    width: auto;
    max-height: 600px;
}

.product-image-container img {
    width: 100%;
}

@keyframes expand {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

.close {
    position: absolute;
    right: 0;
    left: 0px;
    top: 0;
    bottom: 0;
    z-index: 10;
    cursor: none;
}

.close img {
    position: absolute;
    width: 32px;
    height: 32px;
    pointer-events: none;
}

#custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 32px;
    height: 32px;
    background-image: url('https://originalriver.cz/img/x-popup.png');
    background-size: cover;
    pointer-events: none;
}

.close:hover,
.close:focus {
    text-decoration: none;
    cursor: pointer;
    color: #fff;
}

.modal-body {
    display: flex;
    justify-content: flex-start;
    z-index: 1;
    flex-direction: row;
    align-content: flex-end;
    align-items: flex-end;
    height: 40vh;
    width: 100%;
}

#modal-text-3 {
    font-size: 2em;
    font-family: "citrus-gothic", sans-serif;
    padding: 0 !important;
    margin: 0px;
    color: #605b00;
}

.product-details {
    padding-bottom: 30px;
    width: 70% !important;
}

.product-details {
    flex: 1;
}

.product-image-container img {
    width: 100%;
}


.novinka::before {
    content: "NOVINKA";
    position: absolute !important;
    font-family: "citrus-gothic", sans-serif;
    font-size: 1.5em;
    top: 17%;
    right: calc(50% - 22%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    aspect-ratio: 1/1;
    background-color: #d52727;
    color: white;
    border-radius: 50%;
    z-index: 1;
    text-shadow: 0 0 15px #000000;
}


.plech.novinka::before {
    top: 10% !important;
    right: calc(50% - 30%) !important;
}

.sklo.novinka::before {
    top: 40% !important;
    right: 20% !important;
}

.polliter.novinka::before {
    top: 25% !important;
    right: 20% !important;
}

.dvojliterliter.novinka::before {
    top: 10% !important;
    right: 20% !important;
}

span.pink {
    color: #de879b;
}

.kontakt {
    padding: 2em 0 8em 0;
}

.kontakt a {
    padding: 1em 2em;
    background-color: #c53a2b;
    color: #fff;
    text-align: center;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    display: block;
    width: fit-content;
    margin: 0 auto;
}