@charset "utf-8";

/* ---- GLOBAL ---- */

@font-face {
	font-family: 'Regular';
	src: url('fonts/OpenRunde-Regular.woff2') format('woff2');
}
@font-face {
	font-family: 'Medium';
    src: url('fonts/OpenRunde-Medium.woff2') format('woff2');
}
@font-face {
	font-family: 'Semibold';
    src: url('fonts/OpenRunde-Semibold.woff2') format('woff2');
}
@font-face {
	font-family: 'Bold';
    src: url('fonts/OpenRunde-Bold.woff2') format('woff2');
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}
body {
    font-family: "Regular", sans-serif;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    margin: 0;
    color: #202020; 
    background-attachment: fixed;
    background-size: 100%;
    background-position: center;   
    background-image: linear-gradient(45deg, #eefaff, #a5d2ff);
    overflow-x: hidden;
}
.card {
    background: rgba(255, 255, 255, 0.7);
}
.dark_card {
    background: rgba(0, 0, 0, 0.8);
}
.card_highlight {
    background: linear-gradient(45deg, rgba(128,0,255,0.85), rgba(0,128,255,0.85));
}
.clear {
    clear: both;
}
.hidden {
    display: none;
}
a {
    text-decoration: none;
    color: #202020;
}
a:hover {
    text-decoration: none;
}
.highlight {
    background-image: linear-gradient(45deg, #8000FF, #0080FF);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
p.highlight {
    font-family: 'Bold', sans-serif;
}
.card_highlight > p.highlight {
    background-image: none;
    background-color: #eeeeee;
}
.dark_card .highlight {
    filter: drop-shadow(0 0 5px #202020);
}
.content {
    padding-top: 120px;
}
.page {
    max-width: 1080px;
    margin: 0 auto;
    overflow-x: hidden;
    overflow-y: hidden;
}
.table_wrapper {
    width: 100%;
    overflow-x: scroll;
}
.table {
    width: 1620px;
    margin: 0 auto;
}

.card {
    display: block;
    position: relative;
    float: left;
    margin: 20px;
    border-radius: 25px;
    padding: 30px;
    font-size: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    /*scroll-margin-top: 160px;*/
    transform: translateY(50px) scale(0.95);
    opacity: 0;
    transition:
        opacity 0.5s ease,
        transform 0.5s ease,
        box-shadow 1s ease,
        background-color 0.5s ease;
}

/* aktivní stav */
.card.show {
    opacity: 1;
    position: relative;
    transform: translateY(0) scale(1);
}

/* varianty animací podle strany */
.card.from-left {
  transform: translateX(-100px) scale(0.9);
}

.card.from-right {
  transform: translateX(100px) scale(0.9);
}

.card.show.from-left,
.card.show.from-right {
  transform: translateX(0) scale(1);
}


.card:hover {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}
.card > p {
    margin: 18px 0 0 0;
    line-height: 20px;
}
.card > img {
    margin: 20px auto;
    display: block;
    width: 440px;
    height: auto;
}
.halves .card, .halves_flex .card {
    width: 440px;
}
.thirds .card, .thirds_flex .card {
    width: 260px;
}
.fourths .card {
    width: 170px;
    text-align: center;
}
.halves_flex, .thirds_flex, .fifths_flex, .sixths_flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.column {
    width: 50%;
    float: left;
}
.table .card{
    width: 170px;
    margin: 10px;
    padding: 20px;
    text-align: center;
}
.li_spacer {
    width: 10px;
    height: 18px;
}
h1 {
    font-family: 'Bold', sans-serif;
    font-size: 56px;
    font-weight: normal;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}
h2 {
    font-family: 'Bold', sans-serif;
    font-size: 24px;
    font-weight: normal;
    margin: 20px;
    padding-top: 40px;
}
h3 {
    font-family: 'Bold', sans-serif;
    font-size: 20px;
    font-weight: normal;
    margin: 0;

}
.card > h2 {
    margin: 0;
    padding: 0;
    font-size: 32px;
}
.subtitle {
    font-family: 'Regular', sans-serif;
    font-size: 20px;
    text-align: center;
    padding: 20px;
    line-height: 30px;
}
/*
.block {
    text-align: justify;
    hyphens: auto;
}
*/
.small {
    font-size: 13px;
}
.page > h1, .page > h2, .page > .subtitle, .page > .button, .page > .buttons > .button {
    transform: translateY(50px) scale(0.95);
    opacity: 0;
    transition:
        opacity 0.5s ease,
        transform 0.5s ease,
        box-shadow 1s ease,
        background-color 0.5s ease;
}
.page > h1.show, .page > h2.show, .page > .subtitle.show, .page > .button.show, .page > .buttons > .button.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.button {
    display: block;
    position: relative;
    margin: 30px auto;
    height: 50px;
    width: 200px;
}
.button div {
    height: 50px;
    width: 200px;
    background: linear-gradient(45deg, #8000FF, #0080FF);
    border-radius: 25px;
    text-align: center;
    cursor: pointer;
}
.button div > p {
    display: block;
    position: absolute;
    height: 44px;
    width: 194px;
    margin: 3px;
    line-height: 46px;
    padding: 0;
    border-radius: 23px;
    transition: 0.3s;
}
.button:hover div {
    transform: scale(1.1);
    transition: 0.5s;
    color: #eeeeee;
}
.button div > p {
    background-color: rgba(255, 255, 255, 0.9);
}
.button:hover div > p {
    transition: opacity 0.3s ease-in-out;
    background-color: rgba(255, 255, 255, 0);
}
.buttons {
    width: calc(100% - 20px);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 30px 10px;
}
.buttons > .button {
    margin: 0;
}
.table .button, .fourths .button {
    width: 120px;
}
.table .button > a > div, .fourths .button > a > div {
    width: 120px;
}
.table .button > a > div > p, .fourths .button > a > div > p {
    width: 114px;
}
.card_highlight .button div {
    background: none;
    background-color: #eeeeee;
}
.card_highlight .button p {
    background: linear-gradient(45deg, rgba(128,0,255,0.85), rgba(0,128,255,0.85));
    color: #eeeeee;
}
.card_highlight .button:hover p {
    background: none;
    background-color: #eeeeee;
    color: #202020;
}

.card ul {
    list-style-type: none;
}
.card ul > li::before {
    content: '●';
    background-image: linear-gradient(45deg, #8000FF, #0080FF);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; 
    margin-right: 8px; 
}
.card_highlight ul > li::before {
    background-image: none;
    background-color: #eeeeee;
}
.card ul > li {
    line-height: 26px;
    text-align: left;
    text-indent: -1.4em;
    padding-left: 1.4em;
}
.table .card ul, .fourths .card ul {
    padding-left: 0;
}
.table .card ul > li::before, .fourths .card ul > li::before {
    margin-right: 5px;
}
.tags {
    margin-top: 20px;
    text-align: center;
}
.tags > p {
    display: inline-block;
    margin: 0 5px 10px 0;
    padding: 5px 10px;
    border: 1px solid #202020;
    border-radius: 16px;
}
.tag_highlight {
    background-color: #202020;
    color: #eeeeee;
}
.smalltags {
    font-size: 11px;
}
.smalltags > p {
    margin: 0 2px 5px 0;
    padding: 2px 5px;
}
.card_highlight {
    color: #eeeeee;
}
.card_highlight > h2 {
    color: 202020;
}
.card_highlight .tags > p {
    border: 1px solid #eeeeee;
}
.card_highlight .tags > p.tag_highlight {
    background-color: #eeeeee;
    color: #202020;
}
.fixedheight_mdmfunctions {
    height: 208px;
}
.fixedheight_mdmpricing {
    height: 84px;
}
.fixedheight_mdmplatforms {
    height: 64px;
}

.navigation {
    text-align: center;
    margin: 0 15px 15px 15px;
    font-size: 16px;
}
.navigation a {
    display: inline-block;
    margin: 0 5px 10px 0;
    padding: 5px 10px;
    border: 1px solid #202020;
    border-radius: 16px;
}
.navigation a:hover {
    background: linear-gradient(45deg, rgba(128,0,255,0.85), rgba(0,128,255,0.85));
    color: #eeeeee;
    transform: scale(1.05);
    transition: 0.3s;
}
.navigation p {
    margin: 0;
    line-height: 20px;
}
.category {
    font-size: 20px;
    font-family: 'Bold', sans-serif;
    background-image: linear-gradient(45deg, #8000FF, #0080FF);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; 
    display: block;
    padding: 10px;
}

.dark_card {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    color: #eeeeee;
}
.dark_card:hover {
    box-shadow: 0 0 20px rgba(0, 0, 0, 1);
}
.dark_card .button > a > div {
    color: #eeeeee;
}
.dark_card .button > a > div > p {
    background-color: rgba(32, 32, 32, 0.8);
}
.dark_card .button:hover > a > div > p {
    background-color: rgba(32, 32, 32, 0);
}
.dark_card .tags > p {
    border: 1px solid #eeeeee;
}
.dark_card .tags > p.tag_highlight {
    background-color: #eeeeee;
    color: #202020;
}
.dark_icon_card:hover > h3 {
    color: #eeeeee;
}
.dark_icon_card:hover > p {
    color: #eeeeee;
}


.sixths_flex {
    margin-top: 30px;
    padding: 20px;
    gap: 16px;
}
.sixths_flex .card {
    width: 120px;
    padding: 20px;
    margin: 0;
}
.icon_card > h3 {
    padding-top: 15px;
    font-family: "Semibold", sans-serif;
    text-align: center;
}
.icon_card > p {
    display: none;
}

.card.icon_card:hover, .card.badge_card:hover, .card.oneline_card:hover {
    cursor: pointer;
    transform: scale(1.1);
    background: linear-gradient(45deg, #8000FF, #0080FF);
}
.icon_card:hover > h3 {
    color: #eeeeee;
}


.contact_card {
    position: relative;
    padding-bottom: 0;
}
.contact_card_image {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 40%;
}
.contact_card_text {
    width: 60%;
}
.contact_card_image > img {
    width: 100%;
    height: auto;
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 0;
}
.speech {
    font-family: 'InterItalic', 'Arial', sans-serif;
}
.single_card .column > p{
    margin-right: 20px;
}
.single_card > h3 {
    font-size: 32px;
    max-width: 400px;
}
.single_card > h2 {
    max-width: 400px;
}
strong {
    font-family: 'Bold', sans-serif;
    font-weight: normal;
}

.news_card img {
    width: 100%;
    height: auto;
    border-radius: 25px;
    margin: -30px;
    position: absolute;
    z-index: -1;
    mask-image: linear-gradient(to bottom, black 20%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 20%, transparent 100%);
}
.button_left {
    float: left;
    margin: 20px 0 0 0;
}
.card > p.right_text, .right_text {
    float: right;
    display: block;
    height: 50px;
    line-height: 50px;
}

/* ---- NEWS ---- */
.article_wrapper {
    padding: 20px; 
}
.article {
    margin: 0 auto;
    padding: 10px 30px; 
    max-width: 600px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 25px;
    font-size: 16px;
    transition: 0.5s;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.article p {
    font-size: 16px;
    line-height: 22px;
}
.article h2 {
    font-family: 'Bold', sans-serif;
    font-size: 28px;
    margin: 0;
    padding-top: 10px;
}
.article h3 {
    font-family: 'Bold', sans-serif;
    font-size: 20px;
    margin: 0;
    padding-top: 10px;
}
.article img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    margin: 30px 0;
}
.article figure {
    margin: 0 0 20px 0;
}
.article ul {
    padding-left: 20px;
}
.article li {
    margin: 10px 0;
}
.article a {
    background-image: linear-gradient(45deg, #8000FF, #0080FF);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}
.article a:hover {
    text-decoration: underline;
}
.article figcaption {
    color: #969696;
}
.article iframe {
    max-width: 100%;
}
.hero_bg_image {
    width: 100%;
    left: 0;
    top: 0;
    height: auto;
    position: absolute;
    z-index: -1;
    mask-image: linear-gradient(to bottom, black 20%, transparent 80%);
    -webkit-mask-image: linear-gradient(to bottom, black 20%, transparent 80%);
}
.article strong {
    font-family: 'Bold', sans-serif;
    font-weight: normal;
}
.article > h2.card_highlight {
    color: #202020;
    background: none;
}
.article p.section_title {
    font-family: 'Bold', sans-serif;
    font-size: 36px;
    line-height: 40px;
    margin: 40px 0 20px 0;
    background-image: linear-gradient(45deg, #8000FF, #0080FF);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; 
    display: inline-block;
}

/* ---- RESPONISVE CONTENT ---- */

@media only screen and (max-width: 1079px) {
    .halves .card {
        width: auto;
    }
    .thirds .card {
        width: calc(33.33% - 100px);
    }
    .fourths .card {
        width: calc(50% - 100px);
    }
    .card ul {
        padding: 0;
    }
    .li_spacer {
        display: none;
    }
}
@media only screen and (max-width: 949px) {
    .thirds .card {
        width: calc(50% - 100px);
        margin-bottom: 40px;
    }
    .thirds .card:nth-of-type(3) {
        clear: both;
        float: none;
        margin: 0 auto;
    }
}
@media only screen and (max-width: 819px) {
    h1 {
        font-size: 32px;
    }
    .subtitle {
        font-size: 16px;
    }
    .card h2 {
        font-size: 24px;
    }
}
@media only screen and (max-width: 743px) {
    .column {
        width: 100%;
        float: none;
    }
    .hero_bg_image {
        top: 80px;
    }
    .hero_bg_image_wrapper::before {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        height: 80px;
        width: 100%;
        background-color: white;
        z-index: 1;
    }
}
@media only screen and (max-width: 599px) {
    .thirds .card, .thirds .card:nth-of-type(3) {
        margin: 20px;
        width: auto;
        float: left;
    }
   .contact_card_image {
        width: 50%;
        position: absolute;
        top: -55px;
    }
    .contact_card_image > img {
        position: relative;
    }
    .contact_card_text {
        width: 100%;
    }
    .contact_card_text > p:first-of-type, .contact_card_text > h3 {
        width: 50%;
    }
    .contact_card_text > p:first-of-type {
        padding-bottom: 200px;
    }
    .card > img {
        max-width: 100%;
    }
}
@media only screen and (max-width: 499px) {
    .fourths .card {
        width: auto;
    }
    .contact_card_text > p:first-of-type {
        padding-bottom: 130px;
    }
}
@media only screen and (max-width: 430px) {
    .contact_card_text > p:first-of-type {
        padding-bottom: 40px;
    }
}



/* ---- ICONS ---- */


.icon {
    width: 48px;
    height: 48px;
    margin: 0 auto;
    padding: 0;
}
.oneline_card > h3 {
    line-height: 50px;
    margin: 0 0 0 65px;
    padding-left: 5px;
}
.oneline_card .icon {
    margin: 0;
    padding: 0;
    float: left;

}

.icon_card:hover > .icon_mdm,
.icon_card:hover > .icon_apps,
.icon_card:hover > .icon_update,
.icon_card:hover > .icon_eye,
.icon_card:hover > .icon_key,
.icon_card:hover > .icon_protect,
.icon_card:hover > .icon_lock,
.icon_card:hover > .icon_access,
.icon_card:hover > .icon_seal,
.icon_card:hover > .icon_wifi,
.icon_card:hover > .icon_net,
.icon_card:hover > .icon_person {
    background-position: 0 -48px;
}
.icon_mdm {
    background: url('graphics/icon_gear.svg') 0 0 / 48px no-repeat;
}
.icon_apps {
    background: url('graphics/icon_apps.svg') 0 0 / 48px no-repeat;
}
.icon_update {
    background: url('graphics/icon_update.svg') 0 0 / 48px no-repeat;
}
.icon_eye {
    background: url('graphics/icon_eye.svg') 0 0 / 48px no-repeat;
}
.icon_protect {
    background: url('graphics/icon_protect.svg') 0 0 / 48px no-repeat;
}
.icon_lock {
    background: url('graphics/icon_lock.svg') 0 0 / 48px no-repeat;
}
.icon_access {
    background: url('graphics/icon_access.svg') 0 0 / 48px no-repeat;
}
.icon_seal {
    background: url('graphics/icon_seal.svg') 0 0 / 48px no-repeat;
}
.icon_wifi {
    background: url('graphics/icon_wifi.svg') 0 0 / 48px no-repeat;
}
.icon_key {
    background: url('graphics/icon_key.svg') 0 0 / 48px no-repeat;
}
.icon_net {
    background: url('graphics/icon_net.svg') 0 0 / 48px no-repeat;
}
.icon_person {
    background: url('graphics/icon_person.svg') 0 0 / 48px no-repeat;
}
.icon_jamf {
    background: url('graphics/icon_jamf.png') 0 0 / 48px no-repeat;
}
.icon_mosyle {
    background: url('graphics/icon_mosyle.png') 0 0 / 48px no-repeat;
}
.icon_intune {
    background: url('graphics/icon_intune.png') 0 0 / 48px no-repeat;
}
.icon_abusiness {
    background: url('graphics/icon_abusiness.png') 0 0 / 48px no-repeat;
}
.icon_workspace {
    background: url('graphics/icon_workspace.png') 0 0 / 48px no-repeat;
}

.sixths_flex .badge_card {
    padding: 0;
    width: 160px;
}
.thirds_flex .badge_card {
    padding: 0;
    width: 320px;
}
.badge {
    /* 176px for five */
    width: 160px;
    height: 160px;
    margin: 0;
    padding: 0;
    border-radius: 25px;
}
.partner_badge {
    /* 176px for five */
    width: 320px;
    height: 107px;
    margin: 0;
    padding: 0;
    border-radius: 25px;
}
@media only screen and (max-width: 431px) {
    .badge {
        /* 147px for five */
        width: 160px;
        height: 160px;
    }
}
.badge_acitp {
    background: url('graphics/badge_acitp.png') 0 0 / 100% no-repeat;
}
.badge_acsp {
    background: url('graphics/badge_acsp.png') 0 0 / 100% no-repeat;
}
.badge_jmi {
    background: url('graphics/badge_jmi.png') 0 0 / 100% no-repeat;
}
.badge_jsem {
    background: url('graphics/badge_jsem.png') 0 0 / 100% no-repeat;
}
.badge_jsei {
    background: url('graphics/badge_jsei.png') 0 0 / 100% no-repeat;
}
.badge_mca {
    background: url('graphics/badge_mca.png') 0 0 / 100% no-repeat;
}

.badge_apple {
    background: url('graphics/badge_apple.png') 0 0 / 100% no-repeat;
}
.badge_jamf {
    background: url('graphics/badge_jamf_registered.png') 0 0 / 100% no-repeat;
}
.badge_mosyle {
    background: url('graphics/badge_mosyle_msp.png') 0 0 / 100% no-repeat;
}

.reference {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding-top: 50px;
}
.reference_card {
    width: calc(100% - 100px);
}
.reference > div {
    display: block;
    padding: 10px;
    width: 210px;
    text-align: center;
}
.reference > div > p {
    line-height: 18px;
    font-size: 14px;
}
.reference img {
    width: 160px;
    height: 80px;
    background-size: cover;
    background-position: center;
}
.reference_card h3 {
    font-size: 32px;
    float: left;
    line-height: 40px;
}

.ibsns {
    float: left;
    margin: 5px 20px;
    width: 150px;
    height: 30px;
    padding-bottom: 5px;
    border-bottom: 5px solid rgba(0, 0, 0, 0);
}
.ibsns:hover {
    border-bottom: 5px solid #ff007f;
}
@media only screen and (max-width: 599px) {
    .reference_card h3 {
        text-align: center;
        float: none;
    }
    .ibsns {
        float: none;
    }
    .reference_card a {
        text-align: center;
        display: block;
        margin: 0;
    }
}
.inline_cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
}
.inline_cards .badge_card {
    padding: 0;
    background-color: white;
}
.inline_cards > .badge_card:hover {
    background-color: white !important;
    background-image: none !important;
}
.inline_cards .partner_badge {
    margin-top: 26px;
}
@media only screen and (max-width: 559px) {
    .inline_cards .partner_badge {
        margin-top: 0;
    }
}


/* ---- IMAGES ---- */

.tech_hero_image {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
.card > img.full_width {
    width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
}

#applebusiness_logo {
    width: 400px;
}
@media only screen and (max-width: 399px) {
    #applebusiness_logo {
        width: 100%;
    }
}



/* ---- SERVICES ---- */


.services_card > h3 {
    font-size: 32px;
    max-width: 180px;
}

/* ---- HEADER ---- */

.header {
    width: 100%;
    height: 80px;
    position: fixed;
    top: 0;
    z-index: 10;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.6);
}
.header::before {
    content: '';
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(10px);
}
.logo {
    display: block;
    width: 148px;
    height: 64px;
    background: url('graphics/fruitit_logo.svg');
    background-size: cover;
    background-position: center;
    float: left;
    margin: 8px 12px;
}
.apple_logo {
    display: block;
    width: 110px;
    height: 40px;
    background: url('graphics/apple_logo.svg');
    background-size: cover;
    background-position: center;
    float: left;
    margin: 20px 6px;
}
.logo_divider {
    display: block;
    width: 1px;
    height: 40px;
    background-color: #202020;
    float: left;
    margin: 20px 12px 20px 0;
}
.menu {
    list-style-type: none;
    margin: 0 15px 0 0;
    padding: 0;
    float: right;
    font-family: 'Bold', sans-serif;
    font-size: 18px;
}
.menu > li {
    float: left;
    position: relative;
    line-height: 60px;
}
.menu > li > a {
    display: block;
    text-align: center;
    padding: 10px 10px;
    text-decoration: none;
}
.menu > li > a:hover, .submenu > li > a:hover, .menu > li > a.active, .submenu > li > a.active {
    background-image: linear-gradient(45deg, #8000FF, #0080FF);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.submenu {
    list-style-type: none;
    display: none;
    position: fixed;
    margin-top: -80px;
    z-index: -10;
    margin-left: -20px;
    padding: 80px 20px 10px 20px;
    line-height: 30px;
    border-radius: 0 0 25px 25px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
}
.submenu > li {
    padding: 10px;
    font-size: 16px;
}
.submenu > li > a {
    text-decoration: none;
}
.menu > li:hover .submenu {
    display: block;
}

/* HAMBURGER */

#menu_checkbox {
  display: none;
}

label {
  position: absolute;
  top: 25px;
  right: 25px;
  display: none;
  width: 30px;
  height: 30px;
  margin: 0 auto 0 auto;
  cursor: pointer;
}

label div {
  position: relative;
  top: 0;
  height: 6px;
  background-color: #202020;
  margin-bottom: 6px;
  transition: 0.3s ease transform, 0.3s ease top, 0.3s ease width, 0.3s ease right;
  border-radius: 5px;
}
label:hover div {
  background: linear-gradient(45deg, #8000FF, #0080FF);
}
label div:first-child {
  transform-origin: 0;
}

label div:last-child {
  margin-bottom: 0;
  transform-origin: 30px;
}

label div:nth-child(2) {
  right: 0;
  width: 30px;
}

#menu_checkbox:checked + label div:first-child {
  top: -3px;
  transform: rotateZ(45deg);
}

#menu_checkbox:checked + label div:last-child {
  top: 3px;
  transform: rotateZ(45deg);
}

#menu_checkbox:checked + label div:nth-child(2) {
  width: 42.5px;
  top: 0;
  right: 6.5px;
  transform: rotateZ(-45deg);
}

/* ---- MOBILE MENU ---- */

@media only screen and (max-width: 1079px) {
    .menu {
        position: fixed;
        height: 100%;
        width: 160px;
        z-index: -20;
        margin: 0;
        padding: 80px 20px 0 20px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
        background-color: rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(10px);
        right: -200px;
        overflow-y: scroll;
    }
    #menu_checkbox:checked ~ .menu {
        display: block;
        right: 0;
        animation: slideInFromRight 0.5s ease-in-out forwards;
    }
    #menu_checkbox:not(:checked) ~ .menu {
        animation: slideOutToRight 0.5s ease-in-out forwards; 
        /* Prevent animation on initial load */
        animation-delay: 0.5s;
        animation-play-state: paused;
    }
    #menu_checkbox.touched:not(:checked) ~ .menu {
        animation-play-state: running;
        animation-delay: 0s;
    }
    @keyframes slideOutToRight {
        0% {
            right: 0;
            opacity: 1;
        }
        100% {
            right: -200px;
            opacity: 0;
        }
    }
    @keyframes slideOutFromRight {
        0% {
            right: -200px;
            opacity: 0;
        }
        100% {
            right: 0;
            opacity: 1;
        }
    }
    .menu::after {
        /* to compensate for the height of top padding of menu
        so last items won't be hidden on small display */
        content: '';
        display: block;
        width: 10px;
        height: 80px;
    }    
    label {
        display: block;
    }
    .menu > li {
        float: none;
        line-height: 26px;
   
    }
    .menu > li > a {
        text-align: left;
        padding: 10px 0;
    }
    .submenu {
        display: block;
        position: relative;
        z-index: 0;
        margin: 0 0 0 10px;
        padding: 0;
        line-height: 20px;
        box-shadow: none;
        background-color: rgba(255, 255, 255, 0);
        backdrop-filter: none;
    }
    .submenu > li {
        padding: 5px 0 5px 10px;
        font-size: 16px;
        font-family: "Medium", sans-serif;
    }
}


/* ---- HERO ---- */

@keyframes showTopText {
    0% { transform: translate3d(0, 100%, 0); } /* -- */
    5% { transform: translate3d(0, 90%, 0); } /* Spravujte efektivně */
    10% { transform: translate3d(0, 80%, 0); } /* desítky či tisíce */
    40% { transform: translate3d(0, 80%, 0); } /* desítky či tisíce */
    45% { transform: translate3d(0, 60%, 0); } /* Ochraňte svá data */
    50% { transform: translate3d(0, 50%, 0); } /* a posuňte zabezpečení */
    80% { transform: translate3d(0, 50%, 0); } /* a posuňte zabezpečení */
    85% { transform: translate3d(0, 30%, 0); } /* Vymáčkněte */
    90% { transform: translate3d(0, 20%, 0); } /* z Apple ve firmě */
    100% { transform: translate3d(0, 20%, 0); } /* z Apple ve firmě */
}
  @keyframes showBottomText {
    0% { transform: translate3d(0, -100%, 0); } /* --- */
    10% { transform: translate3d(0, -100%, 0); } /* --- */
    15% { transform: translate3d(0, -80%, 0); } /* iPhonů, iPadů a Maců. */
    40% { transform: translate3d(0, -80%, 0); } /* iPhonů, iPadů a Maců. */
    45% { transform: translate3d(0, -60%, 0); } /* --- */
    50% { transform: translate3d(0, -60%, 0); } /* --- */
    55% { transform: translate3d(0, -40%, 0); } /* na nejvyšší úroveň. */
    80% { transform: translate3d(0, -40%, 0); } /* na nejvyšší úroveň. */
    85% { transform: translate3d(0, -20%, 0); } /* --- */
    90% { transform: translate3d(0, -20%, 0); } /* --- */
    95% { transform: translate3d(0, -0%, 0); } /* maximum! */
    100% { transform: translate3d(0, -0%, 0); } /* maximum! */
}
  .animated-title {
    font-family: 'Bold', sans-serif;
    height: 180px;
    width: 480px;
    float: left;
    position: relative;
    margin-top: 50px;
    margin-bottom: 50px;
    margin-left: 20px;
}
  .animated-title > div {
    height: 50%;
    overflow: hidden;
    position: absolute;
    width: 100%;
}
  .animated-title > div div {
    font-size: 48px;
    padding: 0 0;
    position: absolute;
    width: 100%;
}
  .animated-title > div div span {
    display: block;
}
  .animated-title > div.text-top {
    top: 0;
    height: 120px;
}
  .animated-title > div.text-top div {
    animation: showTopText 10s;
    animation-delay: 0.5s;
    animation-fill-mode: forwards;
    bottom: 0;
    transform: translate(0, 100%);
}
  .animated-title > div.text-bottom {
    bottom: 0;
    height: 60px;
}
  .animated-title > div.text-bottom div {
    animation: showBottomText 10s;
    animation-delay: 0.5s;
    animation-fill-mode: forwards;
    top: 0;
    transform: translate(0, -100%);
}
.hero h1 {
    font-family: 'Bold', sans-serif;
    font-size: 48px;
    font-weight: normal;
    margin: 0;
    padding: 0;
    display: inline;
}

.hero_image {
    float: right;
    position: relative;
    width: 560px;
    height: 238px;
    overflow: hidden;
    margin-top: 25px;
    margin-right: 20px;
}  
.hero_image > img {
    position: absolute;
    width: 560px;
    height: 238px;
    opacity: 0;
    transition: opacity 1s;
  } 
.home_watch {
    animation: slideInFromLeft 1.5s ease-in-out 1s forwards;
}
.home_iphone {
    animation: slideInFromLeft 1s ease-in-out 1s forwards;
}  
.home_mac {
    animation: slideInFromTop 0.8s ease-in-out 1s forwards;
}
.home_vision {
    animation: slideInFromBottom 1.5s ease-in-out 1s forwards;
}
.home_ipad {
    animation: slideInFromRight 1s ease-in-out 1s forwards;
}  
.home_tv {
    animation: slideInFromRight 1.5s ease-in-out 1s forwards;
}  
@keyframes slideInFromLeft {
    0% {
      transform: translateX(-20%);
      opacity: 0;
    }
    50% {
      opacity: 0;
    }
    80% {
      opacity: 1;
    }
    100% {
      transform: translateX(0);
      opacity: 1;
    }
}  
@keyframes slideInFromTop {
    0% {
      transform: translateY(-100%);
      opacity: 0;
    }
    50% {
        opacity: 0;
      }
    80% {
      opacity: 1;
    }
    100% {
      transform: translateY(0);
      opacity: 1;
    }
}
@keyframes slideInFromBottom {
    0% {
      transform: translateY(50%);
      opacity: 0;
    }
    50% {
        opacity: 0;
      }
    80% {
      opacity: 1;
    }
    100% {
      transform: translateY(0);
      opacity: 1;
    }
} 
@keyframes slideInFromRight {
    0% {
      transform: translateX(70%);
      opacity: 0;
    }
    50% {
        opacity: 0;
      }
    80% {
      opacity: 1;
    }
    100% {
      transform: translateX(0);
      opacity: 1;
    }
}


@media only screen and (max-width: 1079px) {
    .hero_image, .hero_image > img {
        width: 480px;
        height: 204px;
    }
    .hero_image {
        margin-top: 20px;
    }
    .animated-title {
        margin-top: 30px;
        margin-bottom: 30px;
    }
}
@media only screen and (max-width: 999px) {
    .hero_image, .hero_image > img {
        width: 360px;
        height: 153px;
    }
    .hero_image {
        margin-top: 45px;
    }
}
@media only screen and (max-width: 879px) {
    .animated-title {
        height: 135px;
        width: 360px;
    }
    .animated-title > div div, .hero h1 {
        font-size: 36px;
    }
    .animated-title > div.text-top {
        height: 90px;
    }
    .animated-title > div.text-bottom {
        height: 45px;
    }
     .hero_image {
        margin-top: 25px;
    }
}
@media only screen and (max-width: 759px) { /* iPad mini (744px) */
    .animated-title {
        margin-left: 20px;
    }
    .hero_image {
        margin-right: 4px;
    }
}
@media only screen and (max-width: 743px) { /* iPhone */
    .animated-title {
        float: none;
        margin: 0 auto;
        text-align: center;
    }
    .hero_image {
        float: none;
        margin: 30px auto 0 auto;
    }
}

/* ---- FOOTER ---- */
.footer {
    position: relative;
    padding: 20px 0;
    width: 100%;
    margin-top: 50px;
    z-index: 10;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    /* background-color: rgba(255, 255, 255, 0.6); */
    background-color: rgba(0, 0, 0, 0.8);
    color:#eeeeee;
    font-size: 14px;
}
.footer::before {
    content: '';
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(10px);
}
.footer_menu {
    list-style-type: none;
    margin: 0 15px 0 0;
    padding: 0;
    /* color: #666666; */
    color: #aaaaaa;
    height: 85px;
}
.footer_menu > li {
    display: block;
    padding: 0 0 10px 0;
    margin-left: 20px;
}
.footer_menu > li > a, .footer_menu > li > span {
    text-decoration: none;
    /* color: #666666; */
    color: #aaaaaa;
}
.footer_menu > li > a:hover, .footer_menu > li > span:hover {
    background-image: linear-gradient(45deg, #8000FF, #0080FF);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.footer_menu > li > span:hover {
    cursor: pointer;
}
.footer_segment {
    display: block;
    position: relative;
}
.footer_segment p:first-of-type {
    font-family: 'Bold', sans-serif;
    margin-left: 20px;
}
#footer_copyright {
    float: left;
    max-width: 300px;
}
#footer_settings {
    float: right;
    margin-right: 20px;
}
#footer_news {
    float: right;
}
#footer_info {
    float: right;
}

