@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed&display=swap');

:root {
    --main-color-green: #91C3AD;
    --main-color-dark: #4A2E1D;
    --main-padding: 15px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
    font: inherit;
    text-rendering: optimizeLegibility;
}

html,
body {
    height: 100%;
    scroll-behavior: smooth;
    overflow-x: hidden;
    color: var(--main-color-dark);
    font-family: 'Barlow Condensed', sans-serif;
}

body {
    line-height: 1.25;
    -webkit-font-smoothing: antialiased;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
    margin: 0;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

a {
    color: inherit;
    text-decoration: none;
}

[type='checkbox'],
[type='radio'] {
    padding: 0;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

.visually-hidden {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
}

@media screen and (min-width: 890px) {
    .landing-sections-wrapper {
        display: flex;
        flex-direction: row;
        align-items: center;
    }
}

@media screen and (max-width: 890px) {
    .landing-sections-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .landing-section-left {
        width: 100% !important;
        height: auto !important;
    }

    .since {
        display: none !important;
    }

    .landing-section-right {
        width: 100% !important;
        height: auto !important;
    }

    .left-col-content {
        margin-inline: auto !important;
    }

    .left-heading {
        margin-block: 50px;
    }

    .left-text {
        margin-bottom: 50px;
    }
}

.landing-section-left {
    background-color: #fff;
    height: 100vh;
    width: 1000px;
    gap: 20%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.logo-main {
    width: 35%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.left-logo {
    padding-top: 5px;
}

@media screen and (max-width: 450px) {
    .left-logo {
        width: 100%;
        text-align: left;
        padding-left: 10px;
    }

    .left-heading {
        font-size: 50px !important;
    }
}

.left-col-content {
    color: var(--main-color-dark);
    margin-left: 25%;
    padding: var(--main-padding);
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.left-heading {
    text-transform: uppercase;
    font-size: 56px;
}

.left-heading span {
    background-color: var(--main-color-green);
    padding: 5px;
    color: #fff;
}

.left-text {
    font-size: 22px;
}

.since {
    position: absolute;
    opacity: .1;
    color: var(--main-color-green);
    bottom: 0;
    right: 0px;
    display: flex;
    flex-direction: column;
    font-weight: bold;
}

.since p:nth-child(1) {
    font-size: 48px;
}

.since p:nth-child(2) {
    font-size: 244px;
    margin-top: -60px;
}

.landing-section-right {
    background-color: var(--main-color-green);
    height: 100vh;
    width: 100%;
    color: #fff;
}

.right-nav-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.card {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    padding: 25px 50px;
}

@media screen and (min-width: 1630px) {
    .card-content {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }
}

@media screen and (max-width: 1630px) {
    .card-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .card-head {
        text-align: center;
        width: fit-content;
    }
}

@media screen and (max-width: 1300px) {
    .card-head {
        font-size: 60px !important;
    }

    .since p:nth-child(1) {
        font-size: 40px;
    }

    .since p:nth-child(2) {
        font-size: 200px;
    }
}

@media screen and (max-width: 1110px) {
    .card-head {
        font-size: 50px !important;
    }
}

@media screen and (max-width: 1000px) {
    .card-head {
        font-size: 40px !important;
    }

    .card p {
        font-size: 20px !important;
    }
}

.card-head {
    padding-bottom: 2px;
    padding-left: 20px;
    font-size: 73px;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    cursor: pointer;
}

@media screen and (max-width: 1630px) {
    .card-head {
        padding-left: 0px;
    }
}

@keyframes slideDown {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes slideLeft {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

@media screen and (min-width: 1000px) {
    .card-content {
        position: relative;
    }

    .card-content::before {
        content: '';
        position: absolute;
        width: 2px;
        transform: scaleX(0);
        height: 2000px;
        bottom: 0;
        left: 0;
        background-color: #fff;
    }

    .card-content:hover::before {
        transform: scaleX(1);
        animation: slideDown;
        animation-duration: 750ms;
        animation-fill-mode: forwards;
    }

    .card-content::after {
        content: '';
        transform: scaleX(0);
        position: absolute;
        height: 2px;
        bottom: 0;
        left: 0;
        background-color: #fff;
    }

    .card-content:hover::after {
        animation: slideLeft;
        transform: scaleX(1);
        animation-delay: 750ms;
        animation-duration: 750ms;
        animation-fill-mode: forwards;
    }

    .card-content:hover .card-head {
        transform: scale(1.04);
        transition: 750ms;
    }
}

@media screen and (max-width: 1000px) {
    .card-content {
        background-image: linear-gradient(#fff 0 0);
        background-position: 0% 100%;
        background-size: 0% 2px;
        background-repeat: no-repeat;
        position: relative;
        transition: background-size .5s, background-position 0s .5s;
    }

    .card-content:hover {
        background-position: 100% 100%;
        background-size: 100% 2px;
    }
}

.card-contact {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.card p {
    font-size: 30px;
}

.button {
    border: none;
    margin: 7px 25px;
    cursor: pointer;
    background-color: var(--main-color-green);
    position: absolute;
    right: 0;
    top: 0;
    border: 2px solid #fff;
    z-index: 10;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 75px;
    font-size: 18px;
    background-color: #f1f1f1;
    width: fit-content;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.dropdown:hover .dropdown-content {
    display: block;
}






/* MĚSTO */




.main-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: fixed;
    top: 0;
    background-color: #fff;
    z-index: 9;
    width: 100%;
    justify-content: space-between;
    height: 85px;
}

.side-navbar {
    position: absolute;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 25px;
    right: -100px;
    top: 250px;
    font-size: 25px;
    transform: rotate(90deg);
}

.nav-logo-wrapper {
    height: 100%;
    width: 25%;
    min-width: 200px
}

.nav-logo-wrapper img {
    height: 100%;
    margin-inline: auto;
}

.nav-links {
    text-transform: uppercase;
    font-size: 22px;
    color: #fff;
    background-color: var(--main-color-green);
    height: 100%;
    width: 75%;
    align-items: center;
    display: flex;
    justify-content: center;
    gap: 50px;
}

@media screen and (min-width: 1000px) {
    .resp-show {
        display: none !important;
    }
}

@media screen and (max-width: 1400px) {
    .nav-links {
        justify-content: left;
        padding-left: 50px;
    }
}

@media screen and (max-width: 1000px) {
    .nav-links a {
        display: none;
    }
}

@media screen and (max-width: 800px) {}

.nav-links a {
    padding-bottom: 2px;
    background-image: linear-gradient(#fff 0 0);
    background-position: 0 100%;
    background-size: 0% 2px;
    background-repeat: no-repeat;
    cursor: pointer;
    transition: background-size 0.3s, background-position 0s 0.3s;
}

.nav-links a:hover {
    background-position: 100% 100%;
    background-size: 100% 2px;
}

.mesto-section1 {
    margin-inline: 150px;
    margin-top: 20px;
    opacity: 0;
}

.mesto-section1 h1 {
    font-size: 56px;
    text-transform: uppercase;
    color: var(--main-color-dark);
}

.mesto-section1 h1>span:not(:nth-child(1)) {
    background-color: var(--main-color-green);
    color: #fff;
    padding: 5px;
}

.mesto-section2 {
    margin: 75px 150px 75px 0px;
    background: url(../img/bg-clovek.png), var(--main-color-green);
    padding-block: 50px;
}

.mesto-title-equip {
    margin-left: 150px;
    color: #fff;
    text-transform: uppercase;
    font-size: 45px;
}

.mesto-section3 {
    margin-inline: 150px;
    position: relative;
    z-index: 5;
    bottom: 110px;
}

.mesto-section3-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10%;
}

.mesto-section3-table {
    box-shadow: 0px 10px 20px -10px rgba(0, 0, 0, 0.75);
    padding: 50px;
    width: fit-content;
    display: flex;
    background: #FFF;
    font-size: 30px;
    flex-direction: column;
    color: var(--main-color-dark);
    justify-content: center;
}

@media screen and (min-width: 1400px) {
    .dropdown {
        display: none;
    }
}

@media screen and (max-width: 1400px) {
    .mesto-section1 {
        margin-inline: 75px !important;
    }

    .mesto-section2 {
        margin: 75px 75px 75px 0px !important;
    }

    .mesto-section3 {
        margin-inline: 75px !important;
    }

    .mesto-section4 {
        margin-inline: 75px !important;
    }

    .mesto-title-equip {
        margin-left: 75px !important;
    }

    .side-navbar {
        display: none;
    }
}

@media screen and (max-width: 1260px) {
    .mesto-section3-table {
        font-size: 20px !important;
    }

    .why-us {
        font-size: 15px !important;
    }

    .mesto-section3-list h3 {
        font-size: 25px !important;
    }

    .mesto-section3 {
        bottom: 95px !important;
    }
}

@media screen and (max-width: 1020px) {
    .mesto-section2 {
        margin: 25px 0px 25px 0px !important;
        padding: 15px;
    }

    .mesto-section1 {
        margin-inline: 0px !important;
        text-align: center;
        padding: 15px;
    }

    .mesto-title-equip {
        text-align: center;
        margin: 0px !important;
    }

    .mesto-section3 {
        bottom: auto !important;
        margin-bottom: 50px;
        margin-inline: 25px !important;
    }

    .mesto-section3-wrapper {
        flex-direction: column-reverse;
        gap: 25px;
    }

    .mesto-section3-table {
        font-size: 32px !important;
    }

    .why-us {
        font-size: 22px !important;
    }

    .mesto-section3-list h3 {
        font-size: 25px !important;
    }

    .mesto-section4 {
        margin-inline: 25px !important;
    }
}

@media screen and (max-width: 650px) {
    .why-us {
        font-size: 15px !important;
    }

    .mesto-section1 h1:not(span) {
        font-size: 45px !important;
    }

    .mesto-section1 h1>span {
        font-size: 30px;
    }

    .mesto-title-equip {
        font-size: 35px !important;
    }

    .mesto-section3-table {
        font-size: 20px !important;
        padding: 25px !important;
    }

    .day {
        gap: 25px !important;
    }
}

@media screen and (max-width: 450px) {
    .mesto-section3-table {
        font-size: 18px !important;
        padding: 15px !important;
    }
}

.time-table {
    text-transform: uppercase;
    margin-block: 10px;
}

.mesto-section3-table h3 {
    text-align: center;
}

.mesto-section3-table div:not(.time-table) {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 100px;
}

.table-contact {
    color: var(--main-color-green);
}

#phones {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0px;
}

.mesto-section3-list h3 {
    font-size: 35px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.why-us {
    font-size: 20px;
    padding-left: 20px;
    list-style: none;
}

ul {
    padding-left: 40px;
    list-style: none;
    font-size: 20px;
}

li a {
    text-decoration: underline;
}

.why-us li,
ul li {
    padding-block: 10px;
    position: relative;
}

.why-us li::before,
ul li::before {
    content: '';
    position: absolute;
    left: -40px;
    top: 5px;
    width: 34px;
    height: 34px;
    background: url(../img/bullet.png);
}

.mesto-section4 {
    margin-inline: 150px;
    margin-bottom: 50px;
}

.mesto-section4-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.mesto-section4-wrapper h3 {
    font-size: 35px;
    text-transform: uppercase;
}

.map-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0px 0px 50px -20px rgba(0, 0, 0, 0.5);
    padding: 25px;
}

@media screen and (max-width: 900px) {
    .map-wrapper {
        flex-direction: column !important;
    }

    #map-adress-text {
        width: 250px;
    }

    #map-adress {
        display: flex;
        flex-direction: row;
        width: 100% !important;
        justify-content: space-evenly;
    }
}

@media screen and (max-width: 450px) {
    #map-adress {
        flex-direction: column !important;
    }

    #map-adress-text {
        text-align: center;
        width: 100%;
    }

    .map-wrapper {
        padding: 15px !important;
    }
}

#map {
    width: 100%;
    max-width: 1200px;
    height: 300px;
}

#map-adress {
    text-align: left;
    width: 350px;
    padding: 20px;
}

#map-adress h4 {
    font-size: 30px;
    text-transform: uppercase;
}

#map-adress p {
    font-size: 20px;
}

