/* Index style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* font-family: 'Roboto', sans-serif; */
    font-family: 'Roboto Slab', serif;
}

html,
body {
    max-width: 100vw;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    overflow-y: hidden;
}

body::-webkit-scrollbar {
    display: none;
}

/* Main */

#Main {
    width: 100vw !important;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 80vw auto 50px);
    grid-template-areas:
        "Main_img1"
        "Main_text1"
        "."
        "Main_img2"
        "Main_text2"
        "."
        "Main_img3"
        "Main_text3"
        ".";
    padding: 200px 10vw 60px 10vw;
    background-color: white;
    height: fit-content;

}

#Main div a {
    text-decoration: none;
    color: #014e4e;
}

/* .Main_link:hover {
    background-color: whitesmoke;
} */

.Main_img {
    height: 80vw;
    width: 80vw;
}

.Main_title {
    font-size: 40px;

}

.Main_text {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 80vw;
    height: 100%;
    grid-area: Main_text1;
    font-size: 22px;
}

.Main_link {
    display: flex;
    padding: 5px 0 5px 20px;
    margin-top: 30px;
}

.linkBox {
    display: flex;
    width: 0px;
    align-items: center;
    transition: 0.5s;

}

.linkBar {
    justify-items: center;
    width: 0px;
    height: 3px;
    background-color: #014e4e;
    transition: 0.3s;
}

#Main_text1:hover>a>.linkBox>.linkBar {
    width: 30px;
    transition-delay: 100ms;
}

#Main_text1:hover>a>.linkBox {
    width: 40px;
}

#Main_text2:hover>a>.linkBox>.linkBar {
    width: 30px;
    transition-delay: 100ms;
}

#Main_text2:hover>a>.linkBox {
    width: 40px;
}

#Main_text3:hover>a>.linkBox>.linkBar {
    width: 30px;
    transition-delay: 100ms;
}

#Main_text3:hover>a>.linkBox {
    width: 40px;
}

#Main_img1 {
    grid-area: Main_img1;
}

#Main_img2 {
    grid-area: Main_img2;
}

#Main_img3 {
    grid-area: Main_img3;
}

#Main_text1 {
    grid-area: Main_text1;
}

#Main_text2 {
    grid-area: Main_text2;
}

#Main_text3 {
    grid-area: Main_text3;
}


/* Header */


header {
    transition: 0.5s;
    z-index: 10;
    width: 100vw;
    position: fixed;
    display: flex;
    flex-wrap: nowrap;
    flex-shrink: 0;

}

header>div {
    transition: 0.5s;
    height: 100px;
    text-align: center;
    line-height: 75px;
    font-size: 30px;
    border-style: hidden hidden solid hidden;
    border-color: black;
    color: black;
    border-width: 2px;
}

#head1 {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 60px;
    border-style: hidden solid solid hidden !important;
    width: max-content !important;
    padding: 3px 10px 3px 10px;

}

#head1_link {
    text-decoration: none;
    color: black;
    transition: 0.3;
}

#head2 {
    flex: 1;
}

#head3 {
    width: 100px;
}


/* Menu Icon */
.container {
    display: inline-block;
    cursor: pointer;
    padding: 10px 10px 10px 10px;

}

.bar1,
.bar2,
.bar3 {
    width: 60px;
    height: 10px;
    background-color: black;
    margin: 10px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.change .bar1 {
    transform: translate(0, 16px) rotate(-45deg);
    margin: 6px 0;
    margin-top: 15px;
}

.change .bar2 {
    opacity: 0;
    margin: 6px 0;
}

.change .bar3 {
    transform: translate(0, -14px) rotate(45deg);
    margin: 6px 0;
}


/* Menu Overlay */

#full_menu {
    display: flexbox;
    flex-direction: column;
    flex-wrap: nowrap;
    height: 100vh;
    width: 0;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    background-color: #002333;
    overflow: hidden;
    transition: 0.5s;
}

#full_menu_content {
    position: relative;
    top: 100px;
    width: 100%;
}

#full_menu_content a {
    text-transform: uppercase;
    border-color: white;
    border-width: 2px;
    border-style: none none solid none;
    padding: 15px;
    text-decoration: none;
    font-size: 50px;
    color: white;
    display: block;
    transition: 0.3s;
}

#full_menu_content a:hover {
    background-color: #B4BEC9;
    font-style: italic;
    font-family: 'Playfair Display', serif;
    color: #002333;

}

.Parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    max-width: 100%;
    min-height: 800px;
}

#Parallax-text {
    padding-top: 30%;
    margin-left: 10%;
    font-size: 70px;
    color: black;
    position: relative;
}

#Parallax1 {
    background-image: url("../img/Background.jpeg");
}

/* Animated menu button */




#footer {
    display: flex;
    background-color: rgb(20, 20, 20);
    height: 40vw;
}


#foot_links {
    width: 100%;
    height: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2em;
    font-size: 3vw;
    border-style: hidden hidden solid hidden;
    border-color: white;
}

#foot_links p {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    text-transform: uppercase;
    height: 2em;
    width: 8em;
    border-radius: 5px;
    transition: 200ms;
}

#leftFoot{
    margin-left: 5vw;
}
#rightFoot {
    margin-right: 5vw;
}


@media screen and (max-height: 450px) {
    .overlay {
        overflow-y: auto;
    }

    .overlay a {
        font-size: 20px
    }

    .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }
}

@media only screen and (min-width: 600px) {

    /* .bar1,
    .bar2,
    .bar3 {
        width: 60px;
        height: 10px;
        margin: 10px 0;
    } */

    body {
        background-color: white;
    }

    #Bild1 {
        height: 400px;
    }

    #head1 {
        width: 30%;
        font-size: 70px;
    }

    #full_menu_content a {
        padding: 30px;
    }
}

@media only screen and (min-width: 900px) {
    #Main {
        padding: 200px 0 0 0;
        grid-template-rows: repeat(3, 50vw 100px);
        grid-template-areas:
            "Main_img1 Main_text1"
            ". ."
            "Main_text2 Main_img2"
            ". ."
            "Main_img3 Main_text3"
            ". .";
    }

    .Main_img {
        width: 50vw;
        height: 50vw;
    }

    .Main_text {
        width: 50vw;
    }

    .Main_text p {
        width: 45vw;
    }

    body {
        background-color: white;

    }


    #head1 {
        font-size: 80px;
    }

    #footer {
        height: 20vw;
    }

    #foot_links {
        font-size: 30px;
    }

}