@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap");

html,
body {
  height: 100%;
}
body {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  background-color: #ffffff;
}
.ms-page,
#root {
  height: 100%;
  position: relative;
}
.ms-page h1 {
  font-size: 30px;
  font-weight: bold;
}
.ms-collage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  z-index: 1;
  overflow: hidden;
}
.ms-collage .background,
.background .bg-item-s,
.background .bg-item-top,
.background .bg-item-bottom {
  position: absolute;
}

.ms-collage .background {
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.background .bg-item-s {
  position: absolute;
  top: 25%;
  right: 0;
  width: 20%;
}
.background .bg-item-top {
  position: absolute;
  top: 0;
  left: 33%;
  width: 33%;
}
.background .bg-item-bottom {
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 50%;
}
.ms-collage_item-1,
.ms-collage_item-2,
.ms-collage_item-3,
.ms-collage_item-4,
.ms-collage_item-5,
.ms-collage_item-6 {
  z-index: 2;
}

.ms-collage_item-1 {
  width: 34%;
  height: auto;
  border-radius: 0 10px 10px 0;
  overflow: hidden;
  position: absolute;
  top: 20px;
  left: 0;
}
.ms-collage_item-2 {
  display: none;
  /* width: 260px;
  height: 170px; */
  border-radius: 0 0 10px 10px;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 30%;
}
.ms-collage_item-3 {
  width: 28%;
  height: auto;
  border-radius: 10px;
  overflow: hidden;
  position: absolute;
  top: 40px;
  right: 0;
}
.ms-collage_item-4 {
  width: 30%;
  height: auto;
  border-radius: 10px 0 0 10px;
  overflow: hidden;
  position: absolute;
  bottom: 40px;
  right: 0;
}
.ms-collage_item-5 {
  display: none;
  /* width: 260px;
  height: 170px; */
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  position: absolute;
  bottom: 0;
  right: 30%;
}
.ms-collage_item-6 {
  width: 35%;
  height: auto;
  border-radius: 0 10px 0 0;
  overflow: hidden;
  position: absolute;
  bottom: 0;
  left: 0;
}

.collage__embed {
  display: block;
  position: relative;
  padding-bottom: 75%;
  overflow: hidden;
  background-color: #eeeeee;
  text-decoration: none;
}
.collage__embed-item {
  display: block;
  position: absolute;
  left: 50%;
  top: 0;
  height: 100%;
  width: auto;
  -webkit-transform: translate(-50%, 0);
  -moz-transform: translate(-50%, 0);
  -ms-transform: translate(-50%, 0);
  -o-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
}
.ms-content {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ms-upload {
  max-width: 100%;
  width: 100%;
  padding: 0 20px;
  margin: auto;
  text-align: center;
}
.ms-upload .logo {
  margin-bottom: 10px;
}
.logo__img {
  width: 90px;
}
.ms-upload__event {
  margin-bottom: 16px;
}
.ms-upload__description {
  font-size: 12px;
  margin-bottom: 15px;
}
.ms-upload__buttons {
  margin-top: 15px;
  vertical-align: top;
}
.ms-upload__output {
  width: 280px;
  height: auto;
  border-radius: 20px;
  overflow: hidden;
  margin: auto;
}
.upload-progress__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f2f5f8;
}
.upload-progress__title {
  display: flex;
  flex-grow: 1;
  width: calc(100% - 40px);
}
.uploaded .upload-progress__title {
  color: #1b74e4;
}
.upload-progress__title .icon {
  display: none;
  width: 24px;
  font-size: 24px;
  margin-right: 0.75rem;
  color: #acafb5;
}
.uploaded .upload-progress__title .icon {
  color: #1b74e4;
}
.upload-progress__title .filename {
  width: calc(100% - 40px);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.upload-progress__bar {
  width: 100%;
  flex-grow: 1;
  order: 1;
}
.upload-progress__bar .progress {
  height: 8px;
}
.progress-bar__bottom {
  display: flex;
  width: 100%;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  margin-top: 6px;
  color: #acafb5;
}
.uploaded .progress-bar__bottom {
  color: #1b74e4;
}

.btn-upload-memory {
  display: inline-block;
  vertical-align: top;
}
.btn-upload-memory input[type="file"] {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}
.btn-upload-memory input[type="file"] + label {
  display: inline-block;
  max-width: 80%;
  min-width: 240px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  padding: 0.5rem 1.5rem;
  border-radius: 1.5rem;
  color: #ffffff;
  background-color: #1b74e4;
  border: 2px solid transparent;
}
.btn-upload-memory input[type="file"] + label .icon {
  margin-right: 0.25rem;
}
.btn-upload-memory input[type="file"] + label:hover,
.btn-upload-memory input[type="file"] + label:focus {
  color: #ffffff;
  background-color: #125ebe;
}
.btn-cta {
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  padding: 0.5rem 1.5rem;
  border-radius: 1.5rem;
  color: #ffffff;
  background-color: #1b74e4;
  border-width: 2px;
}
.btn-cta:hover,
.btn-cta:focus {
  color: #ffffff;
  background-color: #125ebe;
}
.btn-cta.disabled {
  background-color: #dedfe1;
  opacity: 1;
}
.btn-cta-outline {
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  padding: 0.5rem 1.5rem;
  border-radius: 1.5rem;
  color: #1b74e4;
  background-color: #ffffff;
  border-color: #1b74e4;
  border-width: 2px;
}
.btn-cta-outline:hover {
  color: #ffffff;
  background-color: #1b74e4;
}
.btn-action-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  font-size: 16px;
  color: #62cc72;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ebebeb;
  border: none;
  border-radius: 50%;
}
.uploaded .btn-action-icon {
  color: #1b74e4;
}
.btn-action-icon .fa-trash-alt {
  display: none;
}
.uploaded .btn-action-icon:hover {
  color: #1b74e4;
  background-color: #eaf4ff;
}
.btn-action-icon:hover .fa-times,
.btn-action-icon:hover .fa-trash-alt {
  display: inline;
}
.ms-upload .btn-cta {
  min-width: 240px;
}
.ms-modal-progress .btn-cta {
  min-width: 180px;
}
.ms-modal-signup .btn-cta,
.ms-modal-signup .btn-cta-outline {
  min-width: 120px;
}
.ms-modal-signup .form-wrap {
  width: 500px;
  max-width: 100%;
  margin-right: auto;
  margin-left: auto;
}
.ms-modal-signup h2 + p {
  width: 640px;
  max-width: 100%;
  margin-right: auto;
  margin-left: auto;
}
.ms-modal .logo__img {
  width: 90px;
}
.ms-modal .btn-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
}
.modal-content {
  border-radius: 1rem;
}
.modal-header {
  padding-top: 2rem;
  border-bottom: 0;
  border-top-left-radius: calc(1rem - 1px);
  border-top-right-radius: calc(1rem - 1px);
  position: relative;
}
.modal-footer {
  padding-bottom: 2rem;
  border-top: 0;
  border-bottom-left-radius: calc(1rem - 1px);
  border-bottom-right-radius: calc(1rem - 1px);
}
.form-control {
  padding: calc(0.5rem + 1px) 2.5rem;
  border-radius: 2rem;
}
.form-control-wrap {
  position: relative;
}
.form-control-wrap .form-control {
  padding-left: 3rem;
}
.form-control-wrap.user .icon,
.form-control-wrap.email .icon {
  position: absolute;
  top: calc(50% - 8px);
  left: 1.5rem;
  width: 16px;
  height: 16px;
  fill: #6c757d;
}
.form-control-wrap.user input:focus + .icon,
.form-control-wrap.email input:focus + .icon {
  fill: #1b74e4;
}

