@import url('https://fonts.googleapis.com/css?family=Roboto:100');

* {
  padding: 0;
  margin: 0;
  list-style: none;
  text-decoration: none;
}

#icons {
  width: 16px;
  cursor: pointer;
  background: white;
  margin-right: 10px;
}

#main-tittle {
  color: #f5f5f5;
  position: absolute;
  text-align: center;
  background: #042331;
  font-size: 5vw;
  left: 25%;
  margin-top: 5.5em;
  line-height: 50px;
  letter-spacing: 1.5px;
  font-weight: 500;
  transition: all .5s ease;
  z-index: 95;
}

.div-side {
  top: 0;
}

/*  Sidebar start */
.sidebar {
  position: fixed;
  top: 0;
  left: -270px;
  width: 270px;
  height: 100%;
  background: #042331;
  transition: all .5s ease;
  z-index: 96;


}

.sidebar header {
  font-size: 22px;
  font-weight: 600;
  color: orangered;
  line-height: 50px;
  text-align: left;
  background: #042331;
  user-select: none;
  margin-left: 15px;
   letter-spacing: 1.5px;


}

.sidebar ul a {
  font-family: 'Kanit',
    sans-serif;
  display: block;
  height: 100%;
  width: 100%;
  line-height: 35px;
  font-size: 16px;
  color: white;
  padding-left: 15px;
  box-sizing: border-box;
  border-bottom: 1px solid black;
  border-top: 1px solid rgba(255, 255, 255, .1);
  transition: .4s;


}


/* On mouse-over */
.sidebar a:hover,
.dropdown-btn:hover {
  color: red;
  cursor: pointer;

}

/* Add an active class to the active dropdown button */


/* Dropdown container (hidden by default). Optional: add a lighter background color and some left padding to change the design of the dropdown content */
.dropdown-container {
  display: none;

  padding-left: 8px;
}

/* Optional: Style the caret down icon */
.fa-caret-down {
  float: right;
  padding-right: 8px;
}

/*  Sidebar end */


ul li:hover a {
  padding-left: 30px;
  background-color: #f5f5f5;
  font-weight: bold;
}

.sidebar ul a i {
  margin-right: 16px;
}

#check {
  display: none;
}

label #btn,
label #cancel {
  position: absolute;

  border-radius: 3px;
  cursor: pointer;
}

label #btn {
  left: 40px;
  top: 25px;
  font-size: 35px;
  color: #f5f5f5;
  background: #042331;
  padding: 6px 12px;
  transition: all .5s;
}

.logo_ecs {
  width: 5em;
  cursor: pointer;
  position: absolute;
  right: 30px;
  top: 10px;

  transition: all .5s;

}

.row.top_right {
  cursor: pointer;
  position: absolute;

  right: 90px;
  top: 30px;

  transition: all .5s;

}

label #btn:hover {
  color: red;
  cursor: pointer;
  transition: .4s;
  background-color: rgba(0, 0, 0, .05);
  border: 2.5px solid red;
  border-radius: 10px;
}

label #cancel {
  z-index: 1111;
  left: -220px;
  top: 10px;
  font-size: 30px;
  color: red;
 
  padding: 4px 20px;
  transition: all .5s ease;
}

#check:checked~.sidebar {
  left: 0;
}

label #cancel:hover {
  color:white;
}
#check:checked~label #btn {
  left: 250px;
  opacity: 0;
  pointer-events: none;
}

#check:checked~label #cancel {
  left: 195px;
}

#check:checked~section {
  margin-left: 250px;
}

section {

  background-position: center;
  background-size: cover;

  height: 100vh;
  transition: all .5s;
  z-index: 1;
}
