@font-face {
  font-family: 'DosisLight'; /* Give your font a unique name */
  src: url('Dosis-Light.ttf') ; /* Specify paths and formats */
}

@font-face {
  font-family: 'DosisBold'; /* Give your font a unique name */
  src: url('Dosis-Bold.ttf') ; /* Specify paths and formats */
}

body {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: 95vh;
    background-color: #ffffff; /* Tinder's background color */
    position: relative;
    font-family: DosisLight;
  }
  .wrapper {
    width: 100%;
    max-width: 600px;
    margin: auto;
    position: relative;
    aspect-ratio: 9 / 16;
    background-image: url("assets/profile0.png");
    background-position: center center;
    background-size: cover;
  }
  .wrapper-en {
    width: 100%;
    max-width: 600px;
    margin: auto;
    position: relative;
    aspect-ratio: 9 / 16;
    background-image: url("assets/profile0E.png");
    background-position: center center;
    background-size: cover;
  }

  .intro {
    position: absolute;
    width: 100%;
    z-index: 1500;
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
  }

  .start-button {
    background: none;
    border: none;
    color: white;
    width: 90%;
    background-image: url("assets/start.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    height: 90px;
    margin: auto;
  }

  .start-button2 {
    background: none;
    border: none;
    color: white;
    width: 90%;
    background-image: url("assets/scannen.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    height: 90px;
    margin: auto;
  }
  
  .header {
    position: fixed;
    top:0px;
    left: 0px;
    right: 0px;
    z-index: 1500;
  }
  .header img {
    width: 100%;
  }

  .profileImage {
    position: fixed;
    background-image: url("assets/profile1.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    width: 100%;
    /*aspect-ratio: 1 / 1;*/
    height: 55vh;
    color: white;
    text-align: left;
    font-size: 24pt;
  }
 .profileIcon {
    padding-right: 20px;
    width: 40px;
  }
  
  .profileBioItem {
    display: flex; align-items: center; font-size: 14pt; width: 100%; margin-bottom: 0px;
    color: #000;
  }

  .footer {
    position: fixed;
    bottom: 0px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-image: url("assets/voteBackground.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 15;
    padding: 10px;
    min-height: 5vh;
    max-height: 5vh;
    background-position: center center;
  } 

  .card {
    width: 100%; /* Reduce width for a card-like feel */
    height: 100vh; /* Adjust height for better proportions */
    overflow: hidden;  /*Ensure image doesn't overflow */
    max-width: 600px;
    position: relative;
    box-sizing: border-box;
  }

  .videoChat {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    z-index: 1000;
    display: none;
    transition: 0.2s;
    opacity: 0;
    transform: scale(0.4);
  }
  .videoChatContent {
    position: relative;
    width: 100%;
    height: 100%;
  }
  .imgPreload {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: -1000
  }
  
  .profileStack {
    position: relative;
    height: 100%;
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  #chatVideo::-webkit-media-controls-panel {
    display: none;
  }
  .hide-video-ui video::-webkit-media-controls-panel {
    /* General browser styles */
    controls: none; /* Disables built-in controls */
    ::-webkit-media-controls-panel {
      display: none !important;
    }
    ::-webkit-media-controls-play-button,
    ::-webkit-media-controls-pause-button,
    ::-webkit-media-controls-rewind-button,
    ::-webkit-media-controls-forward-button,
    ::-webkit-media-controls-seek-back,
    ::-webkit-media-controls-seek-forward {
      display: none !important;
    }
    ::-webkit-media-controls-progress-bar {
      display: none !important;
    }
    ::-webkit-media-controls-current-time,
    ::-webkit-media-controls-duration {
      display: none !important;
    }
    ::-webkit-media-controls-volume-slider,
    ::-webkit-media-controls-volume-mute-button {
      display: none !important;
    }
    /* Firefox-specific styles */
    :-moz-range(min),
    :-moz-range(max) {
      display: none !important;
    }
  }

  .avatar {
    position: absolute;
    left: 0px;
    top:0px;
    width: calc(100%);
    height: 100%;
    object-fit: contain;
    z-index: 10;
    transition: .2s;
    margin-bottom:100%;
  }

  buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-image: url("assets/voteBackground.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    z-index: 10;
    padding: 10px 20px;
    height: 100px;
  }

  .closeChat {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    background-image: url("assets/voteBackground.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 10;
    padding: 10px 20px;
    min-height: 5vh;
    max-height: 5vh;
    padding-bottom: 15px;
  }

  .closeChatRomeo {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
    padding: 10px 20px;
    min-height: 5vh;
    max-height: 5vh;
    padding-bottom: 15px;
    display: flex;
  }
  
  .like-button, .dislike-button {
    background: none;
    border: none;
    color: white;
    font-size: 58px; /* Larger icons */
    width: 50%;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    height: 60px;
    text-align: center;
  }
  .like-button {
    background-image: url('assets/voteAccept.png');
  }
  .dislike-button {
    background-image: url('assets/voteDeny.png');
  }
  .closing-button {
    background: none;
    border: none;
    color: white;
    font-size: 58px; /* Larger icons */
    width: 100%;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    height: 60px;
    text-align: center;
    background-image: url('assets/weiter.png');
  }
  .closing-button-en {
    background: none;
    border: none;
    color: white;
    font-size: 58px; /* Larger icons */
    width: 100%;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    height: 60px;
    text-align: center;
    background-image: url('assets/continue.png');
  }
  .scan-button-de {
    background: none;
    border: none;
    color: white;
    width: 90%;
    background-image: url("assets/scanButton_ger.png");
    background-repeat: no-repeat;
    background-size: contain;
    display: none;
    height: 60px;
    margin: auto;
    background-position: center;
    z-index: 20;
  }
  .repeat-Button-de {
    background-image: url("assets/repeatVideoD.png") !important;
    display: none;
  }
  .scan-button-en {
    background: none;
    border: none;
    color: white;
    width: 90%;
    background-image: url("assets/scanButton_eng.png");
    background-repeat: no-repeat;
    background-size: contain;
    display: none;
    height: 60px;
    margin: auto;
    background-position: center;
    z-index: 20;
  }
  .repeat-Button-en {
    background-image: url("assets/repeatVideoE.png") !important;
    display: none;
  }

  .buttons img {
    width: 80%;
  }
  .circle {
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .videoPlayerBox {
    width: 100%;
    height: 95%;
    padding-bottom: 5%;
    box-sizing: border-box;

  }

  .profileInfoBox {
    width: 90%; 
    margin: auto;
    transition: .2s; 
    padding-top: 56vh;
    box-sizing: border-box;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    background: linear-gradient(45deg, #fef3f3 0%, #fdeaee 100%);
    color: black;
    border-radius: 5px;
  }