.bgi-primary {
  background-color: #ec1a3b;
}

.bingkai-auth {
  background-image: url(../bg/bingkai_gede.png);
  background-size: cover;
  background-size: 100% 100%;
  /* background-size: 620px 450px; */
  background-repeat: no-repeat;
  height:500px; 
  width:600px;
}

.konten-auth {
  margin-left: 90px;
}

.auth-username {
  margin-top: 130px;
}
.my-btn {
  background-color: #ec1a3b;
  color: white;
  width: 70%;
  height: 120%;
}

.bingkai-index {
  background-image: url(../bg/bingkai.png);
  background-size: 100% 100%;
  min-height: 300px;
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.max-width-img-200 {
  max-width: 200px;
}

.bingkai-ph-ch {
  background-image: url(../bg/photo_challengeAsset.png);
  background-size: 100% 100%;
  min-height: 600px;
  max-height: max-content;
  background-repeat: no-repeat;
}

.bg-konten-ph-ch {
  background-color: rgba(255, 255, 255, 0.5);
  margin-left: 20px;
}

.bingkai-galeri {
  background-image: url(../bg/bingkai.png);
  background-size: 100% 100%;
  min-height: 650px;
  max-height: max-content;
  background-repeat: no-repeat;
}

.konten-galeri {
  /*width: 95%;
  height: 450px;
  overflow: auto;
  margin: 20px 0px 20px 50px;*/

  width: 90%;
  height: 380px;
  overflow: auto;
  margin: 50px 0px 30px 50px;
}

.bingkai-upload {
  background-image: url(../bg/bingkai.png);
  background-size: 100% 100%;
  min-height: 600px;
  max-height: max-content;
  background-repeat: no-repeat;
}

.img-bg {
  background-image: url(../bg/bg.jpeg);
  background-size: 100% 100%;
  background-position: center center;
  min-height: fit-content;
  max-height: max-content;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
}

.body {
  background-image: url(../bg/bg.jpeg);
  background-size: 100% 100%;
  min-height: fit-content;
  max-height: max-content;
  background-repeat: no-repeat;
  background-size: cover;
}

.bg {
  display: block;
  position: fixed; /* Stay in place */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

.file-upload-btn:hover {
  color: #ffffff;
  transition: all 0.2s ease;
  cursor: pointer;
}

.file-upload-content {
  display: none;
  text-align: center;
}

.file-upload-input {
  position: absolute;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  outline: none;
  opacity: 0;
  cursor: pointer;
}

.image-upload-wrap {
  margin-top: 20px;
  border: 4px solid #ec1a3b;
  position: relative;
  background-color: #ffffff;
}

.image-dropping,
.image-upload-wrap:hover {
  background-color: #c2bfbf;
}

.image-title-wrap {
  padding: 0 15px 15px 15px;
  color: #222;
}

.drag-text {
  text-align: center;
  margin-bottom: 20px;
}

.drag-text h3 {
  font-weight: 100;
  text-transform: uppercase;
  color: #ec1a3b;
}

.file-upload-image {
  max-height: 200px;
  max-width: 200px;
  margin: auto;
  padding: 20px;
}

.remove-image {
  width: 100%;
  margin: 0;
  color: #fff;
  background: #ec1a3b;
  border: none;
  padding: 10px;
  border-radius: 4px;
  transition: all 0.2s ease;
  outline: none;
  text-transform: uppercase;
  font-weight: 700;
}

.remove-image:hover {
  background: #e72844;
  color: #ffffff;
  transition: all 0.2s ease;
  cursor: pointer;
}

.remove-image:active {
  border: 0;
  transition: all 0.2s ease;
}

/* css modal image */
/* Style the Image Used to Trigger the Modal */
#foto {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

#foto:hover {
  opacity: 0.7;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content,
#caption {
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
  .modal-content {
    width: 100%;
  }
}

@media screen and (max-width: 991px) {
  /* start of large tablet styles */
  .bingkai-auth {
    margin-top: 10%;
    min-height: 50vh;
    min-width: 100%;
  }

  .konten-hp {
    margin-top: -3%;
  }

  .my-btn-1 {
    background-color: #ec1a3b;
    color: white;
    width: 70%;
    height: 90%;
  }

  .bingkai-index {
    width: 85%;
    min-height: 30% !important;
  }

  .bingkai-ph-ch {
    width: 98%;
    height: 90%;
    padding-left: 20px;
    padding-right: 40px;
    padding-top: 60px;
  }

  .bingkai-galeri {
    width: 100vh;
    height: 90vh;
  }

  .konten-galeri {
    width: 97%;
    height: 65vh;
    margin-left: 15px;
  }
}

@media screen and (max-width: 757px) {
  /* start of medium tablet styles */
  .bingkai-auth {
    padding-left: 25%;
    padding-right: 9%;
    padding-top: 5%;
    min-height: 500px;
  }

  .my-btn-1 {
    background-color: #ec1a3b;
    color: white;
    width: 70%;
    height: 90%;
  }

  .bingkai-index {
    padding-top: 13% !important;
    height: 90%;
  }

  .bingkai-ph-ch {
    height: 88vh;
    padding-left: 40px;
    padding-right: 60px;
    padding-top: 70px;
  }

  .bingkai-galeri {
    min-height: 90vh;
    width: 100%;
  }

  .konten-galeri {
    width: 97%;
    height: 65vh;
    margin-left: 7px;
  }
}

@media screen and (max-width: 479px) {
  /* start of phone styles */
  .bingkai-auth {
    padding-left: 25%;
    padding-right: 9%;
    padding-top: 7%;
    min-height: 500px;
  }

  .my-btn-1 {
    background-color: #ec1a3b;
    color: white;
    width: 70%;
    height: 90%;
  }

  .bingkai-index {
    height: 90%;
    width: 90%;
  }

  .bingkai-ph-ch {
    height: 95vh;
    padding-left: 40px;
    padding-right: 60px;
    padding-top: 70px;
  }

  .bingkai-upload {
    padding-left: 20px;
    padding-right: 20px;
  }

  .bingkai-galeri {
    min-height: 90vh;
  }

  .konten-galeri {
    width: 97%;
    height: 65vh;
    margin-left: 7px;
  }
}

/* @media only screen and (max-width: 479px) {
  .konten-auth {
    margin-left: 10px;
  }

  .auth-username {
    margin-top: 150px;
    margin-left: 20px;
  }

  .auth-password {
    margin-left: 20px;
  }

  .my-btn-1 {
    background-color: #ec1a3b;
    color: white;
    width: 70%;
    height: 90%;
  }

  .konten-hp {
    margin-left: 45px;
    margin-right: 15px;
  }

  .bingkai-auth {
    background-image: url(../bg/bingkai_gede.png);
    background-size: cover;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    min-height: 500px;
  }

  .bg-konten-ph-ch {
    background-color: rgba(0, 0, 0, 0) !important;
    margin-left: 50px !important;
    padding-right: 70px !important;
    margin-top: 80px !important;
  }

  .bingkai-galeri {
    min-height: 800px !important;
  }

  .konten-galeri {
    width: 100% !important;
    height: 650px !important;
    padding-right: 30px !important;
    padding-left: 30px !important;
    margin: 20px 0px 200px 0px !important;
  }

  .bingkai-index {
    min-height: 800px !important;
    min-width: 90%;
  }

  .hp-mt {
    margin-top: 60px !important;
  }
}

@media only screen and (max-width: 767px) {
  .bingkai-upload {
    min-width: 100% !important;
    margin: 0;
    position: absolute;
    right: -50%;
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
  }

  .konten-galeri {
    max-width: 55vh !important;
    height: 60vh !important;
    margin: 60px 0px 0px 33px !important;
  }

  .bingkai-galeri {
    height: 98vh;
    width: 90vh !important;
  }
}
*/

@media only screen and (min-width: 2000px) {
  .center-x-y {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  }

  .bingkai-2k {
    max-width: 30%;
  }

  .bingkai-galeri {
    height: 90vh !important;
  }

  .konten-galeri {
    height: 65vh !important;
    padding-left: -600px !important;
  }
}
