@charset "utf-8";

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #0f6a9f;
    font-family: "Arial", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    background: #fff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
	position: relative;
	max-width: 1000px;
	margin: 1rem auto;
	overflow: hidden;
    box-shadow: 0 0 0.625rem rgb(75 75 75 / 50%)
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

h1 {
    font-size: 2rem;
    margin: 1rem 0 0;
}

h2 {
    font-size: 1.6rem;
    margin: 1.5rem 0 0.5rem;
}

h3 {
    font-size: 1.2rem;
}

h4 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
}

ul {
    margin: 0 0 1rem 1rem;
}

article .container {
    padding: 1rem 2rem;
}

.info {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin: 2rem 0;
}

.info .item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
}

.content {
    display: flex;
    gap: 1rem;
}
.content .left {
    width: 55%;
}
.content .right {
    width: 45%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.content .right img {
    width: 16rem;
    margin: 0 auto;
}

.box {
    display: flex;
}
.box .left {
    width: 50%;
    position: relative;
    overflow: hidden; 
}

.box .left img {
    width: 100%; 
    height: auto; 
}

.box .right {
    width: 50%;
    padding: 2rem 2rem 1rem;
    background-color: #5BC4F1;
    display: flex;
    align-items: center;
    gap: 0.5rem
}
.box .right .sign {
    color: #fff;
    font-size: 6rem;
    margin: -4rem 0 0;
    line-height: 0.8;
}
.box .right p {
    color: #fff;
    font-size: 0.875rem;
    position: relative;
    margin: 1rem 0 0;
}

.benefits {
    display: flex;;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 2rem 0;
}

.benefits .item {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    width: 30%;
}

.img {
    width: 15rem;
}

.content2 {
    display: flex;
    align-items: center;
}
.content2 .text {
    width: 50%;
}
.content2 .logos {
    width: 50%;
}

.kontakt {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin: 1rem 0 0;
}

.details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.details .item {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.details p {
    margin: 0;
}

.button {
    margin: 1rem 0;
}

a.apply {
    border: 1px solid #0f6a9f;
    background-color: #fff;
    color: #0f6a9f;
    padding: 0.65rem 1.5rem;
    border-radius: 1rem;
}
a.apply:hover {
    background-color: #0f6a9f;
    color: #fff;
}

footer {
    background-color: #5BC4F1;
    padding: 3rem 0 0;
}

@media only screen and (max-width: 49.938rem) {
    #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: 48rem) {
    .content {
        flex-direction: column-reverse;
    }
    .content .left,
    content .right {
        width: 100%;
    }

    .box {
        flex-direction: column;
    }
    .box .left,
    .box .right {
        width: 100%;
    }

    .box .right .sign {
        margin: 0;
    }
    .benefits {
        flex-direction: column;
    }
    .benefits .item {
        width: 100%;
    }

    .content2 {
        flex-direction: column;
    }
    .content2 .text,
    .content2 .logos {
        width: 100%;
    }

    .kontakt {
        flex-direction: column;
    }
    .button {
        display: flex;
        justify-content: center;
    }
}

@media only screen and (max-width: 40rem) {
    article .container {
        padding: 1rem;
    }

    .info {
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
    }
    
}

