#canvas1 {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 999999998;
    pointer-events: none;
}

* {box-sizing: border-box}
.mySlides {display: none}
img {vertical-align: center;}

#selector_container{
  display: grid;
  grid-template-columns: 1fr 1fr;
  display: none;
}


/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: relative;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: rgb(246, 148, 231);
  font-weight: bold;
  font-size: 28px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.noscroll{
  overflow-y: hidden;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}

@font-face {
  font-family: Snell;
  src: url(./fonts/Snell.ttc);
}

@font-face {
  font-family: RYM;
  src: url(./fonts/RYM.otf);
}


@font-face {
  font-family: ArizonaLight;
  src: url(./fonts/ArizonaLight.otf);
}

@font-face {
  font-family: Diatype;
  src: url(./fonts/Diatype.otf);
}

@font-face {
  font-family: Bonbon;
  src: url(./fonts/Bonbon-Regular.ttf);
}

@font-face {
  font-family: Monument;
  src: url(./fonts/ABCMonumentGrotesk-Bold-Trial.otf);
}


.text{
  background-color: #ddf5ff;
}

#friend {
  background-image: url("./unterseite/becoming_friends/purplesky.gif");
  width: auto;
  height: 90vh;
  background-repeat:no-repeat;
  background-size:cover;
}

h1 {
font-family: RYM;
color:#00b7ff;
font-size: 6vh;
}

.special{
  font-family: ArizonaLight;
}

h2 {
font-family: Snell;
color:#00b7ff;
text-shadow: 3px 0px 1px rgb(255, 255, 255), 0 0 75px rgb(23, 139, 255), 0 0 75px rgb(86, 207, 255);;
font-size: 5vh;
font-weight: bolder;
line-height: 110%;
}

h3 {
  font-family: Bonbon;
  font-size: 10vh;
  color: #000000; 
}

h4 {

  font-family: ArizonaLight;
  font-size: 2vh;
  color: #000000;
}


p {
  font-family:ArizonaLight;
  color:#00b7ff;
  line-height: 1.6;
  font-size: 2.5vh;
}

.grid-container {
  display: grid;
  grid-template-columns: 1fr 4fr 1fr;
  grid-template-rows: auto 1fr auto; /* Kopf | Mitte | Unten */
  gap: 10px;
  min-height: 100vh; /* Seite immer volle Höhe */
}

/* Heart-Button Bereich unten mittig */
.heart-button {
  grid-column: 1 / -1;          /* über gesamte Breite */
  display: flex;                /* Buttons nebeneinander */
  justify-content: center;      /* zentriert horizontal */
  align-items: center;          /* zentriert vertikal */
  gap: 250px;                    /* Abstand zwischen Buttons */
  margin-bottom: 10vh; 
}

/* Button selbst */
.button {
  background: none;
  border: none;
  cursor: pointer;
}

.button img {
  width: 120px;   /* Button-Größe */
  height: auto;
}



.back_button {
  position: fixed;
  bottom: 5px;
  right: 16px;
  padding: 0%;
  border-radius: 0%;
  border-color: #ddf5ff00;
  background-color: rgba(220, 247, 255, 0);
  cursor: pointer;

  }

.backbutton {
  position: fixed;
  bottom: 8px;
  right: 16px;
  padding: 0%;
  border-radius: 0%;
  border-color: #fcfcfc00;
  background-color: rgba(255, 255, 255, 0);
  cursor: pointer;
}


/* datei auswählen */

input[type=file]{
  opacity: 0;
  display: block;
  font-size: 20px;
  position: absolute;
  justify-content: center;
  align-items: center;
  text-align: center;

}


/* unterseite GIFts */

body.GIFts{
  margin: 0;
  height: 100vh; /* Seite nimmt gesamte Höhe ein */
  background: linear-gradient(180deg, #FFFFD8, #6FFF7B);
}

.glowbutton {
  border: 1px transparent;
  -webkit-border-radius: 50px;
  border-radius: 100px;
  color: #FFFCA6;
  cursor: pointer;
  display: inline-block;
  font-family: Bonbon;
  font-size: 8vh;
  padding: 20px 70px;
  text-align: center;
  text-decoration: none;
  margin: 10px;
  margin-left: 20px;
  -webkit-animation: glowing 1300ms infinite;
  -moz-animation: glowing 1300ms infinite;
  -o-animation: glowing 1300ms infinite;
  animation: glowing 1300ms infinite;
}


.glow {
  border: 10px transparent;
  -webkit-border-radius: 40px;
  border-radius: 40px;
  color: #ffffff;
  cursor: pointer;
  display: inline-block;
  font-family: Monument;
  font-weight: bolder;
  font-size: 2vh;
  padding: 10px 10px;
  text-align: center;
  text-decoration: none;
  margin: 10px;
  margin-left: 20px;
  -webkit-animation: glowing 1300ms infinite;
  -moz-animation: glowing 1300ms infinite;
  -o-animation: glowing 1300ms infinite;
  animation: glowing 1300ms infinite;
  
}

@-webkit-keyframes glowing {
  0% {
    background-color: #33cd7b;
    -webkit-box-shadow: 0 0 3px #33cd7b;
  }
  50% {
    background-color:  #33cd7b;
    -webkit-box-shadow: 0 0 15px  #33cd7b;
  }
  100% {
    background-color: #33cd7b;
    -webkit-box-shadow: 0 0 3px #33cd7b;
  }
}
@keyframes glowing {
  0% {
    background-color: #33cd7b;
    box-shadow: 0 0 3px #33cd7b;
  }
  50% {
    background-color: #33cd7b;
    box-shadow: 0 0 15px #33cd7b;
  }
  100% {
    background-color: #33cd7b;
    box-shadow: 0 0 3px #33cd7b;
  }
}



.grid-container > div {
  text-align: center;
  padding: 40px 10px;
  font-size: 100px;
}

  .grid-text{
    display: grid;
    grid-template-columns: 1fr 4fr 1fr;
    grid-template-rows: 10vh 70vh 20vh;

  }
  

  .center {
    display: block;
    position: absolute;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }



  .center_friends {
    display: block;
    position: absolute;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px;
    top: 50%;
    left: 40%;
    transform: translate(-50%, -50%);
  }

  @page {
    size: A4;
    font-size: 3px;

}



  @media print{

    .noprint{
      display: none;
    }



  }
