* {
    padding: 0;
    margin: 0;
    font-family: 'Barlow', sans-serif;
    background-color: #12181B;
}

.background {
    background-color: #12181B;
    height: 100%;
    padding-top: 1px;
}

@media screen and (max-width: 810px) {
    .container {
        margin: 15px !important;
    }

    .tile {
        border: 1px solid white !important;
        min-width: 50px !important;
        min-height: 50px !important;
        font-size: 30px !important;
    }

    #logo{
        width: 250px;
    }

    #test{
        display: flex;
        justify-content: center;
    }
   
}

@media screen and (max-width: 430px) {
    .container {
        margin: 10px !important;
    }

    .tile {
        border: 1px solid white !important;
        min-width: 27px !important;
        min-height: 27px !important;
        font-size: 15px !important;
    }
    #logo{
        width: 250px;
    }
    #test{
        display: flex;
        justify-content: center;
    }
    
}

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

.title {
    color: white;
    display: flex;
    justify-content: end;
    font-size: 30px;
}

#header {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

#bigtitle {
    /*position: absolute; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: auto;
}

.display {
    color: white;
    font-size: 23px;
    text-align: center;
    margin-bottom: 10px;
}

.hide {
    display: none;
}

.main-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    /*height: 100vh;*/
}

.black_border {
    border: 3px solid #12181B;
}

.col {
    display: flex;
    flex-direction: column;
}

#col2 {
    border-left: 2px solid white;
    border-right: 2px solid white;
}

.border {
    border-top: 2px solid white;
    border-bottom: 2px solid white;
}


.container {
    margin: 30px;
    display: grid;
    grid-template-columns: 33% 33% 33%;
    grid-template-rows: 33% 33% 33%;
    max-width: 300px;
    background-color: #12181B;
}


.tile {
    border: 1px solid white;
    min-width: 100px;
    min-height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 50px;
    cursor: pointer;
}

.borderX {
    border: 3px solid #09c372;
}

.borderO {
    border: 3px solid #498afb;
}

.target {
    border: 3px solid red;
}

.playerX {
    color: #09c372;
}

.playerO {
    color: #498afb;
}

.controls {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    
}

.announce{
    display: flex;
    justify-content: center;
}

#reset {
    background-color: #FF3860;
    color: white;
    padding: 6px 18px;
    border-radius: 8px;
    border: none;
    font-size: 20px;
    cursor: pointer;
    transition: background-color .15s linear;
}

#reset:hover {
    background-color: #c02343;
}

.container {
    transition: transform 0.15s ease;
    transform-origin: center;
    position: relative;
    z-index: 1;
}

.zoom1 {
    transform: scale(2);
    transform-origin: left top ;
    position: relative;
} 
.zoom2 {
    transform: scale(2);
    transform-origin: top;
    position: relative;
} 
.zoom3 {
    transform: scale(2);
    transform-origin: top right;
    position: relative;
} 
.zoom4 {
    transform: scale(2);
    transform-origin: center left;
    position: relative;
} 
.zoom5 {
    transform: scale(2);
    transform-origin: center;
    position: relative;
} 
.zoom6 {
    transform: scale(2);
    transform-origin: center right;
    position: relative;
} 
.zoom7 {
    transform: scale(2);
    transform-origin: bottom left;
    position: relative;
} 
.zoom8 {
    transform: scale(2);
    transform-origin: bottom center;
    position: relative;
} 
.zoom9 {
    transform: scale(2);
    transform-origin: bottom right;
    position: relative;
}

.zoomed {
    z-index: 10;
    position: relative;
}

.buttonColor{
    filter: invert(80%);
    transition: filter 0.5s;
}


.noZoom1{
    transform: scale(1);
    transform-origin: left top;
}
.noZoom2 {
    transform: scale(1);
    transform-origin: top;
} 
.noZoom3 {
    transform: scale(1);
    transform-origin: top right;
} 
.noZoom4 {
    transform: scale(1);
    transform-origin: center left;
} 
.noZoom5 {
    transform: scale(1);
    transform-origin: center;
} 
.noZoom6 {
    transform: scale(1);
    transform-origin: center right;
} 
.noZoom7 {
    transform: scale(1);
    transform-origin: bottom left;
} 
.noZoom8 {
    transform: scale(1);
    transform-origin: bottom center;
} 
.noZoom9 {
    transform: scale(1);
    transform-origin: bottom right;
}


.mobile-buttons {
    display: none;
    text-align: center;
    margin-top: 20px;
}
#mobile-reset {
    display: none;
    text-align: center;
    margin-top: 20px;

}

#resetMobil{
    background-color: #FF3860;
    color: white;
    padding: 6px 18px;
    border-radius: 8px;
    border: none;
    font-size: 20px;
    cursor: pointer;
    transition: background-color .15s linear;
}

.tile-button {
    margin: 5px;
    padding: 10px 20px;
    color: white;
    border-radius: 8px;
}

@media screen and (max-width: 800px) {
    .mobile-buttons {
        display: block;
    }
    #mobile-reset{
        display: block;
        justify-content: center;
    }
    .controls{
        display: none;
    }
    .mobile-announcer{
        display: none;
    }
    .title{
        text-align: center;
    }
}

.tile-button.selected {
    background-color: #ddd;
}

.zoomed {
    transform: scale(1.5);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
}


#buttons{
    display: flex;
    justify-content: center;
}

.button{
    background-color: #FF3860;
    color: white;
    padding: 6px 18px;
    border-radius: 8px;
    border: none;
    font-size: 20px;
    cursor: pointer;
    transition: background-color .15s linear;
    margin: 10px;
    
}

.link{
    text-decoration: none;
    color: white;
    background-color: #FF3860;
}

#impressum{
    color: white; 
    margin: 20px; 
    text-align: center;
}

#logo{
    padding-top: 20px; 
    padding-bottom: 10px;
}

.footer {
    margin-top: auto;
    text-align: center;
    padding: 20px 0;
}


