html{
    height: 100%;
}
body{
    background-color: white;
    font-family: Poppins;
    color: #393939;
    margin: 0px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
}
a{
    text-decoration: none;
    color: #14171c;
}
.logo a{
    color: #14171c;
    text-decoration: none;
}

.main-content{
    padding-bottom: 90px;
    min-height: 100%;
    flex: 1 0 auto;
}
.footer{
    color: #ffffff;
    background: #14171c;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-around;
}
.footer a{
    color: white;
    text-decoration: none;
}
h2{
    font-size: 50px;
    font-family: Libre Baskerville;
    line-height: 55px;
}
p{
    margin: 0px 0px 30px 0px;
}
h3{
    font-size: 23px;
}
hr{
    border-bottom: 0px;
}
td{
    padding: 3px 10px;
    background-color: #faf7ed;
    border-radius: 10px;
}
.mail-text{
    margin: 0px 30px 30px 30px;
    text-align: justify;
}

.content{
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box;
    width: 1140px;
    max-width: 95%;
    box-shadow: 1px 1px 10px 1px rgb(0 0 0 / 8%);
    background-color: white;
    text-align: center;
    font-size: 15px;
    font-family: Poppins;
    font-weight: 400;
    line-height: 27px;
    padding: 10px;
    margin-bottom: 20px;
    padding-bottom: 30px;
}
.quiz{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
}
.quiz img{
    max-width: 100%;
}
.f1, .f2, .f3{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    max-width: 350px;
    margin: 0px 10px;
}
.f1 select{
    padding: 10px;
    border: 2px solid #7a9ac1;
    width: 250px;
    font-family: Poppins;
    color: #393939;
}

.f1 input[type="text"], .f1 input[type="email"], .f2 input[type="text"], .f3 input[type="text"], .f1 input[type="password"], textarea{
    padding: 10px;
    border: 2px solid #7a9ac1;
    width: 250px;
    border-radius: 15px;
    font-family: Poppins;
    color: #393939;
}
.f1 label, .f2 label, .f3 label{
    margin-top: 10px;
}

.f1 input[type="button"], .f2 input[type="button"], .f1 input[type="submit"], .f2 input[type="submit"] {
    width: 260px;
    display: inline-flex;
    justify-content: space-around;
    margin: 10px;
    text-decoration: none;
    position: relative;
    font-size: 20px;
    line-height: 20px;
    padding: 12px 30px;
    color: #FFF;
    font-weight: bold;
    text-transform: uppercase;
    font-family: 'Roboto Condensed', Тahoma, sans-serif;
    background: #337AB7;
    cursor: pointer;
    border: 2px solid #BFE2FF;
    outline: 1px solid;
    outline-color: #337AB7;
    outline-offset: 0px;
    text-shadow: none;
    transition: all 1.5s cubic-bezier(0.19, 1, 0.22, 1);
    margin-top: 20px;
}

input[type="button"]:hover, input[type="submit"]:active {
    box-shadow: inset 0 0 20px #bfe2ff;
    outline-color: rgba(255, 255, 255, 0);
    outline-offset: 15px;
    color: #FFF;
}

.f2, .f3{
    display: none;
}
#hint, #hint2{
    text-decoration: underline;
    color: #337AB7;
    font-weight: bold;
    cursor: pointer;
}
.hint-block2{
    display: none;
}

.timer{
    font-size: 20px;
    color: #f94d00;
}
.score{
    font-size: 25px;
    color: #f94d00;
}

.header{
    background-color: white;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    padding-bottom: 15px;
    padding-top: 20px;
}
.menu ul{
    display: flex;
    margin: 0px;
    padding: 0px;
}
.menu ul li{
    list-style-type: none;
    margin: 10px 10px;
}
.menu ul li a{
    text-decoration: none;
    color: #14171c;
}
.menu ul li a:hover{
    color: #216849;
}
.past-crimes{
    padding: 0px;
}
.past-crimes li{
    list-style-type: none;
    margin-bottom: 10px;
}
.past-crimes li:first-child a{
    background-color: #f6f1e6;
}
.past-crimes li a{
    text-decoration: none;
    color: #14171c;
    border: 1px solid gray;
    padding: 5px 15px;
    border-radius: 15px;
    text-align: center;
    width: 300px;
    display: block;
}
.past-crimes li a:hover{
    background-color: #e4edf5;
}
.logo{
    font-weight: 600;
    font-size: 24px;
}
.content-box{
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    background-color: #ededed;
}
.content-right{
    width: 346px;
    background-color: white;
    max-width: 510px;
    margin: 10px 60px;
    padding: 40px 82px;
    /*box-sizing: border-box;*/
    font-family: Poppins;
}
.content-left img{
    width: 90%;
    max-width: 370px;
    margin-bottom: 30px;
}
.content-left{
    text-align: center;
}

