section#section-home {
    margin-top: 110px;
    background-image: url("../images/kv.jpg?v=1.3");
    background-position: top center;
    background-size: contain;
    background-repeat: no-repeat;
    padding: 0;
    display: block;
    position: relative;
}

.kv {
    position: relative;
    aspect-ratio: 1920 /961;
    object-fit: contain;
    /* height: 871px; */
    /* background-image: url("../images/kv.png?v=1.3");
    background-position: top center;
    background-size: contain;
    background-repeat: no-repeat; */
}

.kv .register {
    display: inline-block;
    position: absolute;
    height: 7.8%;
    width: 8.3%;
    left: 6.1%;
    top: 53.8%;
    /* background-image: url("../images/kv_button.png?v=1.3"); */
    /* background-size: contain; */
    /* background-repeat: no-repeat; */
    /* background-color: red; */
}

.kv .webinar {
    position: absolute;
    left: 80.1%;
    top: 22.8%;
    background: none;
    max-width: 18%;
    height: auto;
    transform-origin: bottom left;
    transform: rotate(-5deg);
    -webkit-animation: rotate-webinar 1s linear infinite;
    -moz-animation: rotate-webinar 1s linear infinite;
    animation: rotate-webinar 1s linear infinite;
}

.kv .webinar img {
    aspect-ratio: 1049 / 306;
    width: 100%;
}

.kv-buttons.ui.grid {
    margin: 0;
    display: flex;
    justify-content: center;
    /* background-image: url("../images/kv_menu.png?v=1.3"); */
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    aspect-ratio: 1920 / 907;
    /* margin-top: -5%; */
    margin-bottom: 1rem;
    z-index: 1;
    position: absolute;
    padding-right: 5px;
    gap: 0.325rem;
    width: 50%;
    height: 100%;
    right: 0;
    top: 0;
}

.kv-buttons.ui.grid .kv-button.column:not(.row) {
    width: 15rem;
    height: 15rem;
    padding: 0;
    padding-right: 0.5rem;
    padding-bottom: 1rem;
}

.kv-buttons.ui.grid .kv-button {
    /* background-color: #F4EC2F; */
    /* height: 70%; */
    /* opacity: .5; */
    /* font-family: "Conthrax SemiBold"; */
    font-weight: bold;
    text-transform: uppercase;
    font-size: min(2vw, 2.3rem);
    line-height: 1.2;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    /* color: #396149; */
    /* text-shadow: 4px 4px 5px #387c3c82; */
    width: 29.5%;
    height: auto;
    aspect-ratio: 1 / 1;
    position: absolute;
    padding: 0 min(1.4vw, 1.4rem);
    /* padding-right: min(0vw, 1.5rem); */
    /* padding-bottom: min(1.7vw, 1.2rem); */
    padding-top: min(0.3vw, 0.5rem);
}

.kv-buttons.ui.grid .kv-button.speakers {
    background-image: url(../images/btn_kv_speaker.png?v=1.3);
    background-size: contain;
    background-repeat: no-repeat;
    top: 16%;
    right: 66%;
}

.kv-buttons.ui.grid .kv-button.rundown {
    background-image: url(../images/btn_kv_rundown.png?v=1.3);
    background-size: contain;
    background-repeat: no-repeat;
    top: 36.5%;
    right: 40%;
}

.kv-buttons.ui.grid .kv-button.enquiries {
    background-image: url(../images/btn_kv_contactus.png?v=1.3);
    background-size: contain;
    background-repeat: no-repeat;
    top: 57%;
    right: 68%;
}

.kv-buttons.ui.grid .kv-button.enquiries {
    padding-top: min(1.7vw, 1.7rem);
}

a.kv-button.nav-link.column.event-highlight {}

.kv-buttons.ui.grid .kv-button img {
    width: 100%;
    height: auto;
}

html[lang="zh-CN"] section#section-home {
    /* background-image: url("../images/kv_zh_cn.png"); */
}

