@font-face {
    font-family: DigitalFont;
    src: url('fonts/Digital Dismay.otf');
}

@font-face {
    font-family: OxaniumFont;
    src: url('fonts/Oxanium-Regular.ttf');
}

body {
    margin: 25px auto;
    width: 320px;
    font-family: 'OxaniumFont';
}

.container {
    height: fit-content;
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding-bottom: 5px;
    background-color: #044566;
    border: 3px solid #e7e3cb;
    box-shadow: 0 0 5px black;
    border-radius: 12px;
    overflow: hidden;
}

#score-field {
    margin: 0 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.home-away-title {
    margin: 15px 0 0 0;
    color: #e7e3cb;
    font-size: 30px;
}

.score-number-box {
    font-family: 'DigitalFont';
    margin: 0;
    width: 110px;
    height: 70px;
    padding-top: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #131313;
    color: rgb(255, 80, 80);
    font-size: 60px;
    border-radius: 6px;
    /* box-shadow: 0 0 4px white; */  
}

.score-number-box {
    animation: shadows .033s infinite;
}

@keyframes shadows{
    0% {
        
        text-shadow: .5px .5px 4px white;
        box-shadow: 0px 0px 4px white;
      }
      50% {
        
        text-shadow: .25px .25px 1px rgba(255, 255, 255, 0.5);
        box-shadow: 0px 0px 4px rgba(255, 255, 255, 0.5);
      }
      75% {
        
        text-shadow: .25px .25px 4px rgba(255, 255, 255, 0.5);
        box-shadow: 0px 0px 4px rgba(255, 255, 255, 0.5);
      }
      100% {
          text-shadow: .5px .5px 4px white;
          box-shadow: 0px 0px 4px white;
      }
}


#button-container{
    margin: 10px 0 30px 0;
}

.points-btn {
    font-family: 'DigitalFont';
    font-size: 15px;
    height: 31px;
    width: 33px;
    color: #e7e3cb;
    background-color: transparent;
    border: 1px solid #1e4237;
    border-radius: 6px;
    box-shadow: 0 0 2px white;
    transition: .1s ease-in-out;
}

.points-btn:hover {
    border: 1px solid rgba(37, 255, 121, 0.432);
    box-shadow: 0 0 3px lightgreen;
    transition: .2s ease-in-out;
}

#middle-btn-container {
    display: flex;
    padding-bottom: 6px;
    flex-direction: column;
    justify-content: end;
    margin: 0;
}

.reset-btn {
    font-size: 10px;
    height: 22px;
    width: 40px;
    color: #e7e3cb;
    background-color: transparent;
    border: 1px solid #1e4237;
    border-radius: 6px;
    box-shadow: 0 0 2px white;
    transition: .1s ease-in-out;
}

.reset-btn:hover {
    border: 1px solid rgba(255, 37, 37, 0.493);
    box-shadow: 0 0 4px red;
    transition: .2s ease-in-out;
}