/* Import Google Font - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
    *{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    }
    
    body{
      background-image: url(bgimage4.jpg);
      font-family: Arial, sans-serif;
      margin: 0;
      padding: 0;
    }

    :root{
      --green: #1ec6b6;
      --light-grey: #f7f7f7;
      --dark: #0e1010;
      --trans: all 0.3s ease-in-out;
  }
  .navbar{
      position: fixed;
      top: 0;
      width: 100%;
      background-color: transparent;
      padding: 1rem 0;
      z-index: 999;
  }
  .navbar .container{
      -webkit-box-pack: justify;
          -ms-flex-pack: justify;
              justify-content: space-between;
  }
  
  .site-brand{
      color: #fff;
      font-size: 2.4rem;
      font-family: 'Raleway', sans-serif;
      font-weight: 600;
      opacity: 0.95;
  }
  .site-brand span{
      font-weight: 300;
  }
  
  #navbar-show-btn{
      background: transparent;
      color: #fff;
      font-size: 2rem;
      opacity: 0.9;
      -webkit-transition: var(--trans);
      -o-transition: var(--trans);
      transition: var(--trans);
      border: none;
  }
  #navbar-show-btn:hover{
      opacity: 1;
  }
  
  /* navbar side menu */
  #navbar-collapse{
      background-color: var(--green);
      position: fixed;
      top: 0;
      right: 0;
      width: 300px;
      height: 100%;
      padding: 2rem;
      -webkit-transform: translateX(100%);
          -ms-transform: translateX(100%);
              transform: translateX(100%);
      -webkit-transition: var(--trans);
      -o-transition: var(--trans);
      transition: var(--trans);
  }
  .navbar-collapse-rmw{
      /* js related */
      -webkit-transform: translateX(0)!important;
          -ms-transform: translateX(0)!important;
              transform: translateX(0)!important;
  }
  #navbar-close-btn{
      background: none;
      color: #fff;
      width: 35px;
      height: 35px;
      border-radius: 0.2rem;
      font-size: 2rem;
      -webkit-transition: var(--trans);
      -o-transition: var(--trans);
      transition: var(--trans);
      position: absolute;
      right: 1rem;
      top: 2rem;
      border: none;
  }
  #navbar-close-btn:hover{
      background-color: #fff;
      color: var(--green);
  }
  .navbar-nav{
      margin-top: 5rem;
  }
  .nav-item{
      margin: 1.6rem 0;
  }
  .nav-link{
    color: black;
    font-size: large;
      font-weight: bold;
      font-size: 1.2rem;
      -webkit-transition: var(--trans);
      -o-transition: var(--trans);
      transition: var(--trans);
  }
  .nav-link:hover{
      color: #fff;
  }

 
  .container {
    display: flex;
    justify-content: center;
    align-items: center;
    
  } 

  .box {
    width: 550px;
    background: lightbrown;
    border-radius: 12px;
    padding-left: 10px;
    padding-top: 15px;
    text-align: center;
    box-shadow: 2px 2px 20px 5px brown;
    backdrop-filter: blur(15px); 
    -webkit-backdrop-filter: blur(5px);
   
}

  h1 {
    color: rgb(0, 0, 0, 0.7);
    font-weight: bold;
    font-size: 36px;
    padding: 30px 0;
    
  }


    
    .content {
        padding: 0 30px;
        
        
    }
    
    .input {
        background: #ffffff;
        box-shadow: 0px 0px 95px -30px rgba(0, 0, 0, 0.15);
        border: 1px solid black;
        border-radius: 12px;
        padding: 20px 0;
        margin-bottom: 20px;
    }

    
    .input label {
        display: block;
        font-size: 18px;
        font-weight: 600;
        color: #000;
        margin-bottom: 20px;
    }
    .input input {
        outline: none;
        border: none;
        border-bottom: 1px solid #4f7df9;
        width: 90%;
        text-align: center;
        font-size: 28px;
        font-family: "Nunito", sans-serif;
    }


    
    .inputW {
        background: #fff;
        box-shadow: 0px 0px 95px -30px rgba(0, 0, 0, 0.15);
        border-radius: 12px;
        padding: 10px 0;
        margin-bottom: 20px;
        border: 1px solid black;
    }


    .inputW label {
        display: block;
        font-size: 18px;
        font-weight: 600;
        color: #000;
        margin-bottom: 20px;
    }
   .inputW input {
        outline: none;
        border: none;
        border-bottom: 1px solid #4f7df9;
        width: 50%;
        text-align: center;
        font-size: 28px;
        font-family: "Nunito", sans-serif;
    }

    .inputH {
        background: #fff;
        box-shadow: 0px 0px 95px -30px rgba(0, 0, 0, 0.15);
        border-radius: 12px;
        padding: 10px 0;
        margin-bottom: 20px;
        margin-right: 20px;
        border: 1px solid black;
    }


    .inputH label {
        display: block;
        font-size: 18px;
        font-weight: 600;
        color: #000;
        margin-bottom: 20px;
    }
   .inputH input {
        outline: none;
        border: none;
        border-bottom: 1px solid #4f7df9;
        width: 50%;
        text-align: center;
        font-size: 28px;
        font-family: "Nunito", sans-serif;
    }

  
