body {
    color: #333 !important;
    margin: 0px;
    letter-spacing: 0.5px;
}

@font-face {
    font-family: 'SuezOne';
    src: url('./assets/fonts/SuezOne-Regular.ttf')
}

@font-face {
    font-family: 'Martel-Sans';
    src: url('./assets/fonts/Martel_Sans/MartelSans-Regular.ttf')
}

@font-face {
    font-family: 'Martel-Sans_Bd';
    src: url('./assets/fonts/Martel_Sans/MartelSans-Bold.ttf')
}

@font-face {
    font-family: 'Martel-Sans_SemiBd';
    src: url('./assets/fonts/Martel_Sans/MartelSans-SemiBold.ttf')
}

@font-face {
    font-family: 'Martel-Sans_ExtraBd';
    src: url('./assets/fonts/Martel_Sans/MartelSans-Black.ttf')
}

.link {
    width: fit-content;
    text-decoration: none;
}

.coverblock {
    height: max(calc(100vh - 165px), 400px);
    display: flex;
    flex-direction: column;
    justify-content: end;
    background-image: url('assets/titulni-obrazek.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.textblock {
    background-color: #721aa2;
    height: 165px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 5px;
}

.courseblock {
    height: 500px;
    background-color: white;
    display: flex;
    flex-direction: row;
}

.separator {
    height: 3px;
    background-color: #721aa2;
}

.contactblock {
    background-color: #eaeaea;
    display: flex;
    flex-direction: row;
    padding: 3% 5% 6.5% 5%;
}

.practicalblock {
    height: auto;
    background-color: #721aa2;
    color: white;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

span b {
    font-family: 'Martel-Sans_ExtraBd';
}

.third {
    display: flex;
    width: 33.33%;
    height: auto;
    justify-content: start;
    flex-direction: column;
    padding: 2% 5% 3% 5%;
}

.third span {
    font-family: 'SuezOne';
    font-size: min(2vw, 24px);
}

.third ul {
    font-family: 'Martel-Sans_SemiBd';
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: min(1.2vw, 17px);
}

.title-padding {
    padding-bottom: revert;
    padding-top: 3%;
}

.aboutus {
    height: auto;
    background-color: #eaeaea;
    color: #333;
}

.aboutustitle {
    font-family: 'SuezOne';
    display: flex;
    padding: 4% 0 0 0;
    justify-content: start;
    margin-left: 5%;
    font-size: min(3.75vw, 45px);
}

.aboutussubtitle {
    font-family: 'SuezOne';
    margin-left: 5%;
    font-size: min(2vw, 24px);
}

.aboutuscontact {
    font-family: 'SuezOne';
    display: flex;
    flex-direction: row;
    padding: 13px 0 0 0;
    justify-content: start;
    color: rgb(167 140 82);
    letter-spacing: 1px;
    font-size: min(1.74vw, 21px);
    margin-right: 20px;
}

.aboutuscontact:first-child {
    margin-left: 0;
}

.aboutuscontact:hover {
    color: #333;
    cursor: pointer;
}

.contact {
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: start;
    padding-right: 25px;
}


.links {
    display: flex; 
    flex-direction: row;
    margin-left: 5%;
}

.info {
    display: flex;
    flex-direction: column;
    margin-left: 34px;
    font-family: 'Martel-Sans_SemiBd';
}

.info span {
    font-size: min(1.2vw, 17px);
}   

.infotitle {
    font-size: min(2vw, 24px) !important;
    font-family: 'SuezOne';
    margin-bottom: 2%;
    color: rgb(167 140 82);
    letter-spacing: 1px;
}

.infotitle:hover {
    color: #333;
    cursor: pointer;
}

.infosub {
    margin-bottom: .5%;
    font-family: 'Martel-Sans_Bd';
    font-size: min(1.29vw, 15.4px) !important;
    color: #444;
}

.imgblock {
    height: 105vh;
    display: flex;
    flex-direction: column;
    background-image: url('assets/fialovy-fraktal.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.block {
    width: 100%;
    height: 20%;
    justify-items: center;
    display: flex;
}

.blocktitle {
    font-family: 'SuezOne';
    align-items: center;
    display: flex;
    color: white;
    /* margin-left: 5%; */
    font-size: min(6.1vw, 76px);
    padding-left: 5%;
    letter-spacing: 1px;
    text-shadow: 1px 1px 8px #555;
}

.blocksub {
    align-items: center;
    display: flex;
    color: white;
    /* margin-left: 5%; */
    font-size: min(4vw, 50px);
    padding-left: 5%;
    font-family: 'SuezOne';
    letter-spacing: 1px;
    text-shadow: 1px 1px 8px #555;
}

.blockaction {
    background-color: white;
    color: #721aa2;
    margin-left: 5%;

}

.action:hover {
    background-color: #333;
    cursor: pointer;
    border-color: #333;
    color: white;
}

.action {
    height: 30%;
    background-color: rgb(167 140 82);
    border-radius: 15px;
    border-color: rgb(167 140 82);
    border-style: solid;
    border-width: 3px;
    color: white;
    font-family: 'Martel-Sans_ExtraBd';
    font-size: min(1.2vw, 14px);
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    padding: 15px 29px;
    margin-bottom: 1.3%;
    width: fit-content;
    height: 60px;
}

.blockicon {
    font-size: 2.9em;
    padding-left: 5%;
    display: flex;
    align-items: end;
    width: auto;
    height: 130px;
}

.icons {
    font-size: 21px;
    color: rgb(167 140 82) !important;
    gap: 1em;
    display: flex;
    margin-left: 2px;
}

.clickable:hover {
    cursor: pointer;
    color: #333;
}

.refblock {
    height: 500px;
    background-color: white;
    display: flex;
    flex-direction: column;
}

.reftitle {
    color: #721aa2;
    font-size: min(2vw, 24px);
    font-family: 'SuezOne';
    letter-spacing: 1px;
    margin-bottom: 3%;
}

.refsub {
    font-family: 'Martel-Sans_SemiBd';
    letter-spacing: 0.5px;
    font-size: min(1.2vw, 14px);
}

.refdate {
    font-family: 'Martel-Sans_Bd';
    color: grey;
}

.refaction {
    color: #721aa2;
    font-size: min(2.45vw, 29px);
    font-family: 'SuezOne';
    letter-spacing: 1px;
    margin-bottom: 3%;
}
.ref {
    background-color: white;
    width: 33.33%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0 5%;
    justify-content: center;
    border-left: 1px solid rgba(128, 128, 128, 0.152);
    border-bottom: 1px solid rgba(128, 128, 128, 0.152);
    text-decoration: none;
    color: #222;
}

.no-border {
    border-bottom: none !important;
}

.ref:hover {
    background-color: rgb(167 140 82); 
    cursor: pointer;
    color: white;
}

.ref:hover .refdate {
    color: white;
}

.ref:hover .reftitle {
    color: white;
}

.ref:hover .refaction {
    color: white;
}

.screamblock {
    height: auto;
    background-color: #eaeaea;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 5%;
    color: #333;
}

.screamblockinv {
    height: auto;
    background-color: #721aa2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 5%;
}
.scream {
    color: #333;
    font-size: min(3vw, 45px);
    padding-bottom: 2%;
    padding-left: 5%;
    font-family: 'SuezOne';
    padding-top: 4%;
}
.screaminv {
    color: #fff;
    font-size: min(3vw, 40px);
    padding-left: 5%;
    padding-right: 5%;
    font-family: 'SuezOne';
    padding-top: 4%;
}
.twosided-column {
    font-size: min(1.2vw, 17px);
    font-family: 'Martel-Sans_SemiBd';
    width: 50%;
}

.twosided-column b {
    font-family: 'Martel-Sans_ExtraBd';
}

.htitle {
    font-family: 'SuezOne';
    font-size: min(2vw, 20px);
}

.disclaimer {
    font-size: min(1.1vw, 14px);
}

.shadow-top {
    background: linear-gradient(to top,rgba(0, 0, 0, 0.1),transparent);
}

.shadow-bottom {
    background: linear-gradient(to bottom,rgba(0, 0, 0, .1),transparent);
}

.shadow-bottom-bold {
    background: linear-gradient(to bottom,rgba(0, 0, 0, .38),transparent);
}

.actionblock {
    height: 210px;
    display: flex;
    flex-direction: row;
    background-color: white;
    align-items: center;
    justify-content: center;
}

.lb-outerContainer {
    background: none !important;
}

.lb-image {
    border: none !important;
}

.footer {
    height: 33.33vh;
    background-image: url('assets/sedy-fraktal.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center bottom;
}

.iconline {
    display: flex; 
    flex-direction: row; 
    gap: 15px;
}

.iconline i {
    width: 1em;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 5px;
}

.flip-box {
    background-color: transparent;
    border: 1px solid #f1f1f1;
    perspective: 1000px; /* Remove this if you don't want the 3D effect */
    display: contents;
}

  /* This container is needed to position the front and back side */
.flip-box-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 1.25s ease;
    transform-style: preserve-3d;
}
  
  /* Do an horizontal flip when you move the mouse over the flip box container */
.flip-box:hover .flip-box-inner {
    transform: rotateY(180deg);
}
  
  /* Position the front and back side */
.flip-box-front, .flip-box-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
    font-family: 'SuezOne';
    font-size: 42px;
    color: #721aa2 !important;
}
  
  /* Style the front side */
.flip-box-front {
    color: black;
    display: flex;
    justify-content: center;
    vertical-align: middle;
    align-items: center;
    flex-direction: column;
    background-size: cover;
    background-repeat: no-repeat;
}
  
  /* Style the back side */
.flip-box-back {
    background-color: white;
    color: white;
    transform: rotateY(180deg);
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    vertical-align: middle;
    align-items: center;
}

.textbox {
    color: white;
    letter-spacing: 0.618px;
    margin: 5%;
    padding: 5%;
    border-radius: 15px;
    width: 70%;
    max-height: 90%;
}

.textboxdesc {
    font-size: min(1vw, 15px);
    font-family: 'Martel-Sans_Bd';
    line-height: 145%;
    text-align: left;
    margin-top: 25px;
    display: flex;
    flex-direction: column;
}

.textboxicons {
    display: flex; 
    flex-direction: column; 
    gap: 10px;
    padding-top: 20px;
}

.textboxtitle {
    font-size: min(2vw, 24px);
    color: white;
    margin-bottom: 10px;
    text-align: left;
}

.circle {
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 50%;
    height: min(15vw, 155px);
    width: min(15vw, 155px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.flip-box-img {
    height: 120px;
    width: auto;
}

.center-cropped {
    object-fit: cover; /* Do not scale the image */
    object-position: center; /* Center the image within the element */
}

.headline {
    display: flex;
    flex-direction: column;
}

.main {
    margin: 5% 0px;
    font-size: min(3vw, 45px);
}

.sub {
    color: gray;
    font-size: min(1.2vw, 14px);
    margin: 0px;
}

.capitals {
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.title {
    color: white;
    font-size: 6em;
    padding-left: 5%;
    font-family: 'SuezOne';
    text-shadow: 1px 1px 18px #444;
}

.subtitle {
    color: white;
    font-size: 3.4em;
    padding-bottom: 80px;
    padding-left: 5%;
    font-family: 'SuezOne';
    text-shadow: 1px 1px 12px #444;
    background: linear-gradient(to top,rgba(0,0,0,.6),transparent);
}

.q {
    color: white;
    font-size: min(2vw, 24px);
    letter-spacing: 1px;
    padding: 0px 10px;
    font-family: 'SuezOne';
    max-width: 600px;
    display: inherit;
    align-items: inherit;
}

.q:first-child {
    margin-left: 5%;
    padding-left: 0px;
}

.q:last-child {
    margin-right: 5%;
    padding-right: 0px;
}

.q p {
    margin-top: revert;
    margin-bottom: revert;
}

.photoblock {
    background-color: white;
    display: flex;
}

.photo {
    background-size: cover;
    width: 50%;
}

.right {
    justify-content: right;
}

.content {
    background-color: white;
    height: 50em;
}

.owl-theme {
    background-color: #721aa2;
    padding-bottom: 30px;
}

.owl-dots {
    visibility: hidden;
}

.refdiv {
    display: flex; flex-direction: row; height: 50%; align-items: center;
}

.scream-wrapper {
    display: flex; flex-direction: row; margin: 0 5%; gap: 5%;
}

.practicalmobile {
    display: none;
}

.gallery-item {
    padding: unset !important;
    position: relative;
}

.gallery-item a {
    width: 100%;
}

.gallery-item:hover img {
    opacity: 0.89;
}

.gallery-item:hover figcaption {
    display: block;
}

.gallery-item a img {
    width: inherit;
}

figcaption {
    display: none;
    position: absolute;
    bottom: 15px;
    left: 15px;
    background-color: #2a2a2a;
    color: white;
    padding: 8px 12px;
    opacity: 0.8;
    font-family: 'Martel-Sans' !important;
    font-size: min(1vw, 14px) !important;
    margin-right: 15px;
    border-radius: 10px;
}

@media only screen and (max-width: 1000px) {
    .coverblock {
        justify-content: end;
        height: 50vh;
        padding-top: 100px;
    }

    .title, .subtitle {
        text-align: center;
        padding-left: 0px;
    }

    .textblock {
        flex-direction: column;
        height: auto;
    }

    .q {
        text-align: center;
        padding: unset;
        font-size: 4vw;
    }

    .q:first-child {
        margin-left: 0px;
        margin-top: 20px;
    }
    
    .q:last-child {
        margin-right: 0px;
        margin-bottom: 20px;
    }

    .photo {
        width: 100%;
    }

    .courseblock {
        flex-direction: column;
        height: 1500px;
    }

    .textboxdesc {
        font-size: 2.5vw;
    }

    .textboxicons {
        flex-direction: row;
        gap: 20px;
    }

    .textboxtitle {
        font-size: 4vw;
    }

    .textbox {
        width: 90%;
    }

    .action {
        font-size: 2.5vw;
    }

    .practicalblock {
        display: none;
    }

    .practicalmobile {
        display: block !important;
    }

    .title-padding {
        padding-bottom: revert !important;
        font-size: 4vw;
    }

    .third ul {
        font-size: 3vw !important;
    }

    .third {
        width: 100% !important;
    }

    .scream {
        font-size: 4vw;

    }

    .twosided-column {
        width: 100%;
        font-size: 3vw;
    }

    .scream-wrapper {
        flex-direction: column;
        gap: 42px;
    }

    .disclaimer {
        font-size: 2.8vw;
    }

    .blocktitle {
        font-size: 10vw;
    }

    .blocksub {
        font-size: 4.5vw;
    }

    .screaminv {
        font-size: 4vw;
    }

    .refsub {
        color: #333;
        font-size: 2.2vw;
    }

    .reftitle {
        font-size: 3.5vw;
    }

    .refdate {
        font-size: 2.2vw;
    }

    .aboutustitle {
        font-size: 4vw;
    }

    .aboutussubtitle {
        font-size: 3vw;
    }

    .infotitle {
        font-size: 3vw !important;
    }

    .links {
        flex-direction: column;
        margin-bottom: 4%;
    }

    .aboutuscontact {
        padding-left: 0;
        font-size: min(2.5vw, 24px);
    }

    .aboutuscontact:first-child {
    }

    .infosub {
        font-size: 2.5vw !important;
    }

    .main {
        font-size: 6vw;
    }

    .sub {
        font-size: 3vw;
    }

    .ref {
        padding: 5%;
        width: auto;
        text-decoration: none;
    }

    .refdiv {
        height: auto;
        align-items: start;
        flex-direction: column;
    }

    .refblock {
        height: auto;
    }

    .practicalblock {
        height: auto;
        flex-direction: column;
    }

    .third {
        display: flex;
        width: 70%;
        height: auto;
        justify-content: center;
        flex-direction: column;
        padding: 5% 5%;
    }

    .third span {
        font-size: 4vw; 
    }

    .third ul {
        height: auto;
        font-size: min(2vw, 24px);
    }
}

@media only screen and (max-width: 1200px) {
    .contactblock {
        flex-direction: column;
        height: auto;
    }    

    .contact {
        width: auto;
        margin: 0;
        justify-content: start;
    }

    .contact:last-child {
        margin-top: 5%;
    }
}