@media (max-width: 500px) {
    .addgamediv {
        width: 80%;
    }

    .addgamedivhead {
        font-size: 1em;
    }

    .addgamediv h2 {
        font-size: 1.0em;
    }

    strong {
        font-size: 15px;
    }

    .androidDownload {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
    }

    .androidDownload a {
        margin-bottom: 10px;
    }

    .iosDownload {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
    }
}

.menuButtonDiv.open .menuButton1 {
    transform: rotate(45deg) translate(4px, 4px);
}

.menuButtonDiv.open .menuButton2 {
    transform: rotate(-45deg) translate(4px, -4px);
}

.menuButtonDiv.open .menuButton3 {
    opacity: 0;
    transform: rotate(-45deg);
}

body {
    margin: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

header {
    background-color: #434343;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    color: white;
    position: relative;
}

header img {
    width: 32px;
    height: 32px;
    margin-left: 16px;
}

header h1 {
    margin-right: 64px;
}

.buttonDiv {
    display: flex;
    align-items: center;
    justify-content: center;
}

.buttonDiv button {
    background-color: #434343;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    border: none;
    padding: 8px;
    font-size: 24px;
    margin-top: 20px;
}

#addgamebutton {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 20px;
    right: 20px;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    background-color: #434343;
    color: white;
    border: none;
    font-size: 30px;
}

.addgamedivoverlay {
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
}

.addgamediv {
    background-color: white;
    padding: 8px;
    border-radius: 24px;
    min-width: 50%;
}

.addgamediv select {
    background-color: rgba(0, 0, 0, 0.3);
    height: fit-content;
    width: fit-content;
    border: none;
    border-radius: 0.8em;
    padding: 5px;
    cursor: pointer;
}

.addgamediv select:focus {
    outline: none;
}

.addgamedivhead {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin: 8px;
}

.addgamedivhead img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

button {
    cursor: pointer;
}


.spieltag {
    background-color: rgba(0, 0, 0, 0.1);
    padding: 5px;
    margin-top: 8px;
    margin-bottom: 8px;
    border-radius: 1em;
    box-shadow: 4px 8px 4px black;  
    min-width: 320px;
    padding-bottom: 10px;
}

.spieltag select {
    right: 0px;
    margin-right: 8px;
    border-radius: 1em;
    border: none;
    background-color: rgba(0, 0, 0, 0.1);
    padding: 5px;
    margin-left: 8px;
    margin-bottom: 4px;
}

.spieltag select:focus {
    outline: none;
}

.button {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    border: none;
    border-radius: 24px;
    padding: 8px;
    margin-bottom: 20px;
    background-color: #434343;
    color: white;
}

.result {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.ranking {
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-bottom: 20px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 1em;
    box-shadow: 4px 8px 4px black;
    padding: 8px;
    width: fit-content;
    display: none;
}

main {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.menuButtonDiv {
    display: flex;
    position: absolute;
    flex-direction: column;
    margin-right: 10%;
    top: auto;
    left: 10px;
    z-index: 1;
}

.menuButtonDiv span {
    background-color: white;
    height: 4px;
    width: 30px;
    display: block;
    margin: 4px;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.menuDiv {
    display: flex;
    justify-content: start;
    align-items: center;
    position: absolute;
    background-color: rgba(120, 120, 120, 0.8);
    top: 0px;
    left: 0px;
    width: 0px;
    height: 100%;
    transition: width 0.5s ease-in-out;
    overflow: hidden;
    flex-direction: column;
}

.menuDiv h3 {
    padding: 0px;
}

.menuDiv a {
    text-decoration: none;
    color: black;
    padding: 8px;
    margin: 4px;
    display: flex;
    align-items: center;
    width: 90%;
}

.menuDiv a:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.placeholderDiv {
    height: 70px;
    width: 100%;
    display: block;
}

/*Download section*/

main p {
    text-decoration: none;
}

main a {
    text-decoration: none;
    color: white;
    background-color: #434343;
    border-radius: 1.2em;
    padding: 8px;
}

.iosDownload {
    width: 100%;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.androidDownload {
    width: 100%;
}

/*Feedback section*/

.feedbackMainSection {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 24px;
}

.feedbackInput {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

input {
    width: 90%;
    height: 24px;
    box-shadow: 4px 8px 4px black;
    margin: 12px;
    border-radius: 1.2em;
    padding: 8px;
    border: none;
}

input:focus {
    outline: none;
}

textarea {
    width: 90%;
    box-shadow: 4px 8px 4px black;
    margin: 12px;
    border-radius: 1.2em;
    padding: 8px;
    border: none;
}

textarea:focus {
    outline: none;
}

.feedbackButton {
    display: flex;
    align-items: center;
    justify-content: center;
}

.feedbackButton button {
    border: none;
    border-radius: 1.2em;
    background-color: rgba(69, 69, 69, 0.5);
    padding: 8px;
    margin-top: 12px;
}

.instruction {
    padding: 8px;
    display: flex;
    align-items: start;
    justify-content: center;
    flex-direction: column;
    font-size: 16px;
}

.instruction a {
    color: blue;
    text-decoration: underline;
    background-color: transparent;
    padding: 0px;
}

.instruction img {
    width: 50%;
    height: auto;
    margin-top: 8px;
    margin-bottom: 8px;
    box-shadow: 3px 6px 4px black;
}

.instruction span {
    color: red;
}

.headInstruction {
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}