.button{
    width: 265px;
    background-color: #f75d44;
    color: white;
    border-radius: 100px;
    height: 88px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-around;
    text-decoration: none;
    font-size: 28px;
    font-family: Poppins;
}
.button:hover{
    opacity: 0.8;
}
.content-bottom{
    text-align: center;
    width: 700px;
    max-width: 90%;
    margin: 50px 0px 50px 0px;
    flex-direction: column;
}

.mailing-list{
    display: flex;
    background-color: white;
    padding: 20px 40px;
    border-radius: 35px;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    min-height: 31px;
}
.mailing-list form{
    margin: 0px;
    margin-left: 15px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}
.mailing-list form input{
    margin: 3px;
}
.mailing-list form input[type="submit"] {
    background-color: #ff8636;
    border: 0px;
    padding: 5px 10px;
    border-radius: 3px;
    color: white;
    cursor: pointer;
    font-family: Poppins;
}
.mailing-list form input[type="submit"]:hover {
    background-color: #de6f35;
}
.mailing-list form input[type="email"] {
    padding: 4px;
    border-radius: 3px;
    border: 1px solid #6e6d6c;
    outline: none;
    font-family: Poppins;
}
.team-text{
    border: 1px solid #dfbf94;
    box-sizing: border-box;
    margin-bottom: 0px;
    border-radius: 20px;
    text-align: justify;
    padding: 10px 20px;
    background-color: #fff7f2;
    margin-left: 20px;
}

.f4{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.f4 input, .f4 textarea, .f4 select{
    width: 400px;
    padding: 10px;
    border: 2px solid #7a9ac1;
    border-radius: 15px;
    font-family: Poppins;
    color: #393939;
    box-sizing: border-box;
}
.f4 textarea{
    height: 120px;
}

.row{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

@media (max-width: 992px){
    .content-right{
        padding: 20px;
        margin: 10px;
    }
    .menu ul{
        flex-direction: column;
        text-align: center;
    }
    .header{
        padding-bottom: 10px;
    }
}

.problem{
    text-align: left;
    padding: 0px 40px;
}

.but{
    margin-top: 20px;
    border: 2px solid #767676;
    padding: 5px 30px 5px 30px;
    border-radius: 20px;
    text-decoration: none;
    color: #767676;
    display: block;
    width: fit-content;
}

.problem-form{
    width: 100%;
    max-width: 100%;
}

.problem-form input[type="text"]{
    width: 50%;
}
.problem-form textarea{
    width: 50%;
    height: 200px;
}
.problem-li{
    font-size: 22px;
    margin-top: 12px;
    display: flex;
    align-items: center;
}
.pr-but{
    border: 2px solid #7d6b6b;
    padding: 5px 10px 5px 10px;
    font-size: 13px;
    border-radius: 20px;
    margin-right: 15px;
    cursor: pointer;
    line-height: initial;
}

.not-active{
    opacity: 0.5;
}
.solution{
    margin: 0 auto;
    white-space: pre-wrap;
    padding: 10px;
    border: 2px solid #7a9ac1;
    width: 100%;
    border-radius: 15px;
    display: none;
    margin: 20px 0px;
}

.solution-form{
    width: 100%;
    text-align: center;
    margin: 20px 0px;
}
.solution-form label {
    margin-bottom: 15px;
    display: block;
}
.solution-form input{
    margin: 3px;
    padding: 4px;
    border-radius: 3px;
    border: 1px solid #6e6d6c;
    outline: none;
    font-family: Poppins;
}
.solution-form button {
    background-color: #ff8636;
    border: 0px;
    padding: 5px 10px;
    border-radius: 3px;
    color: white;
    cursor: pointer;
    font-family: Poppins;
}
.solution-form button:hover {
    background-color: #de6f35;
}