html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
   
}

.grid {
    display: grid;
    grid-template-columns: 25% 50% 25%;
    grid-template-rows:  repeat(5, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}




.score {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    background-color: lightgray;
    font-size: 2rem;
    text-align: center;
    height: 70px;
    width: 85%;
    margin: 0 auto;
    border-radius: 20px;
    margin-top: 5px;
}

.hela-mats {
    margin-top: 5px;
}

.login-center {
    margin: auto;
}

.top {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
    background-color: gray;
    height: 100px;
    padding: 20px;
}

.top-2 {
    grid-column: 1/2;
    grid-row: 4/5;
    background-color: lightgray;
    padding: 50px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-left: 10px;
}




.top-div1 {
    display: inline-block;
    padding: 10px 20px;
    background: gray;
    color: rgb(230, 230, 230);
    text-decoration: none;
    border-radius: 5px;
}
.top-div1:hover {
    color:inherit;
}

.Matsknapp {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
    margin: 0 auto;
}

.shopgrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-template-rows: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    background-color: gray;
    padding: 50px;
}
.butik-item {
    background-color: lightgray;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}
.butik-btn {
    height: 20px;
    width: 20px;
}
.match-container {
    text-align: center;
    padding: 40px;
}

.waiting-box {
    background: #1a1a2e;
    border: 2px solid #e94560;
    border-radius: 12px;
    padding: 40px;
    display: inline-block;
    color:white;
}

h2 {
    color: white;
}

.timer-box {
    font-size: 2rem;
    font-weight: bold;
    color: #e94560;
    margin: 20px 0;
}

.knapp {
    width: 20px;
} 

.scores {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 30px 0;
}

.score-card {
    background: #16213e;
    border: 2px solid #0f3460;
    border-radius: 12px;
    padding: 20px 40px;
    color:white;
}

    .score-card h3 {
        color: #e94560;
    }

.klick-btn {
    font-size: 2rem;
    padding: 20px 60px;
 
    border: none;
    border-radius: 12px;
    cursor: pointer;
    color: white;
    transition: transform 0.1s;
}

    .klick-btn:active {
        transform: scale(0.95);
    }
.resultat-container {
    text-align: center;
    padding: 60px;
}

    .resultat-container h1 {
        font-size: 3rem;
        margin-bottom: 30px;
    }

.resultat-kort {
    display: inline-block;
    background: #16213e;
    border-radius: 16px;
    padding: 30px 60px;
    margin-bottom: 30px;
    color:white;
}

.spelare-rad {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    padding: 12px 0;
    font-size: 1.4rem;
    border-bottom: 1px solid #0f3460;
}

.vinnare {
    color: gold;
}

.förlorare {
    color: #aaa;
}

.knappar {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.btn-rematch, .btn-hem {
    padding: 14px 32px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
}

.btn-rematch {
    background: #e94560;
    color: white;
}

.btn-hem {
    background: #0f3460;
    color: white;
}
.sok-match-btn {
    padding: 14px 40px;
    background: #e94560;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    cursor: pointer;
    margin-top: 20px;
}

.pfp {
    border-radius: 50px;
    margin-bottom: 10px;
    margin-top: 5px;
}

