*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Popins", sans-serif;
}

body{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: url('../image/bg.jpg') no-repeat;
    background-size: cover;
    background-position: center;
}

.wrapper{
    width: 400px;
    border-radius: 40px;
    background: rgb(238, 238, 239);
    padding: 40px 50px;
    border:3px solid #0b5dd1;
}

.wrapper h1{
    font-size: 45px;
    text-align: center;
    font-weight: 900;
    color:#290bd1;
    font-style: oblique;
}

.wrapper .author{
    font-size: 27px;
    font-weight: 600;
    text-align: center;
    margin: 40px 0 50px 0;
}

.bi.bi-question-circle{
    cursor: pointer;
    position: relative;
}

.wrapper .input-box{
    width: 100%;
    height: 50px;
    margin: 30px 0;
}

.input-box input{
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    border: 2px solid rgb(202, 198, 198);
    border-radius: 10px;
    font-size: 16px;
    padding: 20px 10px 20px 20px;
}

input:hover{
    box-shadow: 0 1px 2px rgb(191, 188, 194);
}

input:focus{
    border: 2px solid rgb(6, 146, 247);
    box-shadow: 0 0 2px rgb(6, 146, 247);
}

.input-box input ::placeholder{
    color:rgba(147, 135, 135)
}

.wrapper .btn{
    width: 60%;
    height: 45px;
    background: #0b5dd1;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 17px;
    color: #fff;
    margin: 20px 0 0 0;
    font-weight: 400;
    position: relative;
    transform: translateX(-50%);
    left: 50%;
}

.wrapper .btn:hover{
    background: #16a0ef;
    color: white;
    transition: 0.5s;
}

/*.active{
    display: flex;
    justify-content:left;
    align-items: center;
    text-shadow: 0.2px 0.3px rgb(196, 17, 17);
    color: rgb(196, 17, 17);
    border-radius: 10px;
    width: 120%;
    position: relative;
    transform: translateX(-50%);
    left: 50%;
    height:50px;
}

.active::before{
    content: '\26A0';
    font-size: 25px;
    margin-right: 10px;
    margin-left: 15px;
    margin-bottom: 8px;
}

@keyframes invalid-border{
    from {
        border: 2px solid rgb(202, 198, 198);
    }
    to {
        border: 2px solid rgb(196, 17, 17);
        box-shadow: 0 0 1px rgb(196, 17, 17);
    }
}

.active_input {
    animation-name: invalid-border;
    animation-duration: 0.2s;
    animation-iteration-count: 4;
    animation-direction: alternate;
}*/

.modal {
    display: none;
    position: absolute;
    margin-left: 60px;
    transform: translate(0,-83%);
}

.modal-content {
    position: relative;
    text-align: justify;
    background-color: #fff;
    padding: 10px;
    max-width: 280px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-size: 16px;
    border: 1px solid black;
    outline: black solid 1px;
    outline-offset: 1px;
    border-radius: 5px;
}

.close {
    position: absolute;
    top: 5px;
    right: 10px;
    cursor: pointer;
}

.modaltit {
    display: inline-block;
    margin-bottom: 10px;
    border-bottom: 1px solid black;
    padding: 0 68px 7px 68px;
    font-size: 19px;
}

.error-message {
    color: rgb(196, 17, 17);
}

/* > адаптивность */

/* @media (min-width: 576px) {
  .wrapper {
    max-width: 540px;
  }

  body {
    font-size: 17px;
  }
}

@media (min-width: 400px) {
  .input-box input {
    max-width: 80px;
  }
} */

/* < */