.msg-success {
  color: green;
  font-size: 15px;
  text-align: center;
  margin: 20px 0 30px;
}

/* optin-form-generator styles START */
.form_ontainer {
  width: 500px;
  max-width: 100%;
  margin-right: auto;
  margin-left: auto;
}
@media only screen and (min-width: 768px) {
  .form_ontainer {
    margin-top: 1.5rem;
  }
}
.form_ontainer .form {
  margin-top: 0.5rem;
}
.form_ontainer .form-control {
  padding: calc(0.5rem + 1px) 1.5rem;
}
.form_ontainer .form-group {
  margin-bottom: 1rem;
}
.form_ontainer h5 {
  font-size: 14px;
  margin-top: 1rem;
}
.form_ontainer button {
  width: 100%;
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  padding: 0.5rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 1.5rem;
  color: #ffffff;
  background-color: #1b74e4;
}
.form_ontainer button:hover,
.form_ontainer button:focus {
  color: #ffffff;
  background-color: #125ebe;
}
.form_ontainer #processing-block {
  display: block;
  margin-bottom: 1rem;
  text-align: center;
}
.form_ontainer #error,
.form_ontainer #success {
  padding: 0 1.5rem;
}
.form_ontainer #error {
  color: #f44336;
}
.form_ontainer #success {
  color: #4caf50;
}
/* optin-form-generator styles END */