.selector {
    height: 30px;
    width: 66px;
    padding: 0;
    background: linear-gradient(45deg, #8000FF, #0080FF);
    border-radius: 15px;
    cursor: pointer;
}
.selector li {
    list-style-type: none;
    display: block;
    float: left;
    text-align: center;
    width: 30px;
    height: 24px;
    line-height: 24px;
    border-radius: 13px;
    font-size: 15px;
    font-family: 'Bold', sans-serif;
}
.selector_item_left {
    margin: 3px 0 3px 3px;
}
.selector_item_right {
    margin: 3px 3px 3px 0;
}
.selector .active {
    background-color: #eeeeee;
}
.selector li a {
    color: #eeeeee;
}
.selector li.active a {
    color: #202020;
}
.selector li a:hover {
    color: #202020;
}

@media only screen and (max-width: 850px) {
    .footer_menu {
        margin: 0;
    }
    .footer_segment {
        width: 50%;
        margin: 0;
    }

    #footer_copyright {
        float: left;
        max-width: 50%;
    }
    #footer_settings {
        float: left;
        margin-right: 0;
    }
    #footer_news {
        float: left;
    }
    #footer_info {
        float: left;
    }
}
@media only screen and (max-width: 540px) {
    .footer {
        font-size: 12px;
    }
}


