body {
    background-color: #f5f5f5;
    font-family: 'Arial', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.container {
    background-color: white;
    border: 4px solid #000;
    border-radius: 15px;
    padding: 20px;
    max-width: 400px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.3);
    display: grid;
    grid-template-rows: auto auto;
    gap: 20px;
}

.screen {
    background-color: #e0e0e0;
    height: 200px;
    border: 4px solid #000;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    padding: 10px;
}

.display {
    background-color: #6bbf59;
    border: 2px solid #000;
    border-radius: 10px;
    height: 100%;
    position: relative;
    padding: 5px;
    box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Football field lines */
.display::before,
.display::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background-color: white;
}

.display::before {
    top: 25%;
    transform: translateY(-50%);
}

.display::after {
    top: 75%;
    transform: translateY(-50%);
}

/* Hash marks */
.hash-mark { 
		position: absolute;
    width: 2px;
    height: 10px;
    background-color: white;
}

.hash-mark.top {
    top: 25%;
}

.hash-mark.bottom {
    top: 69%;
}

.hash-mark.top:nth-child(1) { left: 10; }
.hash-mark.top:nth-child(2) { left: 20; }
.hash-mark.top:nth-child(3) { left: 30; }
.hash-mark.top:nth-child(4) { left: 40; }
.hash-mark.top:nth-child(5) { left: 50; }



/* End zones */
.endzone-left,
.endzone-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 5%;
    background-color: rgba(0, 0, 0, 0.3); /* Light gray for end zones */
    z-index: 5;
}

.endzone-left {
    left: 0;
}

.endzone-right {
    right: 0;
}

.form-container {
    margin-top: 20px;
    background-color: #f0f0f0;
    border: 2px solid #000;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

input[type="number"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 2px solid #000;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 16px;
}

.calculate-button {
    width: 100%;
    padding: 10px;
    background-color: #ffffff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
		font: #ffffff
}