@media only screen and (min-width: 768px) {
  .ms-page h1 {
    font-size: 46px;
  }
  .ms-upload {
    width: 520px;
  }
  .ms-upload .logo {
    margin-bottom: 30px;
  }
  .logo__img {
    width: 160px;
  }
  .ms-modal .logo__img {
    width: 140px;
  }
  .ms-upload__event {
    margin-bottom: 20px;
  }
  .ms-upload__description {
    font-size: 22px;
    margin-bottom: 20px;
  }
  .ms-upload__buttons {
    margin-top: 30px;
  }
  .ms-upload__output {
    width: 480px;
    height: auto;
    max-height: 280px;
    max-width: 100%;
  }
  .upload-progress {
    padding: 1rem;
  }
  .upload-progress__title {
    display: flex;
    align-items: center;
    width: 240px;
    margin-right: 1rem;
    flex-grow: 0;
  }
  .upload-progress__title .icon {
    display: inline;
  }
  .upload-progress__bar {
    width: auto;
    flex-grow: 1;
    order: 0;
  }
  .upload-progress__action {
    margin-left: 1rem;
  }
  .upload-progress__action .btn-action-icon:hover {
    color: #62cc72;
  }
  .ms-modal-signup h2 + p {
    font-size: 20px;
  }
  .ms-modal-signup .btn-cta,
  .ms-modal-signup .btn-cta-outline {
    min-width: 180px;
  }
  .btn-upload-memory input[type="file"] + label {
    padding: 0.5rem 2rem;
  }
  .btn-cta {
    padding: 0.5rem 2rem;
  }
  .ms-modal .modal-dialog {
    max-width: 680px;
  }
  .modal-header {
    padding: 3.75rem 2rem 0;
  }
  .modal-body {
    padding: 0 2rem;
  }
  .modal-footer {
    padding: 0 2rem 3.75rem;
  }
  .ms-modal h2 {
    font-size: 2.5rem;
  }
  .form_ontainer button {
    padding: 0.5rem 2rem;
  }
}

