@font-face {
    font-family: 'Baby Girls Script';
    src: url('../../assets/font/Baby\ Girly.otf') format('opentype');
    src: url('../../assets/font/Baby\ Girly.ttf') format('opentype');
}

@font-face {
  font-family: 'Gilroy-ExtraBold';
  src: url('../../assets/font/Gilroy-ExtraBold.ttf') format('opentype');
}

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body{
    background-image: url('../../images/valentine/banner.png');
    background-size: cover;
}

.title{
    width: 90%;
    padding: 20px;
}

.container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    width: 100%;
    padding: 10px;
}

.background-1 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../images/valentine/etoile.svg');
    background-position: center;
    background-size: contain;
    z-index: -1;
    animation: zoomRotate-1 30s linear infinite;
}

.background-2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../images/valentine/hearts.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    z-index: -1;
    animation: zoomRotate-2 20s linear infinite;
}

.background-3 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../images/valentine/heart.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100px 100px;
    z-index: -1;
    animation: moveDiagonal-1 20s linear infinite alternate;
}

.background-4 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../images/valentine/heart.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100px 100px;
    z-index: -1;
    animation: moveDiagonal-2 30s linear infinite alternate;
}

@keyframes zoomRotate-1 {
    0% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(2) rotate(180deg);
    }
    100% {
        transform: scale(1) rotate(360deg);
    }
}

@keyframes zoomRotate-2 {
    0% {
        transform: scale(1)
    }
    50% {
        transform: scale(1.2)
    }
    100% {
        transform: scale(1)
    }
}

/* @keyframes zoomRotate-3 {
    0% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(15deg);
    }
    100% {
        transform: rotate(0deg);
    }
} */

@keyframes moveDiagonal-1 {
    0% {
        transform: translate(50%, 50%);
    }
    50% {
        transform: translate(-50%, -50%);
    }
}

@keyframes moveDiagonal-2 {
    0% {
        transform: translate(-50%, -50%);
    }
    50% {
        transform: translate(50%, 50%);
    }
}

form{
    width: 90%;
    padding: 20px;
}

input{
    width: 100%;
    padding-left: 10px;
    font-size: 16px;
    height: 40px;
    border: unset;
    border-radius: 4px;
    outline: none;
    background-color: rgb(255, 255, 255);
}

button{
    width: 100%;
    border: unset;
    height: 40px;
    border-radius: 4px;
    outline: none;
    margin-top: 10px;
    padding: 0px 20px;
    background-color: #F0634D;
    color: #fff;
    cursor: pointer;
}

h1{
    font-size: 71px;
    color: #e8eaf0;
    line-height: 72px;
    font-family: 'Baby Girls Script', cursive;
    text-shadow: 5px 5px 12px rgb(68, 2, 2);
}

span{
    font-size: 51px;
}

.wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    width: 100%;
    padding: 10px;
}

.headline{
    width: 90%;
    padding: 10px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

h2{
    font-size: 40px;
    color: #e8eaf0;
    font-family: 'Baby Girls Script', cursive;
    text-shadow: 5px 5px 12px rgb(68, 2, 2);
    padding-right: 15px;
}

h3{
  font-size: 30px;
  color: #e8eaf0;
  font-family: 'Baby Girls Script';
  text-shadow: 5px 5px 12px rgb(68, 2, 2);
  padding-right: 15px;
}

h4{
  font-size: 17px;
  margin: 10px 10px;
}

.heart{
    width: auto;
    height: 70px;
    padding-top: 15px;
}

img {
  height: auto;
  max-width: 100%;
  vertical-align: middle;
}

.btn {
  color: #ffffff;
  padding: 0.8rem;
  font-size: 14px;
  text-transform: uppercase;
  border-radius: 4px;
  font-weight: 400;
  display: block;
  width: 100%;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
}

.btn:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.cards {
  display: flex;
  width: 90%;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding-bottom: 20px;
}

.card_image{
  border-radius: 0.25rem;
}

.cards_item {
  display: flex;
  padding: 1rem;
  cursor: pointer;
}

@media (min-width: 30rem) {
  .cards_item {
    width: 50%;
  }
}

@media (min-width: 56rem) {
  .cards_item {
    width: 33.3333%;
  }
}

.card {
  border-radius: 8px;
  box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 10px;
  background-color: #F38271;
}

.card_content {
  padding: 1rem;
}

.card_title {
  color: #EBF2FE;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: 'Gilroy-ExtraBold';
  letter-spacing: 1px;
  text-transform: capitalize;
  margin: 0px;
  text-shadow: none;
}

.card_text {
  color: #ffffff;
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
  font-weight: 400;
}

/* MODAL ============================== */

.modal {
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.493);
    animation: openModal 500ms linear forwards;
}

.modal .card {
  /* background-image: url('images/floor.png');
  background-size: cover; */
  background: rgba(243, 130, 113, 0.9);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 80%;
  height: 60%;
}

.modal .card #close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 30px;
  height: auto;
  cursor: pointer;
}

.modal .card .brand {
   width: 35%;
   height: auto;
   border-radius: 50%;
   overflow: hidden;
}

.modal .card .brand img {
  width: 100%;
}

.modal .card .info{
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* OPEN MODAL ANIMATION */
@keyframes openModal {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* CLOSE MODAL ANIMATION */
@keyframes closeModal {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.close-modal-animation {
  animation: closeModal 500ms linear forwards;
}

h1 {
  text-align: center;
}

/* ============ MEDIA QUERIES =========== */

@media screen and (max-width: 800px) {
  .modal .card {
    flex-direction: column;
    width: 80vw;
    text-align: center;
  }

  .modal .card .brand {
    width: 15rem;
    height: 15rem;
    border-radius: 50%;
    overflow: hidden;
    margin-top: 0rem;
  }
}



