/* index HTML */
body {
    display: flex;
    flex-direction: column;
    margin: 0;
    font-family: Calibri, Verdana, Arial;
    background-color: #F4E9C1;
    /* display: grid; */
}

.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 5%;
}

@media screen and (max-width: 1000px) { 
    .grid {
        gap: 2%;
    }
}

/* header */
header {
    background-color: white;
    grid-column: span 12;
}

header h1 {
    position: relative;
    text-transform: uppercase;
    grid-column: span 4;
    align-self: center;
    justify-self: center;
    margin: 12.5%;
}


header nav {
    grid-column: 7 / span 6;
    align-self: center;
    justify-self: center;
    margin: 6%;
}


header ul {
    display: flex;
    justify-content: space-evenly;
    gap: 35px;
}

header {
    padding: 0vw 3vw 0vw 3vw;
}

ul {
    list-style-type: none;
    padding-left: 0;
}

a {
    text-decoration: none;
    color: black;
    font-size: 18px;
}

a:hover {
    color: #8b8b8b;
}

/* a:visited {
    color: #555;
} */
/* main */
.myImg {
    padding: 2vw;
    background-color: white;
    box-sizing: border-box;
}

.myImg .one > img > div {

}

#extra-info {
    font-size: 1.1vw;
}

main {
    padding: 3vw 7.5vw 3vw 7.5vw;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
    grid-column: span 12;
}

