/*Basics*/
* {
  margin: 0;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  cursor: none;
}

body {
  overflow: hidden;
  
}

input {
  display: none;
}

/*Circle and hearts*/
.circle {
  background: #EF476F;
  border-radius: 50%;
  left: calc(50% - 10px);
  top: 252px;
  transition: all .5s cubic-bezier(0.22, 0.53, 0.37, 1.41);
}

.hearts, .hearts:before, .hearts:after, .circle {
  display: block;
  width: 20px;
  height: 20px;
  position: absolute;
}

.hearts {
  transform: rotate(-45deg);
}

.hearts:before, .hearts:after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: inherit;
}

.hearts:before {
  left: 12px;
}

.hearts:after {
  top: -12px;
}

#heart {
  background: #D33F49;
  z-index: 2;
  pointer-events: none;
}

#heartholder {
  top: 255px;
  left: calc(50% - 10px);
  cursor: none;
  z-index: 1;
  background: #f697e1;
  transition: all .2s ease-in;
}

/*Transform heart into key*/
#heartholder:hover {
  background: #ad6a9e;
}

#heartholder:hover ~ #heart{
  width: 7px;
  height: 27px;
  background: #ffcf0d;
}


#heartholder:hover ~ #heart:after {
  left: -7px;
  top: -19px;
  width: 12px;
  height: 12px;
  background: transparent;
  border: 5px #ffcf0d solid;
}

#heartholder:hover ~ #heart:before {
  border-radius: 0;
  top: 12px;
  left: 0;
  border-color: #ffcf0d;
  border-width: 4px;
  border-top-style: solid;
  border-bottom-style: solid;
  background: transparent;
  height: 9px;
}

/*Make the circle appear*/
#heartInput:checked ~ .circle {
  width: 400px;
  height: 400px;
  left: calc(50% - 200px);
  top: 50px;
}


.message, label.lang {
  font-family: 'IM Fell DW Pica', Arial, sans-serif;
}

.message {
  position: absolute;
  width: 300px;
  color: white;
  font-size: 18px;
  text-align: center;
  margin: 0 auto;
  line-height: 1.5;
  top: 150px;
  left: calc(50% - 150px);
  opacity: 0;
}

.message p:first-child {
  margin-bottom: 70px;
}

.love {
  font-family: 'IM Fell DW Pica', Arial, sans-serif;
  font-size: 30px;
}

/*Change language*/

label.lang {
  margin-right: 15px;
  display: block;
  float: right;
  color: #aaa;
  padding: 15px 5px;
  position: relative;
  z-index: 5;
  cursor: pointer;
}

input[type="radio"]:checked + label, label.lang:hover { 
  font-weight: bold; 
  text-decoration: underline;
  color: #383838;
} 

#checkENG:checked ~ .message.eng {
  opacity: 1;
}

#checkFR:checked ~ .message.fr {
  opacity: 1;
}

button {
  padding: 18px;
  cursor: pointer;
  background-color: rgb(255, 255, 255);
  color: white;
  border: none;
  outline: none;
  border-radius: 60px; /* Adjust the border-radius for curved edges */
  width: 40px; /* Adjust the width of the button */
  height: 40px;
  font-family: 'Coolvetica', 'Helvetica', sans-serif; /* Set the font style to Arial */
}


/* Media Query for smaller screens */
@media screen and (max-width: 768px) {
  .gallery {
      justify-content: center;
  }

  figure {
      width: 100%; /* Make each item take up the full width on smaller screens */
      margin: 10px 0; /* Adjust margin for better spacing */
  }
}
