* {
	box-sizing: border-box;
}

#frame {
	font-family: arial;
	background-color: transparent;
	width: auto;
	margin: auto;
}

body {
	background-color: #333;
}

header {
    display: flex;
	text-align: center;
    align-items: center;
	color: white;
	font-size: 50px;
	font-weight: bold;
	margin-left: 10%;
	margin-right: 10%;
	/*background-color: blue;*/
}

header img {
    width: 130px;
    margin-right: 20px;
}

section {
	margin: 10%;
}

i {
    color: white;
}

.form {
    Color: white;
    float: right;
    padding: 5px;
    margin-bottom: 15px;
}

i {
    clear: both;
}

.form label {
    display: inline-block;
    width: 200px;
    margin: 10px;
}

.form input[type='text'] {
    color: black;
    border: 1px black;
    border-radius: 10px;
    background-color: bisque;
    width: 200px;
    height: 25px;
}

.box {
	display: grid;
    grid-template-columns: repeat(2, 1fr);
	gap: 10%;
    width: 100%;
}

.boxen {
    background-color: transparent;
	height: 400px;
	border-radius: 25px;
}

.boxeins {
    transition: transform 0.3s ease;
	background-image: url('images/arcade.jpg');
    background-position: center;
    background-size: cover;
    height: 400px;
	border-radius: 25px;
    padding-top: 40%;
    text-align: center;
    font-size: 500%;
    text-decoration: none;
    font-weight: bold;
    color: white;
    box-shadow: 5px 5px 5px darkslategray;
}

.boxeins:hover {
    animation: wippen 0.4s ease;
}

.boxzwei {
    transition: transform 0.3s ease;
    background-image: url('images/code.jpg');
    background-position: center;
    background-size: cover;
    height: 400px;
	border-radius: 25px;
    padding-top: 40%;
    text-align: center;
    font-size: 400%;
    text-decoration: wavy;
    font-weight: bold;
    color: white;
    box-shadow: 5px 5px 5px darkslategray;
}

a {
    text-decoration: none;
}

.boxzwei:hover {
    animation: wippen 0.4s ease;
}

@keyframes wippen {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(3deg); }
  50% { transform: rotate(-3deg); }
  75% { transform: rotate(2deg); }
  100% { transform: rotate(0deg); }
}

/* Media Query für Handys */
@media (max-width: 768px) { 
    header {
        display: flex;
        text-align: center;
        align-items: center;
        color: white;
        font-size: 20px;
        font-weight: bold;
        margin-left: 10%;
        margin-right: 10%;
        /*background-color: blue;*/
    }

    header img {
        width: 100px;
        margin-right: 20px;
    }

    section {
        margin: 5%;
    }

    .form label {
        display: inline-block;
        width: 120px;
        margin: 10px;
    }

	.box {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 10%;
        width: 100%;
    }

    .boxen {
        background-color: transparent;
        height: 400px;
        border-radius: 25px;
    }

    .boxeins {
        background-image: url('images/arcade.jpg');
        background-position: center;
        background-size: cover;
        height: 400px;
        border-radius: 25px;
        padding-top: 40%;
        text-align: center;
        font-size: 500%;
        text-decoration: none;
        font-weight: bold;
        color: white;
    }

    .boxzwei {
        background-image: url('images/code.jpg');
        background-position: center;
        background-size: cover;
        height: 400px;
        border-radius: 25px;
        padding-top: 40%;
        text-align: center;
        font-size: 400%;
        text-decoration: wavy;
        font-weight: bold;
        color: white;
    }

    .unterertrenner {
        margin-top: 100px;
    }
}