@font-face {
  font-family: SFP;
  src: url(./fonts/FontsFree-Net-SFProDisplay-Regular.ttf);
}
/* --------------------------------------------- Body --------------------------------------------- */

body{
  background-color: #F0F2F5;
  display: flex;
  justify-content: center;
}
/* --------------------------------------------- Main Div --------------------------------------------- */

.main_div{
 padding-top: 72px;
 padding-bottom: 112px;
 display: flex;
 justify-content: space-evenly;
 width: 980px;
}
/* --------------------------------------------- Left Div --------------------------------------------- */

.left_div{
  width: 480px;
  padding-right: 32px;

}

#logo{
  height: 106px;
  padding: 112px 0 16px;
  margin: -28px;
  text-align: center;
}

h2{
  font-family: SFP;
  line-height: 32px;
  font-size: 28px;
  color: #1c1e21;
  padding-bottom:20px;
  font-weight: normal;
  margin: 0;
  text-align: center;
}
/* --------------------------------------------- Right Div --------------------------------------------- */

.right_div{
  align-items: center;  
}
.under_right_div{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  width: 370px;
  height: 320px;
  box-shadow: 0px 2px 9px 0px rgba(71, 71,71, 0.33);
  border-radius: 10px;
  padding: 10px 15px 24px;
  margin-top: 40px;
}

form{
  padding: 15px 0px 15px 0px;
  text-align: center;
}

.input{
  width: 100%;
  margin-bottom: 15px;
  padding: 15px 10px;
  font-size: 16px;
  box-sizing: border-box;
  border: 1px solid rgb(217, 217, 217);
  border-radius: 6px;
  outline: none;
}

.input:focus{
  border: 1.8px solid #0866FF;
}

#login_button{
  background-color: #0866FF;
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  width: 100%;
  margin-bottom: 16px;
  padding: 15px 10px;
  font-size: 16px;
  font-weight: bold;
}

#login_button:hover{
  cursor: pointer;
}
.fp{
  color: #0866ff;
  font-size: 14px;
  font-family: Helvetica, sans-serif;
}
form a{
  text-decoration: none;
  color: #3398ca;
  font-family: 'Arial Narrow Bold', sans-serif;
  
}

#create_button{
  background-color: #42B72A;
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  margin-bottom: 15px;
  padding: 15px;
  font-size: 14px;
  font-weight: bold;
}

#create_button{
  cursor: pointer;
}

form a:hover{
  text-decoration: underline;
}

hr{
  color: rgb(20, 20, 20);
  width: 100%;
  margin-left: 15px;
  margin-right: 15px;
 
}

#a-below-form{
  text-decoration: none;
  color: black;
  font-weight:600;
  font-family: Helvetica, Arial, sans-serif;
}

#a-below-form:hover{
  cursor: pointer;
}

#p-below-form{
  text-decoration: none;
  margin-top: 31px;
  color: black;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: lighter;
  text-align: center;
}
/* --------------------------------------------- Media Querrry --------------------------------------------- */
@media (max-width: 500px){
  .main_div{
    padding-top: 20px;
    flex-direction: column;
    justify-content: center;
    width: 100%;

   }
   .left_div{
    width: 100%;
    padding-right: 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .under_right_div{
    width: 300px;
    height: 270px;
    margin-top: 5px;
    padding: 5px;
  }
  #logo{
    height: 65px;
    padding: 10px 0 16px;
    margin: -28px;
    padding-bottom: 25px;
  }
  h2{
    font-size: 18px;
    line-height: 22px;
    color: #1c1e21;
    padding-bottom:20px;
    font-weight: normal;
    margin: 0 0 2px 0;
  }
  .input{
    padding: 10px 10px;
    font-size: 18px;
  }
  #login_button{
    padding: 10px 10px;
  }
  #create_button{
    padding: 10px;
  }
  form{
    padding: 5px 5px;
  }
  .right_div{
    align-items: center;  
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  #p-below-form{
    margin-top: 15px;
   
  }
}
@media screen and (max-width: 780px) and (min-width: 550px){
  .main_div{
    width: 650px;
    padding-top:0px;
}
#logo{
  height: 77px;
  margin-left:-8px;
}
h2{
  line-height: 18px;
  font-size: 18px;
}
.under_right_div{
  width: 320px;
  height: 270px;
  padding: 10px 15px 24px;
}
.input{
  padding: 10px 10px;
  font-size: 18px;
}
#login_button{
  padding: 10px 10px;
}
#create_button{
  padding: 10px;
}
}
/* --------------------------------------------- Media Querrry End --------------------------------------------- */
