
@font-face {
  font-family: 'DigitLoFi';
  src: url('../fonts/DIGILFS_.TTF') format('truetype'),;
}

@font-face {
  font-family: 'Digifit';
  src: url('../fonts/DIGIFIT.TTF') format('truetype');
}

@font-face {
  font-family: 'PlanetKosmos';
  src: url('../fonts/PLANK___.TTF') format('truetype');
}

@font-face {
  font-family: 'Excelerate';
  src: url('../fonts/excelate.ttf') format('truetype');
}

@font-face {
  font-family: 'SonyEricsson';
  src: url('../fonts/SonyEricsson.ttf') format('truetype');
}

@font-face {
  font-family: 'Sony_Sketch_EF';
  src: url('../fonts/Sony_Sketch_EF.ttf') format('truetype');
}

/* General */
body {
  background-image: url('../img/bg-037.jpg');
  color: #1d6875;
  font-family: 'Sony_Sketch_EF';
  font-size: large;
  padding: 20px;
}

.main {
  margin-left: 15%;
  margin-right: 10%;
  padding: 20px;
  overflow: auto;
}

.main h1 {
  font-family: 'Excelerate';
  padding: 20px;
  font-size: 2.5em;
  color: #1d6875;
  text-align: center;
  margin-bottom: 10px;
}

li {
  margin-bottom: 10px;
  color: #1d6875;
}

button {
  background-color:#1d6875;
  color: #bdfff4;
  padding: 12px 24px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
}

button:hover {
  background-color: #008080;
}

.mini-button {
  font-size: 8px;
  padding: 6px 12px;
  border-radius: 10px;
}

input[type=checkbox] {
  width: 20px;
  height: 20px;
}



table {
  margin-top: 15px;
  width: 100%
}

th {
  background-color: #add6e0;
  padding: 10px;
}

td {
  text-align: center;
  background-color: aliceblue;
  padding: 5px;
  height: 60px;
}




/* Flash messages */

.flash-messages {
  margin-bottom: 20px;
}
.flash {
  padding: 12px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.flash.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}
.flash.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}
.flash.info {
  background-color: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}

/* Side-navigator */

/* The navigation menu links 
  background: #97b398;
  a: b0ff1f
  a:hover: 87cf00
*/

.sidenav {
  height: 100%; /* 100% Full-height */
  width: 15%; /* 0 width - change this with JavaScript */
  position: fixed; /* Stay in place */
  z-index: 1; /* Stay on top */
  top: 0; /* Stay at the top */
  left: 0;
  background: #61a3af; /* #008080; */
  overflow-x: hidden; /* Disable horizontal scroll */
  padding-top: 40px; /* Place content 60px from the top */
  transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
  border: 2px solid #c0c0c0;
}

.sidenav h1 {
  color: #f1f1f1;
  padding-left: 32px;
  font-size: 2em;
  margin-bottom: 20px;
}

.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 14px;
  color: #d5f7ff;
  display: block;
  transition: 0.3s;
  font-family: "Excelerate"
}

.sidenav a:hover {
  color: #83e8ff;
}

/* Index */

.indexmain {
  margin-right: 25%;
}

.linkbanner {
  background: #d5f7ff;
  padding: 8px 8px 8px 8px;
  border: 2px solid #c0c0c0;
}

.linkbanner img {
  transition: 0.3s;
}

.linkbanner img:hover {
  transform: rotate(10deg);
}

.webamp-container { 
  right:0;
  top:250px;
  position: fixed;
}


/* TV-stream */


.now-playing {
  font-size: 24px;
  text-align: center;
  margin: 20px 0;
  background: #800000;
  padding: 10px;
}



/* Log-in/register */

.container {
  background: #61a3af;
  padding: 30px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  max-width: 600px;
  margin: 50px auto;
  padding: 20px;
}

a {
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.form-group {
  margin-bottom: 15px;
}

input[type="email"],
input[type="text"],
input[type="number"],
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  box-sizing: border-box;
  font-size: 14px;
}

.container h1 {
  font-family: 'Excelerate';
  padding: 20px;
  font-size: 2em;
  color: #1d6875;
  text-align: center;
  margin-bottom: 10px;
}

#availableCode {
  color: #4CAF50;
}

#usedCode {
  color: #999;
}



/* TV-Guide */

.program-info {
  display: none;
  position: fixed;
  top: 2%;
  left: 50%;
  transform: translate(-50%, 50%);
  background: aliceblue;
  padding: 20px;
  border-radius: 5px;
  z-index: 1000;
  overflow: auto;
  box-sizing: border-box;
  min-width: 500px; 
  max-width: 90%;
}

.info-group {
  margin: 10px 0;
}

.info-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}