html[lang="zh-HK"] section#section-home {
    /* background-image: url("../images/kv_zh_hk.png?v=1.3"); */
}

html[lang^="zh-"] .kv-buttons.ui.grid .kv-button {
    font-size: min(2.2vw, 2.5rem);
    padding-top: min(0.3vw, 0.5rem);
}

@media only screen and (max-width: 1599.98px) {
    section#section-home {
        margin-top: 150px;
    }
    
    .kv-buttons.ui.grid {
        /* margin-top: -150px; */
        /* gap: 2px; */
        /* padding-right: 0; */
    }
}

@media only screen and (max-width: 1299.98px) {
    section#section-home {
        margin-top: 150px;
    }

    .kv-buttons.ui.grid {
        /* margin-top: -130px; */
    }
}

/* @media only screen and (max-width: 1280.98px) {
  .kv .webinar {
    left: 79.1%;
    top: 22.8%;
 }

 
} */
/* @media only screen and (max-width: 1024.98px) {
  .kv .webinar {
    left: 80.1%;
    top: 27.8%;
 }

 
} */

@media only screen and (max-width: 991.98px) {
    section#section-home {
        margin-top: min(29vw, 110px);
        /*  aspect-ratio: 426 / 568;
        object-fit: contain;
        background-image: url(../images/kv.png?v=1.3); */
    }

    .kv {
        aspect-ratio: 1290 / 1600;
        object-fit: contain;
        background-image: image-set(url(../images/kv_mobile_en_us.jpg?v=1.3) 1x, url(../images/kv_mobile_en_us@2x.jpg?v=1.3) 2x, url(../images/kv_mobile_en_us@3x.jpg?v=1.3) 3x);
        background-position: bottom;
        /* background-attachment: fixed; */
        background-repeat: no-repeat;
        background-size: contain;
    }

    .kv .register {
        height: 7.3%;
        width: 21%;
        left: 10%;
        top: 42%;
    }

    .kv .webinar {
        left: 68.1%;
        top: 22.8%;
        max-width: 30%;
    }

    .kv .webinar img {
        width: 95%;
    }

    .kv-buttons.ui.grid {
        margin-top: -17%;
        /* background-image: url(../images/kv_menu_mobile.png?v=1.3); */
        aspect-ratio: 1179 / 222;
        gap: 0.325rem;
        width: calc(100% * 1784 / 1920);
        padding-bottom: 2px;
        padding-right: 2px;
        color: #285875;
    }

    .kv-buttons.ui.grid .kv-button.column:not(.row) {
        /* width: 30vw; */
        /* padding: 0; */
        /* position: absolute; */
        /* text-shadow: 2px 2px 3px #387c3c82; */
        width: 48.5%;
        font-size: min(4vw, 3.125rem);
    }

    html[lang="zh-HK"] .kv-buttons.ui.grid .kv-button.column:not(.row),
    html[lang="zh-CN"] .kv-buttons.ui.grid .kv-button.column:not(.row) {
        font-size: min(4.7vw, 3.125rem);
    }

    .kv-buttons.ui.grid .kv-button.column:not(.row):nth-child(1) {
        /* left: 15vw; */
        /* top: 80vw; */
    }

    .kv-buttons.ui.grid .kv-button.column:not(.row):nth-child(2) {
        /* right: 15vw; */
        /* top: 80vw; */
    }

    .kv-buttons.ui.grid .kv-button.column:not(.row):nth-child(3) {
        /* left: 35vw; */
        /* top: 100vw; */
    }

    .kv-buttons.ui.grid .kv-button.column:not(.row):nth-child(4) {
        /* right: 5vw; */
        /* top: 100vw; */
    }

    html[lang="zh-CN"] .kv {
        /* background-image: image-set(  url(../images/kv_mobile_zh_cn.png?v=1.3) 1x,  url(../images/kv_mobile_zh_cn@2x.png?v=1.3) 2x,  url(../images/kv_mobile_zh_cn@3x.png?v=1.3) 3x); */
    }

    html[lang="zh-HK"] .kv {
        /* background-image: image-set(  url(../images/kv_mobile_zh_hk.png?v=1.3) 1x,  url(../images/kv_mobile_zh_hk@2x.png?v=1.3) 2x,  url(../images/kv_mobile_zh_hk@3x.png?v=1.3) 3x); */
    }

    .kv-buttons.ui.grid .kv-button {
        width: 32.5%;
        font-size: min(3.5vw, 2.1rem);
        padding: 0px min(4.4vw, 2.4rem);
        padding-top: min(0.3vw, 0.5rem);
    }

    .kv-buttons.ui.grid .kv-button.enquiries {
        padding-top: min(2.5vw, 1.5rem);
    }

    .kv-buttons.ui.grid .kv-button.speakers {
        background-image: url(../images/btn_kv_speakers_mobile.png?v=1.3);
        top: 81%;
        right: unset;
        left: -1%;
    }
    
    .kv-buttons.ui.grid .kv-button.rundown {
        background-image: url(../images/btn_kv_rundown_mobile.png?v=1.3);
        top: 88%;
        right: unset;
        left: 30.5%;
    }
    
    .kv-buttons.ui.grid .kv-button.enquiries {
        background-image: url(../images/btn_kv_contactus_mobile.png?v=1.3);
        top: 83%;
        right: unset;
        left: 64%;
    }

    html[lang^="zh-"] .kv-buttons.ui.grid .kv-button {
        font-size: min(4vw, 2rem);
    }
}

