* {
  box-sizing: border-box;
}
html,
body {
  padding: 0;
  margin: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  position: relative;
}

a {
  text-decoration: none;
}

.background-main {
  background: url("../images/background.png");
  /* background-size: 1920px auto; */
  background-size: 100%;
  background-position: center;
  height: 100%;
  min-height: 100vh;
  padding-bottom: 90px;
}

.wrap {
  max-width: 1263px;
  margin: 0 auto;
}

.header {
  padding-top: 52px;
}

.logo img {
  display: block;
  width: 600px;
  max-width: 100%;
  margin: 0 auto;
}

h1 {
  margin-top: 30px;
  color: #fff;
  text-align: center;
  font-size: 30px;
  line-height: 140.62%;
  font-weight: normal;
}

.btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  background: #7EB33C;
  border-radius: 5px;
  color: #fff;
  padding: 21px 0;
  width: auto;
}

.load-img {
  margin-top: 60px;
}

.load-img__container {
  width: 525px;
  max-width: 100%;
  height: 350px;
  background: #fff;
  margin: 0 auto 0 auto;
}
.load-img-btn {
  cursor: pointer;
  margin: 60px auto 0 auto;
  width: 526px;
  font-size: 25px;
  border-radius: 40px;
}

.photos {
  margin-top: 75px;
}

.photos__list {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-left: 70px;
}

.photos__item {
  margin-left: 70px;
  margin-bottom: 51px;
  width: 175px;
  height: auto;
}
.photos__item img {
  width: 100%;
  border-radius: 8px;
}
.drope-zone {
  position: relative;
  background-image: url("../images/AVE_2021_photo.png");
  background-repeat: no-repeat;
  background-size: 345px auto;
  background-position: center;
}

.file-input {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  z-index: 10;
}

.load-img img {
  display: block;
  margin: 0 auto;
  width: 525px;
  max-width: 100%;
}

.load-svg {
  display: none;
}

.load-svg object {
  display: block;
  position: fixed;
  top: 50%;
  left: 50%;
  margin: -140px 0 0 -100px;
  max-width: 250px;
  max-height: 250px;
}

.error-message {
  display: none;
  margin-top: 30px;
  font-size: 25px;
  color: #fff;
  text-align: center;
}

.load-img__text {
  position: absolute;
  /* display: flex;
  align-items: center;
  justify-content: center; */
  color: #d9dada;
  background: #fff;
  font-size: 35px;
  width: 100%;
  /* width: 340px;
  height: 58px; */
  top: 50%;
  left: 50%;
  margin-top: 10px;
  /* margin-left: -180px; */
  transform: translate(-50%, -50%);
  text-align: center;
}

.header__wrapper {
  position: relative;
  width: 100%;
}

.left-logo {
  position: absolute;
  left: 0;
  top: 0;
}

.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 60px 0 65px;
}

@media screen and (max-width: 1500px) {
  .background-main {
    background-size: auto 100%;
  }
}


@media screen and (max-width: 1200px) {

  .header__wrapper {
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
  }

  .left-logo {
    margin-top: 40px;
    position: relative;
  }
  .left-logo img {
    width: 20vw;
  }
}

@media screen and (max-width: 1250px) {
  .wrap {
    padding: 0 40px;
  }
  .photos__list {
    margin-left: 0;
    justify-content: center;
  }
  .photos__item {
    margin: 0 3px 7px 3px;
  }
}

@media screen and (max-width: 720px) {
  .wrap {
    padding: 0 40px;
  }
  h1 {
    font-size: 17px;
  }
  .load-img__container {
    height: 266px;
  }
  .drope-zone {
    background-size: 263px auto;
  }
  .load-img-btn {
    margin-top: 73px;
    width: 400px;
    max-width: 100%;
  }
  .photos {
    margin-top: 47px;
  }
  .photos__item {
    width: 131px;
  }
  .background-main {
    background-position: auto 100%;
  }
  .left-logo img {
    width: 185px;
  }
}

@media screen and (max-width: 450px) {
  .wrap {
    padding: 0 8px;
  }
  .load-img {
    margin-top: 40px;
  }
  .drope-zone {
    background-size: 240px auto;
  }
  .load-img__text {
    font-size: 28px;
    /* width: 280px; */
    /* margin-left: -140px; */
  }
}
