/*General styles */
:root {
  --blue: #21abca;
  --golden: #f49c1e;
  --pink: #e95b9e;
  --off-white: #f4f4f4;
  --green: #b7d158;
  --grey: #cac8e4;
  --purple: #cac7e4;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  width: 100%;
  color: black;
  font-weight: 400;
  margin: 0;
  padding: 0;
}
main *,
main *::before,
main *::after {
  box-sizing: border-box;
}
.S3_fresca_painting_contest_2022_page h1 {
  font-family: Roboto;
  font-weight: 300;
  font-style: normal;
  color: black;
  font-size: 42px;
}
.S3_fresca_painting_contest_2022_page h2 {
  font-family: Roboto;
  font-weight: 700;
  font-style: normal;
  color: black;
  font-size: 2.5rem;
}
main p {
  font-size: 1rem;
  color: black;
  font-family: inherit;
  line-height: 1.625rem;
  font-weight: 400;
  margin: 1em 0;
}
main li {
  margin-bottom: 0;
}
a {
  text-decoration: none;
  color: black;
}
img {
  max-width: 100%;
  border: none;
  height: auto;
  image-rendering: -moz-crisp-edges; /* Firefox */
  image-rendering: -o-crisp-edges; /* Opera */
  image-rendering: -webkit-optimize-contrast; /* Webkit (non-standard naming) */
  image-rendering: crisp-edges;
  -ms-interpolation-mode: nearest-neighbor; /* IE (non-standard property) */
}
.primary__btn {
  font-weight: bold;
  border-radius: 28px;
  background-color: var(--blue);
  padding: 10px 18px;
  display: inline-block;
  color: white;
  font-size: 14px;
  line-height: 18px;
  margin-top: 1.5rem;
}
.S3_fresca_painting_contest_2022_page .btn--d {
  display: none;
}
.S3_fresca_painting_contest_2022_page .bold {
  font-weight: bold;
}
.S3_fresca_painting_contest_2022_page .italic {
  font-style: italic;
}
.S3_fresca_painting_contest_2022_page .u {
  text-decoration: underline;
}
.S3_fresca_painting_contest_2022_page .text-blue {
  color: var(--blue);
}
.S3_fresca_painting_contest_2022_page .text-golden {
  color: var(--golden);
}
.S3_fresca_painting_contest_2022_page .text-pink {
  color: var(--pink);
}
.S3_fresca_painting_contest_2022_page .text-grey {
  color: var(--grey);
}
.S3_fresca_painting_contest_2022_page .bg--pink {
  background-color: var(--pink);
}
.S3_fresca_painting_contest_2022_page .bg--grey {
  background-color: var(--grey);
}
.S3_fresca_painting_contest_2022_page .bg--green {
  background-color: var(--green);
}
.S3_fresca_painting_contest_2022_page .bg--blue {
  background-color: var(--blue);
}
.S3_fresca_painting_contest_2022_page .bg--white {
  background-color: white;
}
.S3_fresca_painting_contest_2022_page .center {
  text-align: center;
}
.S3_fresca_painting_contest_2022_page .container {
  max-width: 352px;
  margin: 0 auto;
  padding: 1rem;
}
.S3_fresca_painting_contest_2022_page .section__title {
  font-size: 45px;
  font-weight: 400;
  text-align: center;
  font-family: "Abril Fatface", cursive;
  line-height: 1;
  margin: 0.8em 0;
}
.S3_fresca_painting_contest_2022_page .section__subtitle {
  font-size: 14px;
  max-width: 352px;
  margin: 1rem auto;
  line-height: 1.3;
}
.S3_fresca_painting_contest_2022_page .hero {
  padding: 0;
  position: relative;
}
.S3_fresca_painting_contest_2022_page .hero .container {
  max-width: 100%;
  padding: 0;
}
@media (max-width: 1180px) {
  .S3_fresca_painting_contest_2022_page .section__title {
    font-size: 38px;
  }
}
@media (min-width: 961px) {
  .S3_fresca_painting_contest_2022_page .section__subtitle {
    max-width: 610px;
    margin: 1rem auto;
    font-size: 16px;
  }
  .S3_fresca_painting_contest_2022_page .btn--m {
    display: none;
  }
  .S3_fresca_painting_contest_2022_page .btn--d {
    display: block;
  }
  .S3_fresca_painting_contest_2022_page .primary__btn {
    font-size: 14px;
    padding: 12px 22px;
  }
  .S3_fresca_painting_contest_2022_page .container {
    max-width: 1164px;
    margin: 0 16px;
    margin: 0 auto;
  }
  .S3_fresca_painting_contest_2022_page .hero .container {
    max-width: 100%;
    padding: 0;
  }
}
.S3_fresca_painting_contest_2022_page .bg__hero {
  background-image: url(./images/hero.png);
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  background-position: top center;
  padding: 0 max(20px, 10vw);
  height: 500px;
  clip-path: inset(0% 0% 0% 0% round 0% 0% 80% 80% / 70% 70% 30% 30%);
  margin-bottom: 50px;
}
.S3_fresca_painting_contest_2022_page .hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.S3_fresca_painting_contest_2022_page .hero__content .paintnite__flower {
  max-width: 300px;
}
.S3_fresca_painting_contest_2022_page .hero__content h1 {
  margin: 20px 0;
  font-size: 45px !important;
  line-height: 1.2;
}
.S3_fresca_painting_contest_2022_page .hero .primary__btn {
  font-weight: bold;
  border-radius: 28px;
  background-color: black;
  padding: 10px 64px;
  display: inline-block;
  color: white;
  font-size: 14px;
  line-height: 18px;
  margin-bottom: 2rem;
}
.S3_fresca_painting_contest_2022_page .hero__content {
  padding-top: 30px;
  padding-bottom: 60px;
}
.S3_fresca_painting_contest_2022_page .painting__year {
  background-color: var(--pink);
  padding: 5px;
}
.S3_fresca_painting_contest_2022_page .painting__year .painting__year__title {
  text-align: center;
  font-size: 36px;
  font-weight: bold;
  color: #ffffff;
  margin: 1.5rem 0;
}
.S3_fresca_painting_contest_2022_page .best__hero {
  position: absolute;
  max-width: 350px;
  aspect-ratio: 350/436;
  height: 360px;
  box-shadow: 0px 9px 24.65px 4.35px rgb(0 0 0 / 39%);
  margin: 0 auto;
  animation: best-anim 6s infinite;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 1;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  background-image: url("./images/best-1.jpg");
}
@keyframes best-anim {
  0% {
    background-image: url("./images/best-1.jpg");
  }
  20% {
    background-image: url("./images/best-2.jpg");
  }
  35% {
    background-image: url("./images/best-3.jpg");
  }
  50% {
    background-image: url("./images/best-4.jpg");
  }
  65% {
    background-image: url("./images/best-5.jpg");
  }
  80% {
    background-image: url("./images/best-6.jpg");
  }
  97% {
    background-image: url("./images/best-1.jpg");
  }
  98% {
    background-image: url("./images/best-1.jpg");
  }
  99% {
    background-image: url("./images/best-1.jpg");
  }
  100% {
    background-image: url("./images/best-1.jpg");
  }
}
@media (max-width: 680px) {
  .S3_fresca_painting_contest_2022_page .best__hero {
    top: 130px;
  }
}
@media (min-width: 960px) {
  .S3_fresca_painting_contest_2022_page .hero__content .paintnite__flower {
    max-width: 540px !important;
  }
  .S3_fresca_painting_contest_2022_page .hero__content h1 {
    margin: 20px 0 !important;
    font-size: 80px !important;
    line-height: 1.2;
  }
  .S3_fresca_painting_contest_2022_page .hero .section__subtitle {
    max-width: 800px;
  }
  .S3_fresca_painting_contest_2022_page .btn__hero {
    margin-top: 0;
  }
  .S3_fresca_painting_contest_2022_page .hero .primary__btn {
    margin-top: 3rem;
    margin-bottom: 0;
  }
  .S3_fresca_painting_contest_2022_page .hero__content {
    padding-top: 40px;
    padding-bottom: 150px;
  }
  .S3_fresca_painting_contest_2022_page .painting__year .painting__year__title {
    font-size: 45px;
  }
  .S3_fresca_painting_contest_2022_page .best__hero {
    height: 440px;
    top: 90px;
  }
}
@media (min-width: 1381px) {
  .S3_fresca_painting_contest_2022_page .bg__hero {
    background-position: center -150px;
  }
}
.S3_fresca_painting_contest_2022_page .enter__now {
  background-color: #f4f4f4;
  padding-top: 0;
  padding-bottom: 40px;
}
.S3_fresca_painting_contest_2022_page .enter__now .section__title {
  margin: 0.8em auto;
  font-size: 38px;
}
.S3_fresca_painting_contest_2022_page .form__flex {
  display: flex;
  gap: 20px;
  flex-direction: column;
  max-width: 680px;
  margin: 0 auto;
  margin-top: 40px;
}
.S3_fresca_painting_contest_2022_page .enter__form {
  display: flex;
  width: 100%;
  gap: 20px;
}
.S3_fresca_painting_contest_2022_page .enter__form .input__form {
  background-color: #fff;
  border: 1px solid #f4f4f4;
  padding: 15px;
  border-radius: 100px;
  width: 100%;
}
.S3_fresca_painting_contest_2022_page .image-uploader {
  cursor: pointer;
}
::placeholder {
  color: black;
  font-weight: 400;
  font-size: 16px;
}
.S3_fresca_painting_contest_2022_page .enter__now .primary__btn {
  font-weight: bold;
  border-radius: 28px;
  background-color: var(--pink);
  padding: 10px 64px;
  display: inline-block;
  color: white;
  font-size: 14px;
  line-height: 18px;
  width: 100%;
  margin-top: 0;
  text-align: center;
  position: relative;
}
.S3_fresca_painting_contest_2022_page .relative {
  position: relative;
}
.S3_fresca_painting_contest_2022_page .attachment {
  position: absolute;
  top: calc(50% - 17px);
  right: 25px;
  max-width: 15px;
  cursor: pointer;
  border: none;
  margin: auto;
}
#image-uploader-div {
  padding: 15px 60px 15px 15px;
  min-width: 0;
  overflow-wrap: break-word;
}
@media (min-width: 960px) {
  .S3_fresca_painting_contest_2022_page .enter__now .section__title {
    margin: 0.8em auto;
    font-size: 45px;
  }
}
.S3_fresca_painting_contest_2022_page .painting__voting {
  display: block;
  grid-template-columns: auto auto auto;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
}
.S3_fresca_painting_contest_2022_page .painting__flex {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
  margin-top: 50px;
}
.S3_fresca_painting_contest_2022_page .painting__img {
  background-color: #f4f4f4;
  padding: 0 40px;
  min-height: 380px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.S3_fresca_painting_contest_2022_page .painting__img img {
  max-height: 380px;
}
.S3_fresca_painting_contest_2022_page .painting__like {
  background-color: #ef569d;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
}
.S3_fresca_painting_contest_2022_page .green {
  background-color: #008f8f;
}
.S3_fresca_painting_contest_2022_page .pink {
  background-color: #ef569d;
}
.S3_fresca_painting_contest_2022_page .painting__name {
  font-size: 16px;
  font-weight: bold;
}
@media (min-width: 980px) {
  .S3_fresca_painting_contest_2022_page .painting__voting {
    display: grid;
    grid-template-columns: auto auto auto;
    justify-content: center;
    gap: 20px;
  }
  .S3_fresca_painting_contest_2022_page .painting__img {
    height: 300px;
  }
  .S3_fresca_painting_contest_2022_page .painting__img img {
    max-height: 100%;
    max-width: 100%;
  }
}

.S3_fresca_painting_contest_2022_page .popup__bg {
  background-color: #fff;
  width: 90%;
  max-width: 500px;
  position: relative;
  border-radius: 20px;
  margin: 0 auto;
  padding: 30px;
  position: fixed;
  left: 50%;
  z-index: 1;
  transform: translateX(-50%);
  top: 110px;
  overflow: hidden;
}
.S3_fresca_painting_contest_2022_page .popup__flex {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}
.S3_fresca_painting_contest_2022_page .winner__title {
  font-size: 16px;
  letter-spacing: 0.2em;
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 0;
  text-align: left;
}
.S3_fresca_painting_contest_2022_page .popup__image img {
  max-width: 200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  box-shadow: 0px 7px 6.51px 0.49px rgba(0, 0, 1, 0.5);
}
.S3_fresca_painting_contest_2022_page .winner__content {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}
.S3_fresca_painting_contest_2022_page .winner__content .section__subtitle {
  max-width: 300px;
  margin: 0 auto;
  text-align: left;
}
.S3_fresca_painting_contest_2022_page .winner__content .section__title {
  margin-top: 20px;
  margin-bottom: 30px;
  text-align: left;
  max-width: 300px;
}
.S3_fresca_painting_contest_2022_page .paint__img img {
  max-width: 80px;
}

.S3_fresca_painting_contest_2022_page .brush__2 {
  position: absolute;
  max-width: 460px;
  top: -200px;
  right: -200px;
  z-index: -1;
}
.S3_fresca_painting_contest_2022_page .brush__1 {
  display: none;
}
@media (min-width: 960px) {
  .S3_fresca_painting_contest_2022_page .popup__flex {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    gap: 20px;
  }
  .S3_fresca_painting_contest_2022_page .popup__image img {
    max-width: 250px;
  }
  .S3_fresca_painting_contest_2022_page .winner__content {
    margin-top: 0;
  }
  .S3_fresca_painting_contest_2022_page .popup__bg {
    width: 100%;
    margin: 0 auto;
    max-width: 700px;
    top: 200px;
  }
  .S3_fresca_painting_contest_2022_page .brush__3 {
    position: absolute;
    max-width: 460px;
    bottom: -250px;
    right: -60px;
    z-index: -1;
    display: block;
  }
  .S3_fresca_painting_contest_2022_page .winner__content .section__title {
    font-size: 60px;
  }
  .S3_fresca_painting_contest_2022_page .brush__1 {
    position: absolute;
    max-width: 460px;
    bottom: -200px;
    left: -200px;
    z-index: -1;
    display: block;
  }
}
.S3_fresca_painting_contest_2022_page .overlay {
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}
