* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

a {
    width: fit-content;
    height: fit-content;
}

html{
    scroll-behavior: smooth;
    min-width: 340px;
}

:root {
    --main-text-color: hsl(0, 0%, 10%);
    --secondary-text-color: hsl(0, 0%, 35%);
    --link-color: hsl(280, 73%, 33%);
    --main-bg: hsl(0, 0%, 93%);
    --footer-border-color: hsl(0,0%,94%);
    --footer-text: hsl(0,0%,65%);
    --header-color: hsl(0, 0%, 12%);
}

.main-font {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.secondary-font {
    font-family: "Monsterrat", sans-serif;
    font-weight: 400;
    font-style: normal;
}

body {
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--main-bg);
}

header {
    width: 100svw;
    height: 6rem;
    background-color: var(--header-color);
    display: flex;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}

header svg {
    width: 1.4rem;
    height: 1.4rem;
    fill: white;
}

header img {
    height: 5rem;
}

.header-img2 {
    display: none;
}

.header-img1 {
    display: block;
}

header a { 
    color: var(--footer-text) !important;
}

.header-wrapper {
    max-width: 1600px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-contact {
    height: 100%;
    max-width: 50%;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header-contact-mobile {
    display: none;
}

main {
    width: 100svw;
    display: flex;
    flex-direction: column;
    align-items: center;
}

section {
    max-width: 1600px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
}

#intro {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    margin-top: 18rem;
}

#intro h3 {
    max-width: 80%;
}

section h1 {
    font-size: 3.5rem;
    color: var(--main-text-color);
    margin-bottom: 2rem;
}

section h3 {
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--secondary-text-color);
}

#intro img {
    border-radius: .5rem;
    max-width: 80%;
    height: auto;
}

section h2 {
    font-size: 2.2rem;
    color: var(--main-text-color);
    line-height: 1.2;
    margin-bottom: 2rem;
}

p {
    line-height: 2;
    font-size: 1.3rem;
    color: var(--secondary-text-color);
}

.o-mnie-content {
    width: 60%;
}

.o-mnie-content p {
    padding-bottom: 2rem;
}

.link-wrap {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 6rem;
}

.link-wrap a {
    text-decoration: none;
    color: var(--link-color);
    font-size: 1.3rem;
    width: fit-content;
    scale: 1;
    transition: all 150ms ease-in;
}

.link-wrap a:hover {
    scale: 1.1;
    transition: all 150ms ease-out;
}

.desc-content {
    width: 60%;
}

#desc{
    padding-top: 5rem;
    padding-bottom: 3rem;
    margin-bottom: 3rem;
    max-width: 100svw;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: hsl(0, 0%, 10%);
    z-index: 500;
}

#desc h3 {
    margin-top: 1.5rem;
    width: 70%;
    color: hsl(0, 0%, 90%);
}

#desc h2 {
    color: hsl(0, 0%, 90%);
}

#desc p {
    color: hsl(0, 0%, 70%);
    padding-bottom: 2rem;
}

.contact-map {
    width: 60%;
    height: 40rem;
    border-radius: .5rem;
    padding-bottom: 4rem;
    position: relative;
}

#the-map {
    width: 100%;
    height: 100%;
    border-radius: .5rem;
}


#kontakt {
    padding-top: 6rem;
}

#kontakt svg {
    width: 1.4rem;
    height: 1.4rem;
    fill: black;
}

#mail-contact {
    fill: none;
}

