*,
*::after,
*::before {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

.html {
  font-size: 62.5%;
}

body {
  font-family: "Georgia", "Times New Roman", serif;
  background-image: url('/images/background.png');
}

/* ............/navbar/............ *

/* desktop mode............/// */

.navbar input[type="checkbox"],
.navbar .hamburger-lines {
  display: none;
}

.navbar {
  box-shadow: 0px 5px 10px 0px #aaa;
  position: fixed;
  width: 100%;
  background: #fff;
  color: #000;
  opacity: 0.85;
  height: 140px;
  z-index: 12;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  height: 140px;
  align-items: center;
}

.menu-items {
  order: 2;
  display: flex;
  margin-left:70%;
}

.menu-items li {
  list-style: none;
  margin-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.menu-items a {
  text-decoration: none;
  color: #444;
  font-weight: 500;
  transition: color 0.3s ease-in-out;
}

.menu-items a:hover {
  color: #117964;
  transition: color 0.3s ease-in-out;
}

.logo {
  order: 1;
  font-size: 2.3rem;
  margin-bottom: 0.5rem;
  background-image: url(/images/logo_sykes.png);
  height:106px;
  width:145px;
  background-repeat: no-repeat;
  margin-top: 0;
  position:absolute;
  background-size: cover;
  margin-left:10px;
}
 
.logo span {
  position: absolute;
  left: -999em;
}
.container {
  margin:auto; 
  width:90%; 
  max-width: 1200px;
}
#content { margin:auto; 
  padding-top: 140px; 
  width:90%; 
  max-width: 1200px; 
  text-align: center; 
  height: 100%;  
  background: rgba(255,255,255,0.4);
}

#content p {
  text-align:left;
  padding: 4px;
}

#content ul {
  text-align:left;
  margin-left:20%;
  margin-top: 30px;
}
#content li {
  list-style-type: none;
  text-align: left;
}
#content li span {
  padding-left: 5px;
}
.name {
  font-weight: bold;
}
.piece {
  display: list-item;
  margin-left: 40px;
}

.piece span {
  font-style: italic;
}

label {
  cursor: pointer;
}

h1 { margin: 0px 0px 20px 0px; }
p { background: rgba(255,255,255,0.4); width:60%; margin: auto; display: inline-block; }

table {background: #eee; margin: 0 auto 20px auto; width: 1000px;}
th { background: #eee;padding: 2px; margin: 0;border: 1px solid #eee; text-align: center;}

td { background: #fff;padding: 2px 6px; margin: 0;border: 1px solid #eee; text-align: right;}
td.full_name { text-align:left; }
#footer { width: 100%; padding:4px}

#pieceadmin .performername {
  font-weight: bold;
}

#pieceadmin .piece {

}

#pieceadmin .piece span {
  font-style: italic;
}

#enter {
  margin: 10px auto;
}

#enter p {
  text-align: center;
}

#messages {
  text-align: center;
  border: 1px solid red;
  background-color: rgba(255,0,0,0.5);
  z-index: 100;
  width:60%;
  margin:auto;
}

#messages ul {
  list-style-type: none;
  margin-top: 0;
}

input[type="button"] {
  padding: 5px 20px;
  margin: 20px 0;
  font-size: large;
}

#content input[type="submit"] {
  margin: 20px 0;
  padding: 2px 10px;
}

#content .votecount {
  width: 30px;
  background-color:white;
  display:inline-block;
  text-align:center;
  border: 1px solid silver;
  padding: 2px;
}

#content h2 {
  margin-top: 2em;
}

@media (max-width: 768px) {
  .navbar {
    opacity: 0.95;
  }

  .navbar-container input[type="checkbox"],
  .navbar-container .hamburger-lines {
    display: block;
  }

  .navbar-container {
    display: block;
    position: relative;
    height: 64px;
  }

  .navbar-container input[type="checkbox"] {
    position: absolute;
    display: block;
    height: 32px;
    width: 30px;
    top: 20px;
    left: 20px;
    z-index: 5;
    opacity: 0;
  }

  .navbar-container .hamburger-lines {
    display: block;
    height: 23px;
    width: 35px;
    position: absolute;
    top: 17px;
    left: 20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .navbar-container .hamburger-lines .line {
    display: block;
    height: 4px;
    width: 100%;
    border-radius: 10px;
    background: #333;
  }

  .navbar-container .hamburger-lines .line1 {
    transform-origin: 0% 0%;
    transition: transform 0.4s ease-in-out;
  }

  .navbar-container .hamburger-lines .line2 {
    transition: transform 0.2s ease-in-out;
  }

  .navbar-container .hamburger-lines .line3 {
    transform-origin: 0% 100%;
    transition: transform 0.4s ease-in-out;
  }

  .navbar .menu-items {
    padding-top: 100px;
    background: #fff;
    height: 100vh;
    max-width: 300px;
    transform: translate(-150%);
    display: flex;
    flex-direction: column;
    margin-left: -40px;
    padding-left: 50px;
    transition: transform 0.5s ease-in-out;
    box-shadow: 5px 0px 10px 0px #aaa;
  }

  .navbar .menu-items li {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 500;
  }

  .logo {
    position: absolute;
    top: 5px;
    right: 15px;
    font-size: 2rem;
  }

  .navbar-container input[type="checkbox"]:checked ~ .menu-items {
    transform: translateX(0);
  }

  .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
    transform: rotate(35deg);
  }

  .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
    transform: scaleY(0);
  }

  .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
    transform: rotate(-35deg);
  }


  #content ul {
    margin-left:20px;
  }
  #content input[type="submit"] {
    width: 100%;
    margin: 20px 0;
    font-size: large;
    padding: 2px 10px;
  }

  input[type="button"] {
    padding: 2px 10px;
  }

  #messages {
    text-align: center;
    border: 1px solid red;
    background-color: rgba(255,0,0,0.5);
    z-index: 100;
    width:60%;
    margin:auto;
  }

  #messages ul {
    list-style-type: none;
    margin-top: 0;
  }

}