@charset "utf-8";

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #000;
    font-family: "Arial", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    background: #fff;
}

img {
    max-width: 100%;
    height: auto;
}

#wrapper {
	position: relative;
	max-width: 56.25rem;
	margin: 1rem auto;
	overflow: hidden;
    border: 1px solid #ededed;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

h1 {
    font-size: 3rem;
    color: #3b3d3c;
    line-height: 1.1;
    margin: 1rem 0;
}

h1 span {
    color:#4e504f;
    font-weight: 400;
}

h2 {
    font-size: 1.4rem;
    border-bottom: 3px solid #3b3d3c;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1rem;
    color: #ca0c3f;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    font-weight: 400;
}

h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    
}

p {
    margin-bottom: 1rem;
}

ul {
    margin: 1.25rem 0 2.812rem 1.687rem;
    list-style: none;
}

ul li:before {
    content: "";
    height: 0.75rem;
    width: 0.75rem;
    background-color: #ca0c3f;
    float: left;
    margin: 0.3rem 0 0 -1.5rem;
}

hr {
    border: none;
    height: 3px;
    background-color:#C7C8C9;
    margin: 1rem 2rem;
}

.logo {
    display: flex;
    justify-content: space-between;
    padding: 1rem 2rem;
}

.logo img {
    width: 18rem;
}

.logo p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #949292;
    text-align: right;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
}

article {
    padding: 0 2rem;
}

.info {
    display: flex;
    margin: 1rem 0;
}

.info .box {
    width: 25%;
    background-color: #f2f1ef;
    border: 2px solid #d9d7d3;
    padding: 0.75rem 1rem;
}

.info .box:first-of-type {
    border-left: 5px solid #ca0c3f;
}

.info .box p {
    line-height: 1.7;
    font-weight: 700;
    font-size: 1rem;
    margin:0;
}

.info .box p span {
    color: #a5a29b;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    font-size: 0.85rem;
}

.content {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
}
.content section {
    width:50%;
}

.details {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}
.details .box {
    width: 32%;
    background-color: #f2f1ef;
    border-top: 5px solid #d9d7d3;
    padding: 1rem 0.5rem;
}

.details .box p {
    margin: 0;
    font-size: 0.9;
    color: #3b3d3c;
}

.kontakt {
    display: flex;
    gap: 1rem;
    background-color: #3b3d3c;
    color: #c3c2c2;
    padding: 1rem;
}
.kontakt .left {
    width: 60%;
}
.kontakt .right {
    width: 40%;
    text-align: right;
}

.kontakt h2 {
    color: #fff
}

.spacing {
    font-size: 0.85rem;
    line-height: 1.7;
    color: #949292;
    text-align: right;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.big {
    font-size: 1.2rem;
    text-decoration-line: underline;
    text-decoration-color: #e5003d;
    text-decoration-thickness: 3px;
    text-underline-offset: 5px;
    color: #fff;
}

a.tel {
    color: #fff;
    font-size: 1.2rem;
}

footer {
    padding: 0 2rem 2rem;
    display: flex;
    justify-content:space-between ;
}

footer p {
    font-size: 0.8rem;
    line-height: 1.7;
    color: #949292;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

@media only screen and (max-width: 56rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
}

@media only screen and (max-width: 53rem) {
    .details {
        justify-content: center;
    }

    .details .box {
        width: 47%;
    }
}



@media only screen and (max-width: 48rem) {
    .info {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    .info .box {
        width: 12rem;
    }
    .info .box:first-of-type {
        border-left: 2px solid #d9d7d3;
    }

    h1 {
        font-size: 2rem;
        text-align: center;
    }

    .content {
        flex-direction: column;
        gap: 0;
    }
    .content section {
        width: 100%;
    }

    .kontakt {
        flex-direction: column;
        text-align: center;
    }
    .kontakt .left,
    .kontakt .right {
        width: 100%;
    }
    .kontakt .right,
    .spacing {
        text-align: center;
    }

    .logo {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1rem;
    }
    .logo p {
        text-align: center;
        margin: 0;
    }

}

@media only screen and (max-width: 35rem) {
    .logo {
        padding: 1rem;
    }
    
    article {
        padding: 1rem;
    }
    
    footer {
        padding: 1rem;
    }

    .details .box,
    .info .box {
        width: 100%;
    }

    footer {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
}