.kontakt-content {
    padding-top: 1rem;
    padding-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.svglink {
    display: flex;
    align-items: center;
    font-size: 1.3rem;
    gap: 1rem;
}

.svglink a {
    text-decoration: none;
    color: var(--link-color);
    width: fit-content;
}

footer {
    width: 100svw;
    min-height: 20rem;
    background-color: var(--header-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer-wrapper {
    max-width: 1600px;
    min-height: 18rem;
    margin-top: 1rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-inner-wrapper {
    max-width: 100%;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
}

.footer-contact {
    color: var(--footer-text);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
}

footer img {
    max-width: 90%;
    height: auto;
}

footer svg {
    width: 1.4rem;
    height: 1.4rem;
    fill: white;
    stroke: white;
}

.footer-copyright {
    max-width: 1600px;
    width: 100%;
    min-height: 4rem;
    color: white;
    border-top: 1px solid var(--footer-border-color);
    padding-top: 1rem;
    padding-bottom: .5rem;
}

.footer-contact p {
    color: var(--footer-text) !important;
}

.footer-copyright p {
    color: var(--footer-text);
    font-size: 1rem;
}

.footerlink {
    color: var(--footer-text) !important;
}

button {
    border-radius: .5rem;
    box-shadow: none;
    border: none;
    margin-top: 1rem;
    background-color: var(--header-color);
    display: block;
}

.button-link {
    display: block;
    width: 100%;
    height: 100%;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
}

button:hover {
    background-color: rgb(5, 31, 196);
}

@media (max-width:48rem) {
    section {
        max-width: 44rem;
        padding: 0 1rem;
    }

    section h1 {
        font-size: 2.5rem;
        margin-bottom: 0;
    }

    #intro {
        grid-template-columns: 1fr;
        gap: 4rem;
        margin-top: 6rem;
    }

    #intro img {
        align-self: center;
        justify-self: center;
    }

    #intro h3 {
        margin-top: 1rem;
        padding-bottom: 1rem;
        font-size: 1.5rem;
        max-width: 100%;
    }

    section h2 {
        margin-bottom: 1rem;
    }

    .desc-content {
        width: 100%;
        font-size: 1.2rem;
    }

    .desc-content p {
        line-height: 1.6;
    }

    #desc h3 {
        width: 100%;
    }

    .o-mnie-content {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .o-mnie-content p {
        line-height: 1.6;
        padding: 0;
    }



    .link-wrap {
        margin-top: 1rem;
    }

    .footer-wrapper {
        padding: 0 1rem;
    }

    .header-wrapper {
        padding: 0 1rem;
    }

    .contact-map {
        width: 100%;
        height: 30rem;
    }

    .header-contact {
        display: none;
    }

    .header-contact-mobile{
        display: block;
        color: white;
        font-size: 1.5rem;
    }

    .header-img1 {
        display: block;
        height: 2.5rem;
    }

}


@media (max-width: 64rem) {
    .header-contact {
        display: none;
    }

    .header-contact-mobile {
        display: block;
        font-size: 1.5rem;
    }

    #intro {
        grid-template-columns: 1fr;
        gap: 4rem;
        margin-top: 8rem;
    }

    #intro img {
        align-self: center;
        justify-self: center;
    }

    .footer-inner-wrapper{
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-bottom: 2rem;
    }


}

@media (max-width: 80rem) {
    .header-contact {
        flex-direction: column;
        gap: 1rem;
        justify-content: center;
        align-items: start;
    }
}

@media (min-width: 48rem) {
    section {
        max-width: 44rem;
    }

    .header-wrapper {
        max-width: 44rem;
    }

    .footer-wrapper {
        max-width: 44rem;
    }

    .desc-wrapper {
        max-width: 44rem;
    }

}

@media (min-width: 64rem) {
    section {
        max-width: 60rem;
    }

    .header-wrapper {
        max-width: 60rem;
    }

    .footer-wrapper {
        max-width: 60rem;
    }

    .desc-wrapper {
        max-width: 60rem;
    }
}

@media (min-width: 80rem) {
    section {
        max-width: 76rem;
    }

    .header-wrapper {
        max-width: 76rem;
    }

    .footer-wrapper {
        max-width: 76rem;
    }

    .desc-wrapper {
        max-width: 76rem;
    }
}

@media (min-width: 100rem) {
    section {
        max-width: 96rem;
    }

    .header-wrapper {
        max-width: 96rem;
    }

    .footer-wrapper {
        max-width: 96rem;
    }

    .desc-wrapper {
        max-width: 96rem;
    }
}

@media (prefers-reduced-motion){
    .hidden {
        transition: none;
    }
}

.hidden {
    opacity: 0;
    transform: translateY(10%);
    filter: blur(5px);
    transition: all 400ms ease-out;
}

.show {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
    transition: all 400ms ease-in;
}

.map-nav {
    max-width: 100%;
    height: fit-content;
    position: absolute;
    background-color: white;
    border-radius: .5rem;
    z-index: 9000;
    display: flex;
    justify-content: space-between;
    text-wrap: nowrap;
    flex-direction: column;
    top: .5rem;
    left: .5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-right: .5rem;
    border: 1px solid hsl(0, 0%, 80%);
}

.map-nav h3 {
    font-size: 1.5rem;
    color: black;
    text-wrap: wrap;
}

.map-nav a {
    text-decoration: none;
    color: var(--link-color);
    margin-bottom: .5rem;
    font-size: 1.2rem;
}