button.calculate {
    cursor: pointer;
    font-family: "Nunito", sans-serif;
    color: #fff;
    background: rgb(97,138,254,1);
    font-size: 16px;
    border-radius: 7px;
    padding: 12px 0;
    width: 100%;
    outline: none;
    border: none;
    transition: all 0.5s;
  }
  button.calculate:hover {
    background: #0044ff;
  }

  
  
.result {
    padding: 10px 20px;
  }
  .result p {
    font-weight: 600;
    font-size: 22px;
    color: #000;
    margin-bottom: 15px;
  }
  .result #result {
    font-size: 36px;
    font-weight: 900;
    color: #4f7df9;
    background-color: #eaeaea;
    display: inline-block;
    padding: 7px 20px;
    border-radius: 55px;
    margin-bottom: 25px;
  }
  #comment {
    color: #4f7df9;
    font-weight: 800;
  }

.comment {
    display: none;
    border: dashed 1px;
    border-radius: 7px;
    padding: 5px;
}



.gender {
    display: flex;
    justify-content: space-around;
    align-items: center;
    align-content: center;
    background: #fff;
    box-shadow: 0px 0px 95px -30px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 30px 0;
    margin-bottom: 20px;
    border: 1px solid black;
}

  /* Style for Radio */
.gender .container {
    display: block;
    position: relative;
    padding-left: 45px;
    /* margin-bottom: 12px; */
    margin-top: 7px;
    cursor: pointer;
    font-size: 20px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
  
  /* Hide the browser's default radio button */
  .gender .container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
  }
  
  /* Create a custom radio button */
  .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border-radius: 50%;
  }
  
  /* On mouse-over, add a grey background color */
  .gender .container:hover input ~ .checkmark {
    background-color: #ccc;
  }
  
  /* When the radio button is checked, add a blue background */
  .gender .container input:checked ~ .checkmark {
    background-color: #2196F3;
  }
  
  /* Create the indicator (the dot/circle - hidden when not checked) */
  .checkmark:after {
    content: "";
    position: absolute;
    display: none;
  }
  
  /* Show the indicator (dot/circle) when checked */
  .gender .container input:checked ~ .checkmark:after {
    display: block;
  }
  
  /* Style the indicator (dot/circle) */
  .gender .container .checkmark:after {
       top: 9px;
      left: 9px;
      width: 30px;
      height: 30px;
      border-radius: 50%;
      background: white;
  }
  /* END Style for Radio */

.containerHW {
    display: flex;
    justify-content: space-around;
    align-items: center;
}
  




/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  padding-top: 300px;

}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 600px;
  border-radius: 10px;
  box-shadow: #393c76 -1px 2px 2px 1px;
}

#modalText {
  padding-top: 8px;
  padding-right: 5px;
  font-size: 18px;
  font-family: 'Poppins', sans-serif;
  color: rgb(24, 23, 23);
}

.modal-wrong {
border: 2px solid red;
}

.modal-correct {
  border: 2px solid green;
  }

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
}

.close:hover {
  color: #d41111; 
}


@media (max-width: 700px){


    .box {
        width: 380px;
    }



    
    .input label {

        font-size: 18px;
    }

    .inputH label, .inputW label {
        font-size: 14px;
    }


    .input input, .inputH input, .inputW input{
        font-size: 24px;
    }


    .modal-content {

      width: 380px;
    }
}

footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 20px;
  position: relative;
}