@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');
* {
  margin: 0;
  padding: 0;
  user-select: none;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  /* overflow: scroll;  */
}

body {
  background: #f2f2f2;
}

nav {
    position: absolute;
  background: rgb(27, 27, 27);
  transition: background-color 0.3s ease;
  
  width: 100%;
}

nav:after {
  content: '';
  clear: both;
  display: table;
}

nav .logo {
  float: left;
  color: white;
  font-size: 27px;
  font-weight: 600;
  line-height: 70px;
  padding-left: 60px;
  transition: color 0.3s ease;
}

nav ul {
  float: right;
  margin-right: 40px;
  list-style: none;
  position: relative;
}

nav ul li {
  float: left;
 
  background: rgb(27, 27, 27);
  margin: 0 5px;
  transition: background-color 0.3s ease;
}

nav ul li a {
  color: white;
  line-height: 70px;
  text-decoration: none;
  font-size: 18px;
  padding: 8px 15px;
  transition: color 0.3s ease, background-color 0.3s ease;
}

nav ul li a:hover {
  color: #33ffbb;
  border-radius: 5px;
  box-shadow: 0 0 5px #33ffbb, 0 0 10px #33ffbb;
}

nav ul ul li a:hover {
  box-shadow: none;
}

nav ul ul {
  position: absolute;
  top: 90px;
  border-top: 3px solid #33ffbb;
  opacity: 0;
  visibility: hidden;
  transition: top 0.3s ease, opacity 0.3s ease;
}

nav ul li:hover > ul {
  top: 70px;
  opacity: 1;
  visibility: visible;
}

nav ul ul li {
  position: relative;
  margin: 0px;
  width: 150px;
  float: none;
  display: list-item;
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

nav ul ul li a {
  line-height: 50px;
}

.show, .icon {
  display: none;
}

.fa-plus {
  font-size: 15px;
  margin-left: 40px;
}

@media all and (max-width: 968px) {
  nav ul {
    margin-right: 0px;
    float: left;
  }

  nav .logo {
    padding-left: 30px;
    width: 100%;
  }

  .show + a, ul {
    display: none;
  }

  nav ul li, nav ul ul li {
    display: block;
    width: 100%;
  }

  nav ul li a:hover {
    box-shadow: none;
  }

  .show {
    display: block;
    color: white;
    font-size: 18px;
    padding: 0 20px;
    line-height: 70px;
    cursor: pointer;
  }

  .show:hover {
    color: #33ffbb;
  }

  .icon {
    display: block;
    color: white;
    position: absolute;
    top: 0;
    right: 40px;
    line-height: 70px;
    cursor: pointer;
    font-size: 25px;
  }

  nav ul ul {
    top: 70px;
    border-top: 0px;
    float: none;
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
  }

  nav ul ul a {
    padding-left: 40px;
  }

  nav ul ul ul a {
    padding-left: 80px;
  }

  nav ul ul ul li {
    position: static;
  }

  [id^=btn]:checked + ul {
    display: block;
  }

  nav ul ul li {
    border-bottom: 0px;
  }

  span.cancel:before {
    content: '\f00d';
  }
}

.main {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 150px;
}
.main h1 {
    font-size: 40px;
    font-weight: 500;
}

label {
    text-align: left;
    margin-top: 10px;
    font-weight: bold
}
input[type="text"], textarea, select {
    width: 50%;
    padding: 8px;
    margin-top: 5px;
}
.area {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.btn {
    display: flex;
    
}
button {
    margin-top: 30px;
    padding: 10px 15px;
    background-color: rgb(27, 27, 27);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    width: 170px;
    align-items: center;
    margin-bottom: 50px;
}
button:hover {
    background-color: #333;
}
pre {
    background-color: #eee;
    padding: 10px;
    border-radius: 5px;
}
.error {
    color: red;
}
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    padding-top: 60px;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    text-align: center;
}
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#result {
    text-align: center;
    margin-bottom: 100px;
    
}

#result h2 {
    font-size: 30px;
    font-weight: 500;
}


#result h3 {
    font-size: 20px;
    font-weight: 500;
}
@media (max-width:786px) {
    .main h1 {
        font-size: 20px;
    }
    .main p {
        font-size:10px;
    }
}