/* general */

html {
    width: 100%;
    font-size: 62.5%;
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

/* clearfix */

.main_container::before,
.main_container::after,
.group::before,
.group::after {
    content: '';
    display: table;
}

.main_container::after,
.group::after {
    clear: both;
}

.main_container,
.group {
    *zoom: 1;
}

/* base */

body {
    position: relative;
    width: 100%;
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-size: 2rem;
    line-height: 3.3rem;
    font-weight: 300;
    letter-spacing: 0.8px;
    color: #888;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: #2a363f;
    color: #fff;
    text-shadow: none;
}

::-moz-selection {
    background: #2a363f;
    color: #fff;
    text-shadow: none;
}

a[href^="tel:"] {
    pointer-events: none;
}

.main_container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 1200px;
    min-height: 100vh;
    padding: 60px 20px;
    margin: 0 auto;
}

img {
    max-width: 100%;
    height: auto;
}

h2,
h3,
h4,
h5,
h6 {
    font-size: 45px;
    font-size: 4.5rem;
    line-height: 1.2em;
    font-weight: 700;
    color: #2a363f;
}

a {
    text-decoration: none;
    color: #888;
}

a:hover,
a:focus {
    text-decoration: none;
    color: #86c724;
}

/* header */

header {
    margin-bottom: auto;
}

.logo {
    font-size: 0;
    line-height: 0;
    text-align: center;
    margin-bottom: 30px;
}

.logo a {
    position: relative;
    display: inline-block;
    width: 219px;
    height: 40px;
    background: url('https://blank.hostzone.eu/img/logo_hostzone.svg') 0 0 no-repeat;
}

.tel,
.email {
    position: relative;
    float: left;
    width: auto;
    padding: 0 0 0 28px;
    margin: 0 25px;
}

.tel::before,
.email::before {
    content: '';
    position: absolute;
    top: 7px;
    left: 0;
    display: block;
    width: 18px;
    height: 19px;
    background-image: url('https://blank.hostzone.eu/img/sprites.svg');
    background-repeat: no-repeat;
}

.tel::before {
    background-position: 0 0;
}

.email::before {
    background-position: 0 -21px;
}

.tel span {
    text-transform: uppercase;
}

/* main */

main {
    text-align: center;
    margin-bottom: 100px;
}

.domain_name {
    height: 54px;
    text-transform: lowercase;
    margin-top: 38px;
    margin-bottom: 42px;
}

.description a {
    position: relative;
    color: #86c724;
}

.description a::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    display: block;
    width: 0;
    height: 1px;
    background: #86c724;
    transition: .1s;
}

.description a:hover::after,
.description a:focus::after {
    left: 0;
    width: 100%;
}

.button {
    position: relative;
    display: inline-block;
    height: 46px;
    font-size: 17px;
    font-size: 1.7rem;
    line-height: 46px;
    font-weight: 900;
    text-transform: uppercase;
    color: #fff;
    background: #2a363f;
    border-radius: 4px;
    padding: 0 32px;
    margin: 54px 0 0;
}

.button:hover,
.button:focus {
    color: #fff;
    background: #1c252b;
}

/* footer */

footer {
    margin-top: auto;
}

.language li {
    position: relative;
    float: left;
    display: block;
    width: 46px;
    height: 46px;
    font-size: 14px;
    font-size: 1.4rem;
    line-height: 46px;
    font-weight: 400;
    text-align: center;
    text-transform: uppercase;
    border-radius: 50%;
    border: 1px solid #888;
    padding: 0;
    margin: 0 5px;
    cursor: pointer;
    transition: .1s;
}

.language li:hover,
.language li.active {
    color: #fff;
    background: #2a363f;
    border-color: #2a363f;
}

.watermark {
    position: fixed;
    bottom: -28px;
    left: -15px;
    pointer-events: none;
    z-index: -1;
}

/* responsive */

@media (max-width: 1200px) {
    .main_container {
        width: 100%;
    }
    
    main {
        margin-bottom: 40px;
    }
}

@media (max-width: 1024px) {
    a[href^="tel:"] {
        pointer-events: all;
    }
    
    .main_container {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    
    .logo {
        margin-bottom: 20px;
    }

    main {
        margin-top: 20px;
    }
    
    h2, h3, h4, h5, h6 {
        font-size: 35px;
        font-size: 3.5rem;
    }

    .domain_name {
        height: 42px;
        margin-top: 20px;
        margin-bottom: 24px;
    }

    .button {
        margin-top: 38px;
    }

    .watermark {
        width: 350px;
    }
}

@media (max-width: 800px) {
    body {
        font-size: 17px;
        font-size: 1.7rem;
        line-height: 28px;
    }

    .contact {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .tel,
    .email {
        margin: 0;
    }
    
    .tel::before,
    .email::before {
        top: 4px;
    }

    main {
        margin-top: 60px;
        margin-bottom: 80px;
    }

    h2, h3, h4, h5, h6 {
        font-size: 30px;
        font-size: 3rem;
    }

    .domain_name {
        height: 36px;
    }

    .watermark {
        bottom: -8px;
        left: -5px;
        width: 200px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 15px;
        font-size: 1.5rem;
        line-height: 24px;
    }

    .tel,
    .email {
        padding: 0;
    }
    
    .tel::before,
    .email::before {
        display: none;
    }

    h2, h3, h4, h5, h6 {
        font-size: 20px;
        font-size: 2rem;
    }

    .domain_name {
        height: 24px;
    }
    
    .button {
        height: 40px;
        font-size: 14px;
        font-size: 1.4rem;
        line-height: 41px;
        font-weight: 700;
        padding: 0 22px;
    }

    .language li {
        width: 40px;
        height: 40px;
        font-size: 13px;
        font-size: 1.3rem;
        line-height: 40px;
    }

    .watermark {
        width: 140px;
    }
}