.adress-buttons {
    display: flex;
    margin-block: 15px;
    flex-direction: column;
    width: 100%;
    gap: 10px;
    text-align: center;
}

.navigation {
    background: var(--main-color-green);
    border: none;
    cursor: pointer;
    color: #fff;
    text-transform: uppercase;
    font-size: 20px;
    padding-block: 5px;
}

.ordinace {
    background: transparent;
    border-color: var(--main-color-dark);
    font-size: 20px;
    border: 2px solid var(--main-color-dark);
    text-transform: uppercase;
    padding-block: 5px;
    cursor: pointer;
}

@media screen and (min-width: 600px) {
    .mesto-footer {
        width: 100%;
        margin-block: 15px;
        padding: 5px;
        font-size: 15px;
        text-align: center;
    }

    .mesto-footer-wrapper {
        display: flex;
        flex-direction: row;
        justify-content: center;
        position: relative;
        align-items: center;
    }

    .powered-by {
        position: absolute;
        right: 0;
        bottom: 0;
    }
}

@media screen and (max-width: 600px) {
    .mesto-footer-wrapper {
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .powered-by {
        width: fit-content;
    }
}


/* SLUŽBY */



#sluzby {
    background-image: url(../img/sluzbybg.png);
    background-size: cover;
    background-repeat: no-repeat;
}

