
* {
box-sizing: border-box;
-webkit-user-select: none; /* Safari */
-ms-user-select: none; /* IE 10 and IE 11 */
user-select: none; /* Standard syntax */
}

body {
    margin: 0;
}

.img-bg {
    height: 100%;
    width: 100%;
    z-index: -1;
    position: fixed;
}
#spine-icon{
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: 2;
}

.grid-container{
    margin: auto;
    position: relative;
    text-align: center;
    z-index: 3;
}

/* Style header */
.header {

}
.header.level_1 {
    z-index: 1; 
    height: 340px;
}
#spine-header {
    /* height: 400px; */
    position: relative;
    top: 30px;
}

/* Style middle */
.middle{
    position: relative;
}
.level_2 {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translate(-50%, 0);
    width: 100%;
    max-width: 900px;
    height: 700px;
    z-index: 3;
}
.img-slogan {
    max-height: 150px;
    width: 100%;
    position: relative;
    top: 50px
}
.pedestal-item {
    position: absolute;
    max-width: 630px;
    height: 250px;
    bottom: -150px;
    left: 50%;
    transform: translate(-50%, -50%);
}
@media (max-width: 1200px) {
    .img-slogan {
        max-height: 120px;
    }
    .img-slogan,
    .level_2 {
        max-width: 600px;
    }
    .pedestal-item {
        max-width: 420px;
        height: 180px;
        bottom: -100px;
    }
}
@media (max-width: 900px) {
    .img-slogan,
    .level_2 {
        max-width: 670px;
    }
    .pedestal-item {
        max-width: 480px;
        height: 210px;
    }
}
@media (max-height: 940px) {
    #spine-header {
        width: 400px;
        top: 10px;
    }
    .img-slogan{
        top: 10px;
        max-height: 120px;
    }
    .level_2 {
        top: 30px;
        height: 450px;
    }
    .pedestal-item {
        max-width: 420px;
        height: 120px;
        bottom: -110px;
    }
}
@media (max-height: 740px) {
    .level_2 {
        height: 380px;
    }
}
@media (max-width: 500px) {
    .img-slogan,
    .level_2 {
        max-width: 420px;
        width: 100%;
    }
    .level_2 {
        top: -30px;        
    }
    
    .pedestal-item {
        max-width: 270px;
        height: 120px;
        bottom: -20px;

    }
    #spine-icon{
        opacity: 0;
        display: none;
    }
}

/* Style the footer */
.footer {
    position: fixed;
    z-index: 4;
    width: 100%;
    bottom: 10px;   
}

.footer .button_group {
    max-width: 1400px;
}
.footer .row {
    grid-template-columns: 50% 50%;
}

/* Style the left right column */
.left {
position: fixed;
top: 40px;
left: 52px;
}

.right {
position: fixed;
top:40px;
right: 52px;
}
.ho_tro_icon {
    opacity: 0;
}
@media (max-width: 500px) {
    .right, .left {
        top:auto;
        bottom: 10px;
    }
    .left {
        left: 10px;
    }
    .right {
        right: 10px;
    }
    .footer {
        bottom: 30px;   
    }
    .tele-icon{
        position: fixed;
        left: 10px;
    }
}
@media (max-height: 900px) {
    .footer {
        bottom: 10px;
    }
}
.img-item {
    width: 100%;
}

.img-banner {
    width: 70%;
    margin: auto;
}

.display_center {
    display: grid;
    justify-content: center;
    align-content: center;
}

.hide {
    visibility: hidden;
}

/* Hover download link effect */
.img-download {
    max-width: 350px;
    width: 100%;
    max-height: 100px;
    padding: 8px;
}
.radio-btns {
    display: grid;
    gap: 4px;
    /* margin: 50px; */
    width: fit-content;
    grid-template-areas:
        'img-download img-download img-download img-download';
}
.img-icon  {
    max-height: 115px;
    max-width: 115px;
    display: block;
    z-index: 5 !important;
}
@media (max-height: 940px) {
    .img-icon {
        max-height: 75px;
        max-width: 75px;
    }
}
@media (max-width: 1000px) {
    .radio-btns {
        grid-template-areas:
        'img-download img-download'
        'img-download img-download';
    }
}
@media (max-width: 500px) {
    .radio-btns {
        margin: 0;
    }
    .img-icon {
        max-height: 50px;
        max-width: 50px;
        display: inline;
    }
}

.radio-btns:hover .radio-btns__btn:not(:hover) {
filter: grayscale(100%);
opacity: 0.75;
}

.radio-btns:hover .radio-btns__btn:not(:hover)::after {
background-color: rgba(#000, 0.5);
}
    
.radio-btns__btn {
    position: relative;
    cursor: pointer;
    transition: .3s;
}

.radio-btns__btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(#000, 0);
    transition: .3s;
}

.img-banner {
    animation: zoom-in-zoom-out-bigger 1s linear forwards, rotateAnimation 4s 0.5s ease-out forwards;
}

.img-banner:hover {
    animation: zoom-in-zoom-out-bigger 1s linear infinite, rotateAnimation 4s ease-out infinite;
}

.zoom {
    z-index: 1;
}

.zoom:hover {
    animation-delay:.4s;
    transform: rotate(0) scale(1.2);
}

.img-download:hover {
    animation: shake 0.4s;
    animation-delay:.4s;
    transition: all .3s cubic-bezier(.28,.05,.65,.97);
}
