@import url('https://fonts.googleapis.com/css2?family=Montserrat&family=Poppins&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: arial, sans-serif;
    background-color: rgb(69, 86, 125);
}


main {
    /* border: 1px solid darkblue; */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
}

.container{
    height: 600px;
    width: 600px;
    border: 4px solid rgb(67, 67, 67);
    overflow: hidden;
}

/* Reihe 1 */
.reihe1{
    height: 200px;
    width: 600px;
}

.reihe1Button1{
    height: 200px;
    width: 200px;
    background: lightgray;
    font-size: xxx-large;
    float: left;
}

.reihe1Button2{
    height: 200px;
    width: 200px;
    background: lightgray;
    font-size: xxx-large;
    float: left;
}

.reihe1Button3{
    height: 200px;
    width: 200px;
    background: lightgray;
    font-size: xxx-large;
    float: left;
}

/* Reihe 2 */
.reihe2{
    height: 200px;
    width: 600px;
}

.reihe2Button4{
    height: 200px;
    width: 200px;
    background: lightgray;
    font-size: xxx-large;
    float: left;
}


.reihe2Button5{
    height: 200px;
    width: 200px;
    background: lightgray;
    font-size: xxx-large;
    float: left;
}

.reihe2Button6{
    height: 200px;
    width: 200px;
    background: lightgray;
    font-size: xxx-large;
    float: left;
}

/* Reihe 3 */
.reihe3{
    height: 200px;
    width: 600px;
}

.reihe3Button7{
    height: 200px;
    width: 200px;
    background: lightgray;
    font-size: xxx-large;
    float: left;
}


.reihe3Button8{
    height: 200px;
    width: 200px;
    background: lightgray;
    font-size: xxx-large;
    float: left;
}

.reihe3Button9{
    height: 200px;
    width: 200px;
    background: lightgray;
    font-size: xxx-large;
    float: left;
}

.reihe1Button1, .reihe1Button2, .reihe2Button4, .reihe2Button5, .reihe3Button7, .reihe3Button8{
    border-right: 3px solid black;
}

.reihe1Button1, .reihe1Button2, .reihe1Button3, .reihe2Button4, .reihe2Button5, .reihe2Button6{
    border-bottom: 3px solid black;
}

button{
    border: none;
    cursor: pointer;
}



/* #pfeil{
    position: absolute;
    top: 30px;
    left: 30px;
    text-decoration: none;
    font-size: 50px;
    color: rgb(240, 240, 240);

} */

@media screen and (max-width: 500px) {
    .container{
        height: 300px;
        width: 300px;
        border: 2px solid rgb(67, 67, 67);
    }
    
    /* Reihe 1 */
    .reihe1{
        height: 100px;
        width: 300px;
    }
    
    .reihe1Button1{
        height: 100px;
        width: 100px;
        background: lightgray;
        font-size: xx-large;
        float: left;
    }
    
    .reihe1Button2{
        height: 100px;
        width: 100px;
        background: lightgray;
        font-size: xx-large;
        float: left;
    }
    
    .reihe1Button3{
        height: 100px;
        width: 100px;
        background: lightgray;
        font-size: xx-large;
        float: left;
    }
    
    /* Reihe 2 */
    .reihe2{
        height: 100px;
        width: 300px;
    }
    
    .reihe2Button4{
        height: 100px;
        width: 100px;
        background: lightgray;
        font-size: xx-large;
        float: left;
    }

    
    .reihe2Button5{
        height: 100px;
        width: 100px;
        background: lightgray;
        font-size: xx-large;
        float: left;
    }
    
    .reihe2Button6{
        height: 100px;
        width: 100px;
        background: lightgray;
        font-size: xx-large;
        float: left;
    }
    
    /* Reihe 3 */
    .reihe3{
        height: 100px;
        width: 300px;
    }
    
    .reihe3Button7{
        height: 100px;
        width: 100px;
        background: lightgray;
        font-size: xx-large;
        float: left;
    }
    
    .reihe3Button8{
        height: 100px;
        width: 100px;
        background: lightgray;
        font-size: xx-large;
        float: left;
    }
    
    .reihe3Button9{
        height: 100px;
        width: 100px;
        background: lightgray;
        font-size: xx-large;
        float: left;
    }
    
    .reihe1Button1, .reihe1Button2, .reihe2Button4, .reihe2Button5, .reihe3Button7, .reihe3Button8{
        border-right: 1px solid black;
    }
    
    .reihe1Button1, .reihe1Button2, .reihe1Button3, .reihe2Button4, .reihe2Button5, .reihe2Button6{
        border-bottom: 1px solid black;
    }
    




}