#colored {
    background-color: var(--main-color-green);
    padding: 5px;
    color: #FFF;
}

.sluzby-main-section {
    margin-inline: 150px;
    margin-top: 50px;
}

@media screen and (max-width: 1400px) {
    .sluzby-main-section {
        margin-inline: 75px !important;
    }

    .sluzby-kontakt {
        margin: 50px 75px !important;
    }

    .sluzby-kontakt-wrapper {
        width: 100% !important;
        align-items: center;
    }

    .pojistovny {
        margin: 50px 75px !important;
    }
}

.sluzby-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.card-sluzba {
    max-width: 460px;
    width: 100%;
    min-height: 100px;
    margin: 15px;
    background: #fff;
    display: flex;
    flex-direction: row;
}

@media screen and (max-width: 500px) {
    .sluzby-wrapper {
        justify-content: left;
    }
}

.card-left {
    min-width: 60px;
    height: 100%;
    padding: 15px;
    display: flex;
    align-items: flex-start;
    background-color: var(--main-color-green);
}

.card-left img {
    margin-left: auto;
    margin-right: auto;
    height: 20px;
    width: auto;
    transform: scale(2);
    padding: 1px;
}

.card-right {
    padding: 15px;
}

.card-right h2 {
    font-size: 30px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.card-sluzba p {
    font-size: 18px;
}

.sluzby-kontakt {
    margin: 50px 150px;
}

.sluzby-kontakt-wrapper {
    display: flex;
    margin: auto;
    flex-direction: row;
    justify-content: space-between;
    width: 70%;
    padding: 15px;
    background: #fff;
    align-items: center;
    box-shadow: 10px 10px 50px -25px rgba(0, 0, 0, 0.75);
    border-top: 5px solid var(--main-color-green);
}

@media screen and (max-width: 600px) {
    .sluzby-kontakt-wrapper {
        flex-direction: column;
        gap: 10px;
    }

    .sluzby-main-section {
        margin-inline: 25px !important;
    }

    .sluzby-kontakt {
        margin: 50px 25px !important;
    }

    .pojistovny {
        margin: 50px 25px !important;
    }
}

.sluzby-kontakt-left p:nth-child(1) {
    font-size: 18px;
}

.sluzby-kontakt-left p:nth-child(2) {
    font-size: 30px;
    text-transform: uppercase;
}

.sluzby-kontakt-right {
    font-size: 30px;
    font-weight: bold;
    color: var(--main-color-green);
}

.pojistovny {
    margin: 50px 150px;
    text-align: center;
    font-size: 22px;
}

.pojistovny-wrapper {
    background: #fff;
    width: fit-content;
    margin: auto;
    margin-top: 25px;
}

.pojistovny-wrapper img {
    opacity: .3;
}
.pojistovny-wrapper img:hover {
    opacity: 1;
    transition: .5s;
}

.loga-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: row;
}