@media only screen and (max-width: 767.98px) {
    section#section-home {
        margin-top: min(29vw, 110px);
    }

    .kv-buttons.ui.grid .kv-button.column:not(.row):nth-child(1),
    .kv-buttons.ui.grid .kv-button.column:not(.row):nth-child(2) {
        /* top: 90vw; */
    }

    .kv-buttons.ui.grid .kv-button.column:not(.row):nth-child(3),
    .kv-buttons.ui.grid .kv-button.column:not(.row):nth-child(4) {
        /* top: 111vw; */
    }
}

@media only screen and (max-width: 699.98px) {
    section#section-home {
        margin-top: min(29vw, 110px);
    }

    .kv-buttons.ui.grid .kv-button.column:not(.row):nth-child(1),
    .kv-buttons.ui.grid .kv-button.column:not(.row):nth-child(2) {
        /* top: 90vw; */
    }

    .kv-buttons.ui.grid .kv-button.column:not(.row):nth-child(3),
    .kv-buttons.ui.grid .kv-button.column:not(.row):nth-child(4) {
        /* top: 111vw; */
    }
}

@media only screen and (max-width: 499.98px) {
    section#section-home {
        margin-top: min(29vw, 110px);
    }

    .kv-buttons.ui.grid .kv-button.column:not(.row):nth-child(1),
    .kv-buttons.ui.grid .kv-button.column:not(.row):nth-child(2) {
        /* top: 96vw; */
    }

    .kv-buttons.ui.grid .kv-button.column:not(.row):nth-child(3),
    .kv-buttons.ui.grid .kv-button.column:not(.row):nth-child(4) {
        /* top: 116vw; */
    }
}



/***    Animations    ***/
@-moz-keyframes rotate-webinar {

    0%,
    100% {
        -moz-transform: rotate(-5deg);
    }

    50% {
        -moz-transform: rotate(5deg);
    }
}

@-webkit-keyframes rotate-webinar {

    0%,
    100% {
        -webkit-transform: rotate(-5deg);
    }

    50% {
        -webkit-transform: rotate(5deg);
    }
}

@keyframes rotate-webinar {

    0%,
    100% {
        -webkit-transform: rotate(-5deg);
        transform: rotate(-5deg);
    }

    50% {
        -webkit-transform: rotate(5deg);
        transform: rotate(5deg);
    }
}

/***    Animations    ***/