/*atf*/

section.atf {
    padding: 0 32px;
    margin-bottom: 5vh;
}

@media (min-width: 740px) {
    section.atf {
        margin-bottom: 10vh;
    }
}

section.atf h1{
    text-align: left;
    margin:100px 0 2rem 0;
}

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

@media (min-width: 1000px) {
    section.atf {
        padding: 0 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(--bg2);
}

@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;
    }
}