﻿*
{
  font-family: 'Segoe UI', Tahoma, Arial;
  margin:0;
}

BODY
{
  width:100vw;
  //background: #559CC4;
  background:#0a5e58;
  height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;

}


.container {
    position: relative;
    width: 90%; /* Adjust container width as needed */
    height: 90%; /* Adjust container height as needed */
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.field {
    position: relative;
    width: 100%; /* Adjust field width as needed */
    height: 88%; /* Adjust field height as needed */
    background-color: rgba(86,125,70,0.8); /* Grass background color */
    border: 2px solid white; /* Outer border color */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.8); /* Optional shadow effect */
    overflow: hidden; /* Hide overflow for a cleaner look */
}


 .flag-container {
    position: absolute;
    top: 60px; /* Adjust as needed */
    left: 50%; /* Center horizontally */
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    width: 200px; /* Adjust width as needed */
	 z-index: 10;
}


.turkish-flag,
.dutch-flag,
.england-flag {
    width: 40px; /* Adjust flag width as needed */
    height: 25px; /* Adjust flag height as needed */
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    position: relative; /* Ensure flags are positioned relative to flag-container */
}

.middle-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: white; /* Middle line color */
}

.half-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: white; /* Half line color */
    border-radius: 2px;
}

.middle-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    border: 2px solid white; /* Middle circle border color */
    border-radius: 50%;
    background-color: transparent;
}

.ball{
    position: absolute;
    width: 90px; /* Adjust the size of the ball here */
    height: 90px; /* Ensure height matches the width */
    background-image: url('soccer-ball.jpeg');
    background-size: 129%; /* Ensure the image covers the entire ball */
    background-position: center;
	
    border-radius: 50%;
    cursor: grab;
}
.automatic-goalie {
    position: absolute;
    width: 20px;
    height: 100px;
    background-color: white;
    display: block; /* Make goalies visible from the start */
    cursor: pointer; /* Change cursor to pointer */
}

.automatic-goalie.left {
    left: 0; /* Position on the left side */
}

.automatic-goalie.right {
    right: 0; /* Position on the right side */
}


.modal-dialog {
    position: absolute;
    width: 200px;
    height: 100px;
    background-color: rgba(0, 0, 0, 0.5);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
    display: none;
}

.ball:active {
    cursor: grabbing;
}

.speed-display {
    position: absolute;
    width: 100%;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    color: red; /* Change as needed for visibility */
}
.scoreboard-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.scoreboard {
    position: absolute;
    top: 20px;
    left: 50%; /* Center horizontally */
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    width: 200px;
    font-size: 18px;
    font-weight: bold;
    color: white;
}



.turkish-flag {
    width: 90px; /* Adjust width as needed */
    height: 60px; /* Maintain height */
    background-color: red;
    border: 1px solid black;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; /* Ensure relative positioning for absolute children */
}

.crescent {
    position: absolute;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background-color: white;
            top: 15px;
            left: 15px;
            z-index: 1;
}

.crescent::before {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: red;
    top: 2.5px;
    left: 5px;
}

.star {
        position: absolute;
            width: 15px;
            height: 15px;
            background-color: white;
            top: 22.5px;
            left: 45px;
            clip-path: polygon(
                50% 0%, 
                61% 35%, 
                98% 35%, 
                68% 57%, 
                79% 91%, 
                50% 70%, 
                21% 91%, 
                32% 57%, 
                2% 35%, 
                39% 35%
            );
			-webkit-transform: rotate(-18deg);
			-moz-transform: rotate(-18deg);
			-o-transform: rotate(-18deg);
			transform: rotate(-18deg);
}

.england-flag {
    width: 90px; /* Adjust width as needed */
    height: 60px; /* Maintain height */
    background-color: white; /* Background color of the flag */
    border: 1px solid black;
    position: relative; /* Ensure relative positioning for the cross */
}
.england-flag .horizontal-bar,
.england-flag .vertical-bar {
    position: absolute;
    background-color: red;
}

.england-flag .horizontal-bar {
    top: 50%;
    left: 0;
    width: 100%;
    height: 20%;
    transform: translateY(-50%);
}

