@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300&display=swap');

@font-face {
    font-family: "Americana BT";
    src: url("../fonts/americana_bt.ttf");
}
html, body
{
    background-color: white;
    scroll-behavior: smooth;
    height: max-content;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* mrsArea */

.mrs-area {
    width: 100%;
    min-height: 100vh;
    max-height: max-content;
    background: rgb(171,171,171);
    margin-top: 1px;
    /* background: linear-gradient(90deg, rgba(171,171,171,1) 0%, rgba(218,218,218,1) 35%, rgba(200,200,200,1) 73%, rgba(176,176,176,1) 89%); */
    position: relative;
    overflow: hidden;


}

.mrs-area-head {
    width: 100%;
   height: max-content;
    background-color: rgb(53, 107, 162);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    padding: 20px 0px;

}

.closed {
 display: none;

}


.tombol-opacity {
display: none;
}

/* .mrs-area-head h1 {
    text-transform: uppercase;
    font-size: 30px;
    font-weight: bold;
    padding-top: 40px;
    

} */
.mrs-area-head h2 {
    position: relative;
    bottom: 0;
    text-align: center;
    width: 100%;

}
.mrs-3d {
position: relative;
height: 100%;
min-width: 100vw;
min-height: 100vh;
background-size: 100%;
background-position: center;
background-repeat: no-repeat;

}
.mrs-area-open {
        background: linear-gradient(90deg, rgba(171,171,171,1) 0%, rgba(218,218,218,1) 35%, rgba(200,200,200,1) 73%, rgba(176,176,176,1) 89%);
}
model-viewer {
    width: 100%;
    height: 100vh;
    margin: auto;
    position: relative;

}
#overlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 2;
    cursor: context-menu;
  }
.modal {
    display: none;
    pointer-events:none;
    text-align: center;
    background-color: whitesmoke;
    position: absolute;
    left: 0;
    margin: auto 300px;
    padding: 100px auto;
    color: black;
    z-index: 3;
    border-bottom-left-radius:12px;
    border-bottom-right-radius:12px;
    border-top-left-radius:12px;
    border-top-right-radius:12px;
    animation: slide_up 1.4s ease;
}

.modal .header{
    width: 100%;
    background-color: rgb(53, 107, 162);
    border-bottom: 2px solid black;
    border-top: 2px solid black;
    border-right: 1px solid black;
    border-left: 1px solid black;
    border-top-left-radius:12px;
    border-top-right-radius:12px;
    display: flex;
    justify-content: center;
  }
  .modal .header p{
    font-size: 24px;
    color:white;
  }
  .modal .header .close{
    font-size: 24px;
    cursor: pointer;
    right: 0;
    position: absolute;
    margin-right: 5px;
  }
  .modal .header .close i:hover{
    border-radius: 50%;
    color: white;
  }
  .modal .body{
    margin-top:20px;
    border-top: solid 1px black;
  }
  .modal .body img{
    max-width:70%;
  }
  .modal .body p{
    font-size: 14px;
    margin: auto 50px;
    padding-bottom: 20px;
    text-align:justify;
  }
  #text{
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 50px;
    color: white;
    transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
  }

.show {
    visibility: visible;
    opacity: 1;
    max-height: 1000px;
    transition: 0.5s ease;
}

 .active-img {
    border: 2px solid #32a6ff;
    padding: 2px;
  }

  .overflow-hide {
    overflow: hidden;
}
@media screen and (max-width:1370px) {
   /* modalPopup */

   .modal {
    display: none;
    pointer-events:none;
    text-align: center;
    background-color: whitesmoke;
    position: absolute;
    left: 0;
    margin: auto 100px;
    padding: 10px;
    color: black;
    z-index: 9999;
    border-bottom-left-radius:12px;
    border-bottom-right-radius:12px;
    border-top-left-radius:12px;
    border-top-right-radius:12px;
    animation: slide_up 1.4s ease;
}
.modal .header{
    width: 100%;
    background-color: rgb(53, 107, 162);
    border-bottom: 2px solid black;
    border-top: 2px solid black;
    border-right: 1px solid black;
    border-left: 1px solid black;
    border-top-left-radius:12px;
    border-top-right-radius:12px;
    display: flex;
    justify-content: center;
  }
.modal .body p{
    font-size: 12px;
    margin: auto 10px;
    padding-bottom: 20px;
    text-align:justify;
  }
  .modal .body img {
    max-width: 150px;
    max-height: 150px;

  }
  .modal .header p{
    font-size: 18px;
    color:white;
  }
  
  .modal .header .close{
    font-size: 18px;
    cursor: pointer;
    right: 0;
    position: absolute;
    margin-right: 12px;
  }
/* endModal */
}
@media screen and (max-width: 1024px) {
    .mrs-area {
        transform: translateY(50px);
    }
}
@media screen and (max-width: 768px) {
  .modal {
    display: none;
    pointer-events:none;
    text-align: center;
    background-color: whitesmoke;
    position: absolute;
    left: 0;
    margin: auto 20px;
    padding: 10px;
    color: black;
    z-index: 9999;
    border-bottom-left-radius:12px;
    border-bottom-right-radius:12px;
    border-top-left-radius:12px;
    border-top-right-radius:12px;
    animation: slide_up 1.4s ease;
}
.modal .header{
    width: 100%;
    background-color: rgb(53, 107, 162);
    border-bottom: 2px solid black;
    border-top: 2px solid black;
    border-right: 1px solid black;
    border-left: 1px solid black;
    border-top-left-radius:12px;
    border-top-right-radius:12px;
    display: flex;
    justify-content: center;
  }
.modal .body p{
    font-size: 12px;
    margin: auto 10px;
    padding-bottom: 20px;
    text-align:justify;
  }
  .modal .body img {
    max-height: 100px;
  }
  .modal .header p{
    font-size: 18px;
    color:white;
  }
  .modal .header .close{
    font-size: 18px;
    cursor: pointer;
    right: 0;
    position: absolute;
    margin-right: 12px;
  }
}

@media screen and (max-width: 450px) {

}

/* endMrsArea */