@font-face {
  font-family: 'Cafe24SsurroundAir';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2105_2@1.0/Cafe24SsurroundAir.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

.tooltip{
  font-family: 'Cafe24SsurroundAir';
  position:absolute;
  font-size: 35px;
  left:83%;
  top:105%;
  border-bottom: 1px solid;
  }

  .texts{
    font-family: 'Cafe24SsurroundAir';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2105_2@1.0/Cafe24SsurroundAir.woff') format('woff');
  }
  .tooltip .tooltiptext {
    visibility: hidden;
    width: 250px;
    background-color: black;
    color: #fff;
    font-size:24px;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0px;
    
    /* Position the tooltip */
    position: absolute;
    z-index: 1;
    top: 120%;
    left: 10%;
    margin-left: -60px;
  }
  
  .tooltip:hover .tooltiptext {
    visibility: visible;
  }

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

  body {
    background-color: white;
    color: black;
    font-size: 25px;
  }
  .bg {
    /* The image used */
    background-image: url("family_pic.jpg");

    /* Full height */
    height: 100%;

    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }
 
 
  .dark-mode {
    background-color: rgba(0, 0, 0, 0.836);
    color: white;
  }
  .dark_toggle {
    position: fixed;
   left:96%;
 bottom:90%;
  }

  h1 {
    display: flex;
    justify-content: center;
    line-height: 28;
    font-size: 35px;
  }
  input[type="text"] {
    width: 50%;
    padding: 12px 20px;
    margin: 10px 50px;
    box-sizing: border-box;
    border: 3px solid #ccc;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    outline: none;
    position: relative;
    top: -8%;
  }

  label[for="fname"] {
    position: relative;
    right: -25px;
    top: -8%;
  }
  .button {
    position: relative;
    background-color: white;
    color: black;
    border: 2px solid #8e948f; /* yellow border button */
    font-size: 16px;
    cursor: pointer;
    cursor: pointer;
    left: -30px;
    top: -8%;
  }
  @media(min-width: 1800px) and (max-width:1920px){
    .small{
      position:relative;
      font-size:15px;
      margin:10px;
      bottom:10%;
      font-family: 'Cafe24SsurroundAir';
    }
   
    .me_hint {
      position: relative;
      bottom: -15%;
      left: -10%;
      width: 5%;
      height: 13%;
      margin: 5;
      padding: 5;
      background-color: Transparent;
      background-repeat: no-repeat;
      border: none;
      cursor: pointer;
      overflow: hidden;
      outline: none;
    }
    .father_hint {
      position: relative;
      right: -74%;
      top: -18%;
      width: 7%;
      height: 14%;
      margin: 5;
      padding: 5;
      background-color: Transparent;
      background-repeat: no-repeat;
      border: none;
      cursor: pointer;
      overflow: hidden;
      outline: none;
    }
    .sis_hint {
      position: relative;
      right: -71%;
      top: -15%;
      width: 8%;
      height: 15%;
      margin: 5;
      padding: 5;
      background-color: Transparent;
      background-repeat: no-repeat;
      border: none;
      cursor: pointer;
      overflow: hidden;
      outline: none;
      /* color: rgb(63, 60, 60); */
    }
    #me_demo {
      position: relative;
      right: -58%;
      font-size: 15px;
      bottom: -5%;
      width: 8%;
      height: 5%;
      margin: 5;
      padding: 5;
      color: rgb(63, 60, 60);
      font-family: 'Cafe24SsurroundAir';
    }
    
    #father_demo {
      position: relative;
      width: 8%;
      font-size: 15px;
      right: -81%;
      top: -30%;
      margin: 5;
      padding: 5;
      color: rgb(63, 60, 60);
      height: 5%;
      font-family: 'Cafe24SsurroundAir';
    }
  
    .mother_hint {
      position: relative;
      right: -39%;
      top: -18%;
      width: 7%;
      height: 10%;
      margin: 5;
      padding: 5;
      background-color: Transparent;
      background-repeat: no-repeat;
      border: none;
      cursor: pointer;
      overflow: hidden;
      outline: none;
    }
    #mother_demo {
      position: relative;
      width: 8%;
      font-size: 15px;
      right: -40%;
      top: -33%;
      margin: 5;
      padding: 5;
      color: rgb(63, 60, 60);
      height: 5%;
      font-family: 'Cafe24SsurroundAir';
    }
    
    #sis_demo {
      margin: 5;
      padding: 5;
      position: relative;
      width: 13%;
      font-size: 15px;
      right: -67%;
      top: -25%;
      color: rgb(63, 60, 60);
      font-family: 'Cafe24SsurroundAir';
      height: 5%;
    }
    .br_hint {
      position: relative;
      width: 7%;
      height: 16%;
      right: -14%;
      top: -30%;
      margin: 5;
      padding: 5;
      background-color: Transparent;
      background-repeat: no-repeat;
      border: none;
      cursor: pointer;
      overflow: hidden;
      outline: none;
    }
    #br_demo {
      margin: 5;
      padding: 5;
      position: relative;
      width: 13%;
      font-size: 15px;
      top: -55%;
      right: -15%;
      color: rgb(63, 60, 60);
      font-family: 'Cafe24SsurroundAir';
      height: 5%;
    }
     input[type="text"] {
      width: 50%;
      padding: 12px 20px;
      margin: 10px 50px;
      box-sizing: border-box;
      border: 3px solid #ccc;
      -webkit-transition: 0.5s;
      transition: 0.5s;
      outline: none;
      position: relative;
      top: -8%;
    }

    label[for="fname"] {
      position: relative;
      right: -25px;
      top: -8%;
    }
    .button {
      position: relative;
      background-color: white;
      color: black;
      border: 2px solid #8e948f; /* yellow border button */
      font-size: 16px;
      cursor: pointer;
      cursor: pointer;
      left: -30px;
      top: -8%;
    }
  }
  @media(min-width:1200px) and (max-width:1750px){
    .small{
      position:relative;
      font-size:15px;
      margin:10px;
      bottom:17%;
      font-family: 'Cafe24SsurroundAir';
    }
   
    input[type="text"] {
      width: 50%;
      padding: 12px 20px;
      margin: 10px 50px;
      box-sizing: border-box;
      border: 3px solid #ccc;
      -webkit-transition: 0.5s;
      transition: 0.5s;
      outline: none;
      position: relative;
      top: -8%;
    }

    label[for="fname"] {
      position: relative;
      right: -25px;
      top: -8%;
    }
    .button {
      position: relative;
      background-color: white;
      color: black;
      border: 2px solid #8e948f; /* yellow border button */
      font-size: 16px;
      cursor: pointer;
      cursor: pointer;
      left: -30px;
      top: -8%;
    }
   
    .me_hint {
      position: relative;
      bottom: -10%;
      left: -13%;
      width: 5%;
      height: 13%;
      margin: 5;
      padding: 5;
      background-color: Transparent;
      background-repeat: no-repeat;
      border: none;
      cursor: pointer;
      overflow: hidden;
      outline: none;
    }

    .father_hint {
      position: relative;
      right: -74%;
      top: -25%;
      width: 7%;
      height: 14%;
      margin: 5;
      padding: 5;
      background-color: Transparent;
      background-repeat: no-repeat;
      border: none;
      cursor: pointer;
      overflow: hidden;
      outline: none;
    }

    .sis_hint {
      position: relative;
      right: -69%;
      top: -20%;
      width: 10%;
      height: 15%;
      margin: 5;
      padding: 5;
      background-color: Transparent;
      background-repeat: no-repeat;
      border: none;
      cursor: pointer;
      overflow: hidden;
      outline: none;
      /* color: rgb(63, 60, 60); */
    }
    #me_demo {
      position: relative;
      right: -58%;
      font-size: 15px;
      width: 8%;
      height: 5%;
      margin: 5;
      padding: 5;
      color: rgb(63, 60, 60);
      font-family: 'Cafe24SsurroundAir';
    }
    
    #father_demo {
      position: relative;
      width: 8%;
      font-size: 15px;
      right: -81%;
      top:-37%;
      margin: 5;
      padding: 5;
      color: rgb(63, 60, 60);
      font-family: 'Cafe24SsurroundAir';
      height: 5%;
    }
  
    .mother_hint {
      position: relative;
      right: -39%;
      top: -25%;
      width: 7%;
      height: 10%;
      margin: 5;
      padding: 5;
      background-color: Transparent;
      background-repeat: no-repeat;
      border: none;
      cursor: pointer;
      overflow: hidden;
      outline: none;
    }
    #mother_demo {
      position: relative;
      width: 8%;
      font-size: 15px;
      right: -40%;
      top: -40%;
      margin: 5;
      padding: 5;
      color: rgb(63, 60, 60);
      height: 5%;
      font-family: 'Cafe24SsurroundAir';
    }
    
    #sis_demo {
      margin: 5;
      padding: 5;
      position: relative;
      width: 13%;
      font-size: 15px;
      right: -67%;
      top: -22%;
      font-family: 'Cafe24SsurroundAir';
      color: rgb(63, 60, 60);
      height: 5%;
    }
    .br_hint {
      position: relative;
      width: 7%;
      height: 16%;
      right: -14%;
      top: -35%;
      margin: 5;
      padding: 5;
      background-color: Transparent;
      background-repeat: no-repeat;
      border: none;
      cursor: pointer;
      overflow: hidden;
      outline: none;
    }
    #br_demo {
      margin: 5;
      padding: 5;
      position: relative;
      width: 13%;
      font-size: 15px;
      top: -62%;
      right: -15%;
      color: rgb(63, 60, 60);
      font-family: 'Cafe24SsurroundAir';
      height: 5%;
    }
  }

  input[type="text"]:focus {
    border: 3px solid #555;
  }

  .button:hover {
    background-color: rgb(107, 110, 109);
    color: rgb(255, 255, 255);
  }
  span::before {
    content: "5명이 ";
    animation: animate infinite 15s;
    padding-left: 15px;
    color: #767a78;
  }

  @keyframes animate {
    10% {
      content: "5명이 ";
    }
    20% {
      content: "엄마가";
    }

    40% {
      content: "아빠가 ";
    }
    60% {
      content: "제가 ";
    }

    80% {
      content: "여동생이 ";
    }

    100% {
      content: "남동생이 ";
    }
  }

  /* width */
  ::-webkit-scrollbar {
    width: 20px;
  }

  /* Track */
  ::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
  }

  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: rgb(109, 110, 109);
    border-radius: 10px;
  }

  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #515351;
  }

  .text_title {
    position: relative;
    text-align: center;
    bottom: -300px;
    font-size: 25px;
    margin: 0;
    padding: 0;
  }

