*,
*::after,
*::before{
	box-sizing: border-box;
}
html,body{
    font-family: "Times New Roman";
	font-size: 15px;
    height: 100%;
    width: 100%;
    margin: 0;
    color: hsla(100,100%,100%,1);
}

main{
    height: 100%;
    width: 100%;
    display: grid;
    grid-template-columns: 100%;
    justify-content: space-evenly;
}

main>img{
    height: 100%;
    width: 100%;
    z-index: -2;
    position: absolute;
    opacity: 1;
}

h2{
    font-family: "Engravers MT";
    position: relative;
    top:15px;
    left:25%;
    font-size: 4vw;
    color:hsl(54, 0%, 89%);
}

#einladung{
    text-align: center;
    font-size: 3vw;
    width: 55%;
    position: absolute;
    top:20%;
    left: 21%;
    line-height: 170%;
}

#einladung>p>a{
    color: hsl(100, 100%, 100%);
}

#einladung>p>a:hover{
    color: hsl(0, 81%, 88%);
}

h1{
    display: none
}

nav>ul{
    margin: auto;
    list-style-type: none;
    z-index: 1;
    background-color:hsl(237, 100%, 88%,0.5);
    height: 40px;
    display: flex;
    position: absolute;
    bottom:10%; 
    width: 100%;
}

ul li a{
    float:left;
    color: hsla(100,100%,100%,1);
    text-decoration: none;
    z-index: 1;
    font-size: 1.5rem;
    position:relative;
    height: 30px;
    margin: 5.5px 40px;
}

nav ul li a, nav>ul {
  transition: all .5s;
}

nav ul li a:hover {
  color: hsl(0, 81%, 88%);
  transform: scale(1.1);
}

#bild{
    width: 13%;
   height: 80%;
    position: absolute;
    top: 13%;
    right: 9.5%;
    transform: rotate(8deg);
}

#bild2{
   position: absolute;
   width: 15%;
   height: 27%;
   top: 9%;
   left:6%;
   transform: rotate(-8deg);
}


@media all and (min-width: 1150px) {
    #einladung{
        font-size: 2.5vw;
        top:25%;
    }
}

@media all and (max-width: 700px) {
    nav>ul{
        display: block;
        height: auto;
    }

    ul li a{
    float:none;
        margin: auto;
    }
    
    h2{
        font-size: 4vw;
        left:24%;
    }
    
    #bild{
        display: none;
    }
    
    #einladung{
        width:90%;
        left: 4%;
        font-size: 3.5vw;
        top: 43%;   
    }
    
    #bild2{
        width:40%;
        height: 32%;
        top: 12%;
        left:29%;
        transform: rotate(0deg);
    }
}

@media all and (max-width: 420px) {
  
    h2{
        font-size: 5vw;
        left:25%;
    }

    #einladung{
        font-size: 4vw;  
    }
}

@media all and (max-width: 330px) {

    ul li a{
        font-size:1.3rem;
    }
}