.england-flag .vertical-bar {
    top: 0;
    left: 50%;
    width: 20%;
    height: 100%;
    transform: translateX(-50%);
}
.dutch-flag {
    width: 90px; /* Adjust width as needed */
    height: 60px; /* Maintain height */
    border: 1px solid black;
    display: flex;
    flex-direction: column; /* Display stripes vertically */
    justify-content: space-between;
}

.red-stripe, .white-stripe, .blue-stripe {
    width: 100%;
    height: 33.33%;
}

.red-stripe {
    background-color: red;
}

.white-stripe {
    background-color: white;
}

.blue-stripe {
    background-color: blue;
}



@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-300px); /* Adjust the height of the bounce here */
    }
}



    .popup-container {
      display: none;
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background-color: #fff;
      border: 1px solid #ccc;
      padding: 20px;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
      z-index: 1000;
      opacity: 0;
      animation: fadeIn 0.5s ease-out forwards;
    }
	
    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
      }
      to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
      }
    }

    .close-btn {
      position: absolute;
      top: 10px;
      right: 10px;
      cursor: pointer;
    }
	
    .popup-content {
      text-align: center;
    }

    .popup-content img {
      max-width: 50%;
      height: auto;
    }

    .greeting {
      font-size: 28px;
      margin-top: 20px;
	    font-family: 'Dancing Script', cursive;
    }
	
    .countdown {
      font-size: 24px;
      margin-top: 10px;
    }
.day{
	background-repeat:no-repeat;
	overflow-x:hidden;
	background-attachment: fixed;
}


.dialog { 
  width: 470px; 
  height: 430px; 
  border-radius: 15px; 
  background-color: rgb(250,250,250,0.7);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto auto;
}

.logo
{
  position: absolute;
  top: 40px;
  left: 0;
  right: 0;
  margin: 0 auto;
}

.box {
  position: relative;
  max-width: 600px;
  width: 90%;
  height: 400px;
  background: #fff;
  box-shadow: 0 0 15px rgba(0,0,0,.1);
}
.title
{
  position: absolute;
  top: 140px;
  left: 0;
  right: 0;
  margin: 0 auto;
  text-align: center;
    color: #3c3d3d;
}

/*
input[type=text], input[type=password]
{
  border: none;
  background-color: #f1f1f1 !important;
  font-size: 14px;
  margin-left: 40px;
  line-height: 38px;
  width: 235px;
}
  */

/* Special hack to override Chrome bug with yellow background */
input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px #f1f1f1 inset;
}

input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px white inset;
}

.username, .password
{
  display: block;
  left: 100px;
  width: 228px;
  height: 40px;
  position: absolute;
  margin: 0 auto;
  background-color: #F1F1F1;
  border: #D0D0D0 solid 1px;
  border-radius: 5px;
  outline: none;
  padding-left: 50px;
  font-size: 14px;
}

.username
{
  top: 180px;
}

.password
{
  top: 245px;
}

.username:focus, .password:focus
{
  background: white;
  border-color: #549BC6;
}

.usernameIcon, .passwordIcon
{
  position: absolute;
  z-index: 1;
  left: 110px;
}

.usernameIcon
{
  top: 190px;
}


.passwordIcon
{
  top: 255px;
}

.errorMessage {
  left: 0;
  right: 0;
  width: 470px;
  line-height: 35px;
  text-align: center;
  position: absolute;
  margin: 0 auto;
  top: 0px;
  border-radius: 5px 5px 0 0;
  background: #fddede;
  color: #d63132;
}
button
{
  left: 0;
  right: 0;
  width: 100px;
  height: 40px;
  color: white;
  font-size: 14px;
  border-radius: 5px;
  position: absolute;
  margin: 0 auto;
  top: 350px;
  background-color: #5CB85C;
  border: #4CAE4C solid 1px;

    -webkit-appearance: none;
     -moz-appearance: none;
       -ms-apperance: none;
          appearance: none;

  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;


  line-height: normal;
  outline: none;
}

button:hover, button:focus
{
  background-color: #82C482;
}