main .one {
    grid-column: span 12;
    justify-self: center;
    align-self: center;
    margin-top: 1%px;
    min-width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

main .two,
.three {
    grid-column: span 6;
    justify-self: center;
    align-self: center;
    max-width: 100%;
}

@media screen and (max-width: 1000px) {
    main .two, .three {
        grid-column: span 12;
    }
    
}

main div img {
    width: 100%;
}

main div p {
    text-align: justify;
    max-width: 30%;
}

@media screen and (max-width: 1450px) {
    main div p {
        text-align: justify;
        max-width: 60%;
    }
}

@media screen and (max-width: 680px) {
    main div p {
        text-align: justify;
        max-width: 100%;
    }
}

/* footer */
footer {
    margin-top: 10%;
    background-color: white;
    grid-column: span 12;
    padding: 1.5%;
}

@media screen and (max-width: 1000px) {
    footer {
        margin-top: 27%;
    }
}

footer ul {
    display: flex;
    flex-direction: column;
    grid-column: span 6;
}

footer div {
    font-weight: bold;
}

footer .one {
    grid-column: 2 / span 4;
}

footer .two {
    grid-column: 10 / span 2;
}

div.underFooter {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    background-color: white;
}

div.underFooter img {
    max-width: 100%;
}

div.underFooter p {
    color: #b8b8b8;
    align-self: flex-end;
    margin-right: 1%;
}

div.smaller {
    grid-column: span 4;
    padding: 6%;
}

main div.smaller,
main div.bigger {
    position: relative;
    align-self: center;
}

div.bigger {
    grid-column: span 8;
    align-self: center;
    justify-self: center;
}

footer.secHTML {
    margin-top: 12%;
}

footer.thirdHTML {
    margin-top: 6%;
}

footer.fourthHTML {
    margin-top: 4%;
}

footer.fifthHTML {
    margin-top: 0%;
}

/* html wohnzimmer & küche ENDE */
/* myDot stuff */
.myDot {
    position: absolute;
    color: white;
    font-size: 32px;
    z-index: 9990;
}

.myDot:hover {
    color: #8b8b8b;
    cursor: pointer;
}

@media screen and (max-width: 1462px) {
    .myDot {
        font-size: 20px;
    }
}

/* myDot stuff ENDE */
/* erster Dot */
div.onehtmlWoKü {
    left: 66%;
    top: 69%;
}

div.fixed1.myImg {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

div.myDot div.onehtmlWoKü {
    max-width: 100%;
}

div div.onehtmlWoKü div.myImg {
    max-width: 500%;
}

.myDot.active .fixed1.myImg {
    display: block;
}

h3 {
    color: black;
}

.fixed1.myImg {
    width: 65%;
    display: flex;
    flex-direction: column;
}

div.fixed1.myImg div {
    color: #b9b9b9;
    justify-self: end;
    font-size: 0.75em;
}

/* erster Dot ENDE */
/* zweiter Dot */
div.twohtmlWoKü {
    left: 30%;
    top: 270%;
}

div.fixed2.myImg {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

div.myDot div.twohtmlWoKü {
    max-width: 100%;
}

div div.twohtmlWoKü div.myImg {
    max-width: 500%;
}

.myDot.active .fixed2.myImg {
    display: block;
}

.fixed2.myImg {
    width: 65%;
    display: flex;
    flex-direction: column;
}

.fixed2.myImg p {
    color: black;
    max-width: 60%;
}

div.fixed2.myImg div {
    color: #b9b9b9;
    justify-self: end;
    font-size: 0.75em;
}

/* zweiter Dot ENDE */
/* html wohnzimmer & küche ENDE */
/* html arbeitszimmer */
/* dritter Dot */
div.onehtmlArbeitsZ {
    left: 30%;
    top: 55%;
}

div.fixed3.myImg {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

div.myDot div.onehtmlArbeitsZ {
    max-width: 100%;
}

div div.onehtmlArbeitsZ div.myImg {
    max-width: 500%;
}

.myDot.active .fixed3.myImg {
    display: block;
}

.fixed3.myImg {
    width: 65%;
    display: flex;
    flex-direction: column;
}

.fixed3.myImg p {
    color: black;
    max-width: 65%;
}

div.fixed3.myImg div {
    color: #b9b9b9;
    justify-self: end;
    font-size: 0.75em;
}

/* dritter Dot ENDE */
/* vierter Dot */
div.twohtmlArbeitsZ {
    left: 62%;
    top: 85%;
    font-style: italic;
}

div.fixed4.myImg {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

div.myDot div.twohtmlArbeitsZ {
    max-width: 100%;
}

div div.twohtmlArbeitsZ div.myImg {
    max-width: 500%;
}

.myDot.active .fixed4.myImg {
    display: block;
}

.fixed4.myImg {
    width: 65%;
    display: flex;
    flex-direction: column;
}

.fixed4.myImg p {
    color: black;
    max-width: 70%;
}

div.fixed4.myImg div {
    color: #b9b9b9;
    justify-self: end;
    font-size: 0.75em;
}

/* vierter Dot ENDE */
/* fünfter Dot */
div.threehtmlArbeitsZ {
    left: 36.5%;
    top: 204%;
}

div.fixed5.myImg {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

div.myDot div.threehtmlArbeitsZ {
    max-width: 100%;
}

div div.threehtmlArbeitsZ div.myImg {
    max-width: 500%;
}

.myDot.active .fixed5.myImg {
    display: block;
}

.fixed5.myImg {
    width: 65%;
    display: flex;
    flex-direction: column;
}

.fixed5.myImg p {
    color: black;
    max-width: 60%;
}

div.fixed5.myImg div {
    color: #b9b9b9;
    justify-self: end;
    font-size: 0.75em;
}

/* fünfter Dot ENDE */
/* html arbeitszimmer ENDE */
/* html schlafzimmer etc */
/* sechter Dot */
div.onehtmlSchlafetcZ {
    left: 28%;
    top: 105%;
    z-index: 10;
}

div.fixed6.myImg {
    display: none;
    position: fixed;
    top: 50%;
    left: 35%;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

div.myDot div.onehtmlSchlafetcZ {
    max-width: 100%;
}

div div.onehtmlSchlafetcZ div.myImg {
    max-width: 500%;
}

.myDot.active .fixed6.myImg {
    display: block;
    
}

.myDot.active .fixed7.myImg {
    display: none;
}

.fixed6.myImg {
    width: 25%;
    display: flex;
    flex-direction: column;
}

.fixed6.myImg p {
    color: black;
    max-width: 100%;
    font-size: 0.6em;
}

div.fixed6.myImg div {
    color: #b9b9b9;
    align-self: self-end;
    justify-self: end;
    font-size: 0.5em;
}

/* sechter Dot ENDE */
/* siebter Dot */
div.twohtmlSchlafetcZ {
    left: 53%;
    top: 104%;
    z-index: 10;
}

div.fixed7.myImg {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

div.myDot div.twohtmlSchlafetcZ {
    max-width: 100%;
}
div div.twohtmlSchlafetcZ div.myImg {
    max-width: 500%;
}
.myDot.active .fixed7.myImg {
    display: block;
}
.fixed7.myImg {
    width: 65%;
    display: flex;
    flex-direction: column;
}
.fixed7.myImg p {
    color: black;
    max-width: 60%;
}
div.fixed7.myImg div {
    color: #b9b9b9;
    justify-self: end;
    font-size: 0.75em;
}
/* siebter Dot ENDE */
div.verySmall {
    grid-column: span 3;
    padding: 6%;
}
@media screen and (max-width: 1000px) {
    div.verySmall {
        grid-column: span 6;
    }
}
.myDot img {
    z-index: 99999;
}
div.newthree {
    grid-column: span 2;
    padding: 6%;
}
div.newthree:hover {
    transform: scale(1.8);
}
div.four {
    grid-column: span 3;
}
div.four:hover {
    transform: scale(1.5);
}
section.myFormular {
    display: block;
    background-color: white;
    margin-top: 20%;
    padding: 5%;
}

.myFormular p {
    margin-bottom: 1%;
}
.myFormular label {
    display: block;
    margin: 1%;
    margin-left: 0px;
}
.myFormular form p {
    font-weight: bold;
    margin-top: 1%;
}

/* burger menu */
@media screen and (max-width: 1246px) {
    .nav-links {
        display: none;
    }    
    #h1Index {
        grid-column: span 12;
        margin-bottom: 5%
    }

}
.menu-icon {
    display: none;
    flex-direction: column;
    gap: 5px;;
}
.menu-icon span {
    width: 25px;
    height: 3px;
    background-color: black;
}
div.menu-icon{
    position: absolute;
} 

@media (max-width: 1246px) {
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 50%;
        left: 50%; 
        transform: translate(-50%, -50%);
        background-color: white;
        border-style: solid;
        border-width: 25px;
        border-color: #F4E9C1;
        padding: 15%;
        z-index: 99999;
    }
    .menu-icon {
        display: flex;
        position: absolute;
        right: 5%;
        top: 6%;
        z-index: 999991;
    }
    .menu-icon span {
        transition: all 0.3s ease;
    }
    .menu-icon.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-icon.active span:nth-child(1) {
        transform: rotate(45deg);
        position: relative;
        top: 8px;
    }
    .menu-icon.active span:nth-child(3) {
        transform: rotate(-45deg);
        position: relative;
        top: -8px;
    }
}

/* burger menu ENDE */

div.underfooter img{
    
}

/* @media screen and (max-width: 1000px) {
    div.four {
        grid-column: span 6;
    }
}

@media screen and (max-width: 1000px) {
    div.newthree {
        grid-column: span 4;
    }
} */

nav.noIndex {
    grid-column: 10 /span 6; margin: 2%;
}

@media screen and (max-width: 1920px) {
    nav.noIndex {
        grid-column: 9 /span 7; margin: 2%;
    }
}

@media screen and (max-width: 1630px) {
    nav.noIndex {
        grid-column: span 12; margin: 2%;
    }
}

.image-hotspot {
    position: relative;
    width: 100%;
}

.image-hotspot > img {
    display: block;
    width: 100%;
    height: auto;
}

.image-hotspot > .myDot {
    position: absolute;
    left: var(--dot-x, 50%);
    top: var(--dot-y, 50%);
    width: 32px;
    height: 32px;
    margin: -16px 0 0 -16px;
    cursor: pointer;
}

.image-hotspot > .myDot::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0.55em;
    height: 0.55em;
    border-radius: 50%;
    background: currentColor;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.image-hotspot > .myDot.active {
    z-index: 9999;
}

.foto-galery div {
    padding: 1vw;
}

@media (min-width: 1247px) {
    header nav {
        grid-column: 6 / span 6;
    }

    header .nav-links {
        gap: 25px; 
    }

    header .nav-links a {
        font-size: 16px;
    }
}