html {
    box-sizing: border-box;
}
*, *:before, *:after {
    box-sizing: inherit;
    outline: none;
}
::placeholder{
    color: #CFD1D9;
}
body{
    background-color: #F0F0F2;
    color: #606167;
    font-family: 'Montserrat'; 
    font-weight: normal; 
    font-style: normal;
    font-size: 14px;
}
a{
    color: #D82B26;
    text-decoration: none;
}
a:hover{
    color: #D82B26;
    text-decoration: underline;
}
p{
    margin: 8px 0;
}
p.inline-text{
    display: inline-block;
    margin: 0 20px;
    text-align: center;
}
.container{
    width: 70%;
    height: 100vh;
    position: relative;
    margin: auto;
    min-height: 475px;
}
.content{
    width: 50%;
    position: absolute;
    top: 45%;
    transform: translate(0, -50%);
}
.content>p{
    margin: 0 0 10px;
}
p.block-text{
    margin: 0 0 10px;
}
p.last-link{
    margin-bottom: 25px;
}
p.one-link{
    margin: 25px 0;
}
.block-image{
    position: absolute;
    width: 245px;
    height: 200px;
    top: 50%;
    right: 0;
    margin: -120px 0 0 0;
}
.big-text{
    font-size: 18px;
}
.normal-text{
    font-size: 14px;
}
.small-text{
    font-size: 11px;
}
.search{
    max-width: 360px;
    margin-bottom: 25px; 
}
.search-form{
    position: relative;
}
.search-form input {
    position: relative;
    padding-right: 55px;
    padding-left: 20px;
    height: 46px;
    font-size: 14px;
    z-index: 52;
    border: 1px solid #CFD1D9;
    width: 100%;
    border-radius: 30px;
}
.search-form button {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 46px;
    padding: 12px 16px 12px 10px;
    border: 0;
    color: #EEE;
    background: transparent;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    z-index: 53;
    cursor: pointer;
}
.search-form button img{
    width: 22px;
    height: 22px;
}
.search-form button:hover img{
    filter: brightness(50%);
}
.links p{
    padding-left: 18px;
}
.links a{
    color: #606167;
}
p.external-link{
    background: url("../img/ext.svg") no-repeat left center;
}
p.game-link{
    padding-left: 34px;
    background: url("../img/game.svg") no-repeat left center;
}
.modal{
    max-width: 680px;
}
.info-modal p{
    margin: 10px 0;
    line-height: 1.4;
}
.info-modal span.ip-address{
    font-weight: bold;
    font-size: 16px;
}
.info-modal p.small-text{
    font-style: italic;
}
.info-modal p.info-image{
    text-align: center
}
.info-modal p.info-image img{
    max-width: 360px;
    height: auto;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
}

footer{
    position: absolute;
    width: 100%;
    bottom: 5px;
    border-top: 1px solid #CFD1D9;
    text-align: center;
    padding: 10px 0 0;
    background-color: #F0F0F2;
}
footer p{
    margin: 0 0 2px;
}
footer a{
    display: inline-block;
    margin-bottom: 5px;
    padding: 10px 20px;
    text-align: center;
    border: 1px solid #CFD1D9;
    border-radius: 30px;
    background-color: #FFF;
    transition: all .3s;
}
footer a:hover{
    border-color: #D82B26;
    text-decoration: none
}
footer a.text-link {
    display: inline;
    margin-bottom: 0;
    padding: 0;
    text-align: left;
    border: 0;
    border-radius: 0;
    background-color: transparent;
    transition: none;
}
footer a.text-link:hover {
    color: #D82B26;
    text-decoration: underline;
}
.info-bar{
    bottom: 12%;
    border: 0;
    background-color: #7edede;
    border-radius: 10px;
    padding: 15px 5px;
}
.info-bar p{
    font-size: 16px;
    color: #333;
}
.info-bar a{
    display: inline;
    margin-bottom: 0;
    padding: 0;
    text-align: left;
    border: 0;
    border-radius: 0;
    background-color: transparent;
    transition: none;
}
.info-bar a.text-link:hover {
    color: #D82B26;
    text-decoration: underline;
}
@media (max-width: 1199px) {
    .container{
        width: 75%;
    }
    .content{
        width: 60%;
    }
}
@media (max-width: 991px) { 
    .container{
        width: 85%;
    }
    .content{
        width: 70%;
    }
    .block-image{
        width: 196px;
        top: 50%;
        right: 0;
        margin: -95px 0 0 0;
    }
    .block-image img{
        width: 196px;
    }
}
@media (max-width: 767px) {
    .search{
        max-width: 300px;
    }
    .block-image {
        width: 175px;
        margin: -85px 0 0 0;
    }
    .block-image img{
        width: 175px;
    }
}
@media (max-width: 579px) { 
    .container {
        width: 85%;
    }
    .content{
        width: 100%;
    }
    .block-image{
        display: none
    }
    footer{
        position: absolute;
    }
}