/* ---- POPUP ---- */

.popup {
    display: none;
    position: fixed;
    z-index: 20;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -100%);
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    box-shadow: 20px 20px 100px rgba(0,0,0,0.8);
    transition: opacity 1s ease, transform 0.5s ease;
    background: rgba(255, 255, 255, 0.7);
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
}
.popup.show {
    display: block;
    transform: translate(-50%, -50%);
}
.news {
    width: 500px;
    text-align: center;
    padding: 30px;
}
.ab_logo {
    width: 200px;
    height: 100px;
    margin: 50px auto 20px auto;
    background-image: url('graphics/ab_logo.png');
    background-size: cover;
    background-position: center;
}
.news ul {
    margin: 0;
    padding: 0;
}
.news ul li {
    list-style: none;
    padding: 20px;
}
.news input {
    width: 60%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #656565;
    border-radius: 20px;
} 
.news input[type="submit"] {
    padding: 10px 30px;
    border: none;
    border-radius: 20px;
    background-image: linear-gradient(45deg, #8000FF, #0080FF);
    color: #ffffff;
    cursor: pointer;
    transition: 0.3s;
}
.news input[type="submit"]:hover {
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    transform: scale(1.05);
}
.news .footnote {
    font-size: 12px;
    color: #666666;
    margin-top: 20px;
}
.footnote a {
    color: #666666;
    text-decoration: underline;
}
.footnote a:hover {
    background-image: linear-gradient(45deg, #8000FF, #0080FF);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}
@media only screen and (max-width: 600px) {
    .ab_logo {
        width: 150px;
        height: 75px;
        margin: 30px auto 15px auto;
    }
    .news {
        padding: 15px;
        width: 82vw;
    }
    .news h2 {
        padding-top: 10px;
        font-size: 18px;
    }
    .news h3 {
        font-size: 16px;
    }
    .news p {
        font-size: 14px;
    }
    .news .footnote {
        font-size: 10px;
    }
    .news input {
    width: 70%;
    }
}
.msbookings {
    width: 460px;
    height: 80vh;
    min-height: 600px;
    border: none;
    border-radius: 24px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    display: flex; /* ensures iframe can stretch */
    background: #ffffff;
}
.msbookings iframe {
    flex: 1;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 24px;
}
@media only screen and (max-width: 600px) {
    .msbookings {
        width: 90vw;
        height: 70vh;
        min-height: 400px;
    }
}