@media only screen and (min-width: 991px) {
  .ms-modal .modal-dialog {
    max-width: 820px;
  }
  .background .bg-item-s {
    position: absolute;
    top: 25%;
    right: 20px;
    width: auto;
  }
  .background .bg-item-top {
    position: absolute;
    top: 0;
    left: 50%;
    width: auto;
  }
  .background .bg-item-bottom {
    position: absolute;
    bottom: 0;
    left: 6%;
    width: auto;
  }
  .ms-collage_item-1 {
    width: 20%;
    height: auto;
    border-radius: 0 16px 16px 0;
    top: 40px;
    left: 0;
  }
  .ms-collage_item-2 {
    display: block;
    width: 13.5%;
    height: auto;
    border-radius: 0 0 16px 16px;
    top: 0;
    left: 30%;
  }
  .ms-collage_item-3 {
    width: 20%;
    height: auto;
    border-radius: 16px;
    top: 60px;
    right: 60px;
  }
  .ms-collage_item-4 {
    width: 21%;
    height: auto;
    border-radius: 16px 0 0 16px;
    bottom: 40px;
    right: 0;
  }
  .ms-collage_item-5 {
    display: block;
    width: 13.5%;
    height: auto;
    border-radius: 16px 16px 0 0;
    bottom: 0;
    right: 30%;
  }
  .ms-collage_item-6 {
    width: 24%;
    height: auto;
    border-radius: 0 16px 0 0;
    bottom: 0;
    left: 0;
  }
}
@media only screen and (min-device-width: 1024px) and (max-device-width: 1024px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 2) {
  .ms-collage_item-1 {
    width: 34%;
    height: auto;
    border-radius: 0 10px 10px 0;
    overflow: hidden;
    position: absolute;
    top: 20px;
    left: 0;
  }
  .ms-collage_item-2 {
    display: none;
    /* width: 260px;
    height: 170px; */
    border-radius: 0 0 10px 10px;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 30%;
  }
  .ms-collage_item-3 {
    width: 28%;
    height: auto;
    border-radius: 10px;
    overflow: hidden;
    position: absolute;
    top: 40px;
    right: 0;
  }
  .ms-collage_item-4 {
    width: 30%;
    height: auto;
    border-radius: 10px 0 0 10px;
    overflow: hidden;
    position: absolute;
    bottom: 40px;
    right: 0;
  }
  .ms-collage_item-5 {
    display: none;
    /* width: 260px;
    height: 170px; */
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    position: absolute;
    bottom: 0;
    right: 30%;
  }
  .ms-collage_item-6 {
    width: 35%;
    height: auto;
    border-radius: 0 10px 0 0;
    overflow: hidden;
    position: absolute;
    bottom: 0;
    left: 0;
  }
}

@media only screen and (min-device-width: 375px) and (max-device-width: 900px) and (-webkit-min-device-pixel-ratio: 3) and (orientation: landscape) {
  .ms-upload {
    width: 420px;
    max-width: 100%;
  }
  .logo__img {
    width: 90px;
  }
  .ms-page h1 {
    font-size: 30px;
  }
  .ms-upload__description {
    font-size: 12px;
    margin-bottom: 15px;
  }
  .ms-collage_item-1 {
    width: 22%;
    height: auto;
    border-radius: 0 10px 10px 0;
    overflow: hidden;
    position: absolute;
    top: 20px;
    left: 0;
  }
  .ms-collage_item-3 {
    width: 18%;
    height: auto;
    border-radius: 10px;
    overflow: hidden;
    position: absolute;
    top: 20px;
    right: 0;
  }
  .ms-collage_item-4 {
    width: 20%;
    height: auto;
    border-radius: 10px 0 0 10px;
    overflow: hidden;
    position: absolute;
    bottom: 20px;
    right: 0;
  }
  .ms-collage_item-6 {
    width: 25%;
    height: auto;
    border-radius: 0 10px 0 0;
    overflow: hidden;
    position: absolute;
    bottom: 0;
    left: 0;
  }
}

@media only screen and (min-width: 1199px) {
  .ms-page h1 {
    font-size: 56px;
  }
  .ms-upload {
    width: 900px;
  }
  .ms-modal .modal-xl {
    width: 1400px;
    max-width: 90%;
  }
}

@media only screen and (min-width: 1399px) {
  .ms-collage_item-1 {
    width: 400px;
    height: 260px;
    border-radius: 0 20px 20px 0;
    top: 50px;
    left: 0;
  }
  .ms-collage_item-2 {
    width: 260px;
    height: 170px;
    border-radius: 0 0 20px 20px;
    top: 0;
    left: 30%;
  }
  .ms-collage_item-3 {
    width: 380px;
    height: 250px;
    border-radius: 20px;
    top: 80px;
    right: 80px;
  }
  .ms-collage_item-4 {
    width: 400px;
    height: 260px;
    border-radius: 20px 0 0 20px;
    bottom: 50px;
    right: 0;
  }
  .ms-collage_item-5 {
    width: 260px;
    height: 170px;
    border-radius: 20px 20px 0 0;
    bottom: 0;
    right: 30%;
  }
  .ms-collage_item-6 {
    width: 460px;
    height: 340px;
    border-radius: 0 20px 0 0;
    bottom: 0;
    left: 0;
  }
}
