@font-face {
    font-family: RalewayLight;
    src: url("../fonts/raleway/Raleway-Light.ttf");
}

@font-face {
    font-family: RalewayBold;
    src: url("../fonts/raleway/Raleway-Bold.ttf");
}
html{
    min-width: 100%;
    min-height: 100%;
    /*height: 100%;*/
}
body{
    color: white;
    font-family: RalewayLight, sans-serif;
    min-width: 100%;
    min-height: 100%;
    height: 100%;
    background-image: url("../img/background.jpg");
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.icon-home{
    position: absolute;
    top: 35px;
    left: 25px;
    width: 40px;
    height: 40px;
    border: 3px solid white;
    border-radius: 30px;
    text-align: center;
    font-size: 1.3rem;
}

.icon-home:hover{
    cursor: pointer;
}

.item-result{
    position: relative;
    margin: 0 auto 30px;
    max-width: 350px;
    height: 50px;
    background-color: transparent;
    border: 1px solid white;
    border-radius: 10px;
    background-image: url("../img/item-block-background.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    box-shadow: 0 8px 8px 5px rgba(0,0,0,.3), 0 4px 15px 0 rgba(0,0,0,.3);
}

.result-text{
    padding: 15px;
    margin: 0 auto 30px;
    max-width: 400px;
    min-height: 400px;
    max-height: 400px;
    background-color: rgba(0,0,0,0.3);
    border-radius: 15px;
    border: 1px solid #898791;
    box-shadow: 0 8px 8px 5px rgba(0,0,0,.3), 0 4px 15px 0 rgba(0,0,0,.3);
    overflow-y: scroll;
}

.result-description{
    font-size: 1rem;
    text-align: center;
    padding: 15px;
    margin: 0 auto 30px;
    max-width: 400px;
    background-color: rgba(0,0,0,0.3);
    border-radius: 15px;
}

.item-result > h4{
    padding-left: 35px;
    line-height: 3rem;
    margin: 0;
}

.item-result.active > .circle-block{
    font-family: RalewayBold, sans-serif;
}

.item-result.active > h4,
.item-result:hover > h4{
    font-family: RalewayBold, sans-serif;
    cursor: pointer;
}

.circle-block{
    position: absolute;
    top: 2px;
    right: 23px;
    width: 44px;
    height: 44px;
    border-radius: 44px;
    background-color: transparent;
    border: 1px solid #ffffff;
    font-family: RalewayLight, sans-serif;
    font-size: 1.2rem;
    text-align: center;
    line-height: 2.5rem;
}

.wrapper{
    margin: 25px 0;

    padding: 25px;
    position: relative;
}

.two-block.wrapper h1.title{
    margin-bottom: 50px;
}
.wrapper h1.title{
    font-size: 4rem;
    text-align: center;
    font-family: RalewayBold, sans-serif;
}

.wrapper .description{
    font-size: 2.4rem;
    text-align: center;
    max-width: 920px;
    margin: 0 auto 25px;
}

.wrapper .description-two{
    text-align: center;
    font-size: 1.4rem;
    padding-bottom: 15px;
}

.two-block.wrapper .form-block{
    position: absolute;
    left: calc(50% - 175px);
    bottom: 0;
    width: 350px;
    padding: 0;
    background-color: transparent;
    border-radius: 0;
    margin-bottom: 0;
}

.two-block.wrapper .form-block .btn-primary{
    margin-top: 10px;
}

.wrapper .form-block{
    width: 600px;
    margin: 0 auto 25px;
    padding: 30px 50px;
    background-color: rgba(0,0,0,0.3);
    border-radius: 30px;
}

.wrapper .form-group label{
    margin-bottom: 0;
}

.wrapper input.form-control{
    border-radius: 0;
    box-shadow: 0 8px 8px 5px rgba(0,0,0,.3), 0 4px 15px 0 rgba(0,0,0,.3);
}

.wrapper input.form-control.is-invalid:focus{
    box-shadow: 0 8px 8px 5px rgba(0,0,0,.3), 0 4px 15px 0 rgba(0,0,0,.3);
}

.wrapper input.form-control:focus{
    border-color: #ced4da;
    box-shadow: 0 8px 8px 5px rgba(0,0,0,.3), 0 4px 15px 0 rgba(0,0,0,.3);
}

.wrapper .form-block .btn-primary{
    margin-top: 25px;
    background-color: #a523f9;
    border-color: #a523f9;
    width: 100%;
    border-radius: 15px;
    font-size: 1.4rem;
    box-shadow: 0 8px 8px 5px rgba(0,0,0,.3), 0 4px 15px 0 rgba(0,0,0,.3);
}

.wrapper .form-block .btn-primary:not(:disabled):not(.disabled):active,
.wrapper .form-block .btn-primary:hover,
.wrapper .form-block .btn-primary:focus,
.wrapper .form-block .btn-primary:active{
    background-color: #a523f9;
    border-color: #a523f9;
    box-shadow: 0 8px 8px 5px rgba(0,0,0,.3), 0 4px 15px 0 rgba(0,0,0,.3);
}

.result-text.mobile-result-text{
    display: none;
    width: 350px;
}

@media (max-width: 992px){
    .wrapper .description{
        background-color: rgba(0,0,0,0.3);
        border-radius: 30px;
        padding: 15px;
    }
    .result-text{
        display: none;
    }

    .two-block.wrapper .form-block{
        position: relative;
        left: auto;
        bottom: auto;
        margin-top: 75px;
    }
    .result-description{
        margin-top: 35px;
    }
}

@media (max-width: 768px){
    .wrapper .description{
        font-size: 1.6rem;
        width: 400px;
    }

    .two-block.wrapper .form-block,
    .wrapper .form-block{
        width: 400px;
    }
    .icon-home{
        display: none;
    }
    .wrapper{
        padding: 25px 0;
    }
    .wrapper h1.title{

        font-size: 3rem;
    }

}

@media (max-width: 465px){

    .container{
        padding: 0;
    }
    .circle-block{
        right: 16px;
    }
    .item-result{
        width: 300px;
    }
    .wrapper .description,
    .wrapper .form-block,
    .two-block.wrapper .form-block{
        width: 300px;
    }
    .result-description{
        width: 300px;
    }
    .item-result > h4{
        padding-left: 15px;
    }
    .row{
        margin: 0;
    }
    .result-text.mobile-result-text{
        width: 300px;
    }
}
