html, body {
    overflow-x: hidden;
}

body {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100vh;
    background: #0492c2;
}

section {
    background-image: url('img/bg2.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: fixed;
    overflow: hidden;
    width: 100%;
}

.bgBox {
    position: relative;
}

.modelBox {
    position: relative;
    width: 50%;
    height: 100vh;
}

.model {
    height: 100%;
    position: relative;
    z-index: 10;
}

.model2 {
    display: none;
}

.item {
    position: absolute;
    left: 15%;
    top: 15%;
    margin: auto;
    width: 80%;
    animation: scaleOpacity 1.5s infinite alternate;
}

.item2 {
    display: none;
}

@keyframes scaleOpacity {
  0% {
      transform: scale(0.9);
      opacity: 0;
  }
  100% {
      transform: scale(1);
      opacity: 1;
  }
}

.content {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    right: 0;
    width: 50%;
    text-align: center;
    padding: 50px;
    display: flex;
    align-items: center;
    flex-direction: column;
    z-index: 20;
    gap: 10px;
    padding-right: 8vh;
}

.logo {
    width: 170px;
}

.title_1 {
    width: 60%;
}

.title_2 {
    width: 50%;
}

.title_3 {
    width: 90%;
    animation: flash 0.6s ease-in-out infinite;
}

@keyframes flash {
    0% {
        opacity: 0.25;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.25;
    }
}

.title_4 {
    width: 50%;
}

.cta_btn {
    width: 80%;
    animation: zoom .25s infinite alternate;
    cursor: pointer;
    margin-top: 15px;
}

.cta_btn:hover{filter:drop-shadow(0px 0px 12px #0492c2);}

@keyframes zoom {
	0% {
		transform:scale(1);
	}
	100% {
		transform:scale(1.05);
	}
}

.tele_btn {
    position: absolute;
    bottom: 20px;
    right: 0;
    margin: auto;
    z-index: 50;
    width: 35%;
    animation: imgjump 1.5s infinite;
    animation-delay: 1s;
    right: -20%;
    cursor: pointer;
}

.tele_btn:hover{filter:drop-shadow(0px 0px 8px  gold);}

#popup_bg
{
    backdrop-filter: blur(5px);
    background: rgb(0,0,0, .5);
    position: fixed;
    width: 100vw;
    height: 100vh;
    z-index: 99;
    top: 0;
}

#popup
{
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: fixed;
    width: fit-content;
    height: fit-content;
    margin: auto;
    flex-direction: column;
    z-index: 9999;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

#popup img
{
    height: 70vh;
    z-index: 9;
    transition: all .3s ease-in-out;
    animation: zooming 1s infinite;
}

@keyframes zooming
{
    0%, 100%{transform: scale(0.95);}
    50%{transform: scale(1);}
}

#popup img:hover{cursor: pointer;}

.close_popup
{
    display: flex;
    justify-content: flex-end;
    padding: 4px;
    border-radius: 100%;
    border: 2px solid white;
    margin-bottom: -40px;
    transition: all .3s ease-in-out;
    z-index: 99;
}

.close_popup:hover
{
    transform: scale(0.9);
    cursor: pointer;
}

@keyframes imgjump {
    0%, 100%, 20%, 50%, 80% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ========================================================================== */
/* =============== MEDIA                         ============================ */
/* ========================================================================== */
@media only screen and (min-width: 2200px) {
    .cta_btn {
        width: 80%;
    }
}

@media only screen and (max-width: 1700px) {
    .content {
        padding: 50px 30px;
    }
    
    .logo {
        width: 150px;
    }
    
    .title_1 {
        width: 450px;
    }
    
    .title_2 {
        width: 350px;
    }
    
    .title_3 {
        width: 90%;
    }
    
    .title_4 {
        width: 350px;
    }
    
    
    .cta_btn {
        width: 80%;
    
    }
}



@media only screen and (max-width: 1200px) {
    .cta_btn {
        width: 80%;
    }
}

@media only screen and (max-width: 1024px) {
    #popup img
    {
        height: unset;
        width: 80vw;
    }
    
    section {
        background-image: url('img/m_bg2.webp');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        position: relative;
        overflow-y: auto;
        height: auto;
    }
    
    .content {
        width: 100%;
        position: relative;
        padding: 0;
    }
    
    .bgBox {
        position: relative;
        display: flex;
        flex-direction: column-reverse;
        padding: 0px;
    }
    
    .modelBox {
        height: auto;
        width: 100%;
    }
    
    .model {
        display: none;
    }
    
    .model2 {
        display: block;
        width: 100%;
        position: relative;
        z-index: 10;
    }
    
    .tele_btn {
        right: 0;
        left: 0;
        bottom: 10px;
        width: 35%;
        width: none;
    }
    
    .logo {
        width: 130px;
        padding-top: 10px;
    }
    
    .title_1 {
        width: 50%;
    }
    
    .title_2 {
        width: 45%;
    }
    
    .title_3 {
        width: 80%;
    }
    
    .title_4 {
        width: 43%;
    }
    
    .item {
        display: none;
    }
    
    .item2 {
        display: block;
        width: 80%;
        margin: auto;
        top: 15%;
    }
    

}

@media only screen and (max-width: 576px) {
    body {
        background-image: url('img/m_bg2.webp');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        position: relative;
        overflow-y: auto;
    }
    
    section {
        background-image: unset;
    }
    
    .tele_btn {
        width: 55%;
        bottom: 15px;
    }
    
    .logo {
        width: 110px;
    }
    
    .title_1 {
        width: 65%;
    }
    
    .title_2 {
        width: 63%;
    }
    
    .title_3 {
        width: 90%;
    }
    
    .title_4 {
        width: 61%;
    }
    
    .cta_btn {
        width: 50% !important;
    }
    
    .modelBox {
        position: relative;
    }
    
    .content {
        margin: 0;
    }
    
    .bgmou, .bgBox {
        height: 100%;
        overflow: auto;
    }
    
    .bgBox {
        justify-content: space-between
    }
}

@media only screen and (max-width: 400px) {
    .logo {
        width: 100px;
    }
    
    .title_1 {
        width: 70%;
    }
    
    .title_2 {
        width: 67%;
    }
    
    .title_3 {
        width: 90%;
    }
    
    .title_4 {
        width: 63%;
    }
    
    .cta_btn {
   
        margin-bottom: 20px;
    }
    
    .tele_btn {
        width: 60%;
        bottom: 10px;
    }
}

@media only screen and (max-width: 360px) {
 
}

@media only screen and (max-width: 1700px) and (min-width: 1024px) and (min-height: 800px) {
    .modelBox {
        height: auto;
    }
    
    .model {
        height: 100vh;
    }
}

@media only screen and (min-width: 2000px) and (min-height: 1200px) {
    .content {
        justify-content: center;
        gap: 20px;
        margin-bottom: 5%;
    }
    
    .logo {
        width: 200px;
    }
    
    .title_1 {
        width: 60%;
    }
    
    .title_2 {
        width: 55%;
    }
    
    .title_4 {
        width: 50%;
    }
    
    
    .item {
        width: 80%;
    }
}

@media only screen and (max-width: 2200px) and (min-height: 1024px) {
    .content {
        justify-content: center;
        gap: 20px;
        margin-bottom: 5%;
    }
    
    .logo {
        width: 200px;
    }
    
    .title_1 {
        width: 60%;
    }
    
    .title_2 {
        width: 55%;
    }
    
    .title_4 {
        width: 50%;
    }
    

}

@media only screen and (min-width: 2200px) and (max-height: 1000px) {
    section {
        position: relative;
        overflow-y: auto;
    }
    
    .modelBox {
        height: auto;
    }
    
    .model {
        height: 1200px;
    }
}
    
@media only screen and (max-width: 2200px) and (min-width: 1024px) and (max-height: 750px) {
    section {
        position: relative;
        overflow-y: auto;
    }
    
    .modelBox {
        height: auto;
    }
    
    .model {
        height: 750px;
    }
}