.loga-wrapper img {
    height: 70px;
    width: auto;
    margin: 15px;
}



/* VSTUPNÍ VYŠETŘENÍ */




.vysetreni-main-section {
    background-image: url(../img/vysetrenibg.png);
    margin-top: -75px;
    height: 930px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.vysetreni-wrapper {
    margin-left: auto;
    width: 35%;
    padding-top: 100px;
    margin-right: 150px;
}

.vysetreni-wrapper h2 {
    font-size: 32px;
    text-transform: uppercase;
}

.desc-wrapper {
    font-size: 22px;
}

.sluzba-kontakt {
    margin: -50px 150px 50px 150px;
}

@media screen and (max-width: 1020px) {
    .vysetreni-main-section {
        margin-top: -25px !important;
        box-shadow: inset -150px 0px 118px 99px rgba(255, 255, 255, 0.75);
    }

    .vysetreni-wrapper {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-right: 0px;
        padding-top: 50px !important;
    }

    .desc-wrapper {
        width: 75%;
        font-size: 17px !important;
    }

    .desc-wrapper ul {
        font-size: 17px;
    }
}

@media screen and (max-width: 1400px) {
    .sluzba-kontakt {
        margin: -50px 75px 50px 75px !important;
    }
}

@media screen and (max-width: 600px) {
    .sluzba-kontakt {
        margin: 0px 25px 50px 25px !important;
    }
}




/* DENTÁLNÍ HYGIENA */


.hygiena-main-section {
    background-image: url(../img/hygienabg.png);
    margin-top: -75px;
    min-height: 930px;
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat;
}

@media screen and (max-width: 1020px) {
    .hygiena-main-section {
        margin-top: -25px !important;
        box-shadow: inset -150px 0px 118px 99px rgba(255, 255, 255, 0.75);
        padding-bottom: 30px;
    }
}


/* CENÍK */



.cenik-main-section {
    background-image: url(../img/cenikbg.png);
    margin-top: -75px;
    min-height: 930px;
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat;
}

@media screen and (max-width: 1020px) {
    .cenik-main-section {
        margin-top: -25px !important;
        box-shadow: inset -150px 0px 118px 99px rgba(255, 255, 255, 0.75);
        padding-bottom: 30px;
    }
}

.cenik-table {
    font-size: 30px;
    width: 90%;
    text-align: left;
}

.cenik-wrapper {
    width: 50%;
    margin-right: 150px;
    padding-top: 100px;
    margin-left: auto;
}

@media screen and (max-width: 1400px) {
    .cenik-wrapper {
        width: 90%;
        margin: auto !important;
    }

    .cenik-table {
        width: 100%;
    }
}

@media screen and (max-width: 800px) {
    .cenik-table {
        font-size: 22px;
    }
}

.cenik-wrapper h2 {
    font-size: 35px;
    text-transform: uppercase;
}

.cenik-table td {
    padding: 10px;
}

.cenik-table tr:nth-child(odd) {
    background-color: rgb(145, 195, 173, .25);
}

.cenik-table td {
    padding-block: 10px;
}

.cenik-table td:nth-child(2) {
    font-weight: bold;
    text-align: right;
}



/* NÁŠ TÝM */




.tym-section {
    margin-inline: 150px;
    margin-bottom: 100px;
}

@media screen and (max-width: 1400px) {
    .tym-section {
        margin-inline: 75px !important;
    }
}

@media screen and (max-width: 900px) {
    .tym-section {
        margin-inline: 25px !important;
    }

    .tym-wrapper {
        gap: 50px !important;
    }
}

.tym-section h2 {
    font-size: 30px;
    text-transform: uppercase;
}

.tym-wrapper {
    margin-top: 50px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: left;
    gap: 100px;
}

.person {
    width: fit-content;
}

.person-info {
    position: relative;
    padding-top: 5px;
}

.person-info::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 5px;
    width: 150px;
    border-top: 7px solid var(--main-color-green);
}

.person-img {
    height: 280px;
    width: 220px;
}

.person-img img {
    height: 100%;
    width: 100%;
}

.person-info p:nth-child(1) {
    font-size: 30px;
    font-weight: bold;
}

.person-info p:nth-child(2) {
    font-size: 25px;
}

.more-info {
    cursor: pointer;
    padding: 7px;
    background-color: #91C3AD;
    border: none;
}