/*atf*/

section.atf {
    display: flow-root;
    padding: 0 32px;
    background-image: url('/img/logo bg.png');
    background-repeat: no-repeat;
    background-position: center right;
    background-size: 280px;
    background-origin: content-box;
}

@media (max-width: 740px) {
    section.atf {
        background-image: none;
    }
}

section.atf .buttons {
    margin-bottom: 5vh;
}
section.atf p{
    margin-bottom: 48px;
    font-size: 1.777rem;
}
@media (max-width:500px ){
    section.atf p{
        font-size: 1.333rem;
    }
}

@media (min-width: 740px) {
    section.atf .buttons {
        margin-bottom: 10vh;
    }
}
section.atf h1{
    text-align: left;
    margin: 0;
    padding:100px 0 24px 0;
}

@media (max-width:500px ){
    section.atf h1{
        padding-top:80px;
    }
}

@media (min-width: 1000px) {
    section.atf {
        padding-left: 10%;
        padding-right: 10%;
    }
}

@media (max-width: 740px) {
    section.atf .heading {
        text-align: center;
    }

    section.atf h1 {
        text-align: center;
    }

    section.atf .buttons {
        justify-content: center;
    }
}

@media (max-width: 390px) {
    section.atf .buttons {
        flex-direction: column;
        align-items: center;
    }
}

/*names*/

section.names {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 4rem 32px;
    background: var(--bg-2);
}

@media (min-width: 1000px) {
    section.names {
        padding-left: 10%;
        padding-right: 10%;
    }
}

section.names > div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

section.names .title {
    font-family: var(--font-p);
    font-weight: var(--font-weight-p);
    color: var(--col-txt);
    font-size: 1rem;
}

section.names .doc,
section.names .nur {
    color: var(--color-1);
    font-family: var(--font-h);
    font-weight: var(--font-weight-h);
    text-align: center;
}

section.names .doc {
    font-size: 3.158rem;
}

section.names .nur {
    font-size: 2.369rem;
}
@media (max-width:500px ){
    section.names .doc {
        font-size: 2.369rem;
    }
    section.names .nur {
        font-size: 1.777rem;
    }
}

/*kontakt*/

h2 {
    text-align: center;
}

section.kontakt {
    padding: 2rem 32px;
}

@media (min-width: 1000px) {
    section.kontakt {
        padding-left: 10%;
        padding-right: 10%;
    }
}

section.kontakt .wrapper-top {
    display: flex;
    gap: 10vw;
    justify-content: center;
}

section.kontakt .wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;

}

section.kontakt .wrapper > div {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    justify-content: left;

}

section.kontakt .wrapper > div.btn-group {
    flex-direction: column;
    align-items: baseline;
    gap: 1rem;
}

section.kontakt .wrapper svg {
    width: 36px;
    height: 36px;
    color: var(--color-2);
}

section.kontakt .wrapper p a {
    color: inherit;
    text-decoration: underline;
}

@media (max-width: 740px) {
    section.kontakt .wrapper-top {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
    }

    section.kontakt .wrapper {
        align-items: center;
    }

    section.kontakt .wrapper > div {
        justify-content: center;
    }

    section.kontakt .wrapper > div.btn-group {
        align-items: center;
    }

    section.kontakt iframe {
        width: 100%;
        height: auto;
        aspect-ratio: 5 / 3;
    }
}

/*dovolena*/

section.dovolena {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 0 32px;
}

@media (min-width: 1000px) {
    section.dovolena {
        padding-left: 10%;
        padding-right: 10%;
    }
}

section.dovolena h2 {
    margin-top: 2rem;
    color: var(--important-color);
}

section.dovolena p {
    margin-bottom: 2rem;
    white-space: pre-line;
}

/*akt*/

section.akt {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 0 32px;
    background: var(--bg-3);
}

@media (min-width: 1000px) {
    section.akt {
        padding-left: 10%;
        padding-right: 10%;
    }
}

section.akt h2 {
    margin-top: 2rem;
}

section.akt p {
    margin-bottom: 2rem;
    white-space: pre-line;
}