/* ________________________________________________________ */
/* _ navigation ______________________________________________ */
/* ________________________________________________________ */
nav{
  width: 100%;
  display: block;
}

nav #navbar1  {
  background-color: var(--gray4);
  position: fixed;
  display: flex;
  transition: top 0.3s;
  z-index:10;
  width: 100%;
  align-items: center;
  justify-content: space-between;
}

nav #navbar2 {
  background-color: var(--gray2);
  position: fixed;
  display: flex;
  transition: top 0.3s;  
  z-index:10;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

nav #navbar1 a{
  color: #ffffff;
  padding: 15px;
  text-decoration: none;
  font-size: 17px;
}

nav #navbar2 a {
  float: left;
  display: block;
  color: #000000;
  text-align: center;
  padding: 15px;
  text-decoration: none;
  font-size: 17px;
}

nav #navbar1 a:hover {

}

nav #navbar2 a:hover {

}

nav #navbar1 a.active {
  background-image: url("../images/logo_off.svg");
  background-size: cover;
  background-repeat: no-repeat;
  width: 50px;
  height: 50px;

}

nav #navbar1 a.active:hover {
  background-image: url("../images/logo_on.svg");
  background-size: cover;
  background-repeat: no-repeat;
  width: 50px;
  height: 50px;
}


nav input[type=text] {
  width: 130px;
  box-sizing: border-box;
  border: 2px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  background-color: white;
  background-image: url('searchicon.png');
  background-position: 10px 10px; 
  background-repeat: no-repeat;
  padding: 12px 20px 12px 40px;
}

nav #navbar2 .search-container {
 width: 100px;

}

nav #navbar2 input[type=text] {
  padding: 0px;
  margin-top: 0px;
  font-size: 17px;
  border: none;
}

nav #navbar2 .search-container button {
  float: right;
  padding: 0px 0px;
  margin-top: 0px;
  margin-right: 0px;
  background: #ddd;
  font-size: 17px;
  border: none;
  cursor: pointer;
}

nav #navbar2 .search-container button:hover {
  background: #ccc;
}

nav #navbar1_logo a {
  float: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

}

.nav_img{
  width: 25%;
  align-items: center;
}


/* ________________________________________________________ */
/* _ Sidenav ______________________________________________ */
/* ________________________________________________________ */
nav #mySidenav a {
  position: absolute;
  right: 0px;
  transition: 0.3s;
  padding: 15px;
  width: 100px;
  text-decoration: none;
  font-size: 20px;
  color: white;
  border-radius: 5px 0px 0px 5px;
  z-index:5;
}

nav #mySidenav a:hover {
 width: 120px;
}

nav #about {
  top: 80%;
  background-color: #04AA6D;
}

nav #blog {
  top: 90%;
  background-color: #2196F3;
}



















/* ________________________________________________________ */
/* _ Logo ______________________________________________ */
/* ________________________________________________________ */
.logo_container {
  width: 5em;
  height: 5em;
  position: relative;
  scale: 1.1;
}
.logo_button {
  position: absolute;
  width: 80%;
  height: 80%;
  border-radius: 50%;
  border: 4px solid #090909;
  background-color: transparent;
  background-image: linear-gradient(145deg, #171717, #444245);
  box-sizing: border-box;
  box-shadow: inset 1px 1px 0 #7d7c7e, inset -1px -1px 0px #1c1c1c;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo_container input {
  display: none;
}

.logo_button::before {
  position: absolute;
  content: "";
  width: 5em;
  height: 5em;
  border-radius: inherit;
  background-color: transparent;
  background-image: linear-gradient(145deg, #262626, #3b3b3b);
  z-index: -1;
  box-shadow: 10px 10px 20px #141414, -5px -5px 20px #3d3d3d;
}

.logo_button .icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo_button .icon svg {
  height: 100%;
  width: 100%;
  fill: #969696;
}

.logo_container input:checked + .logo_button {
  box-shadow: inset -1px -1px 0 #5e5e5e, inset 1px 1px 0 #1c1c1c;
  border: 4px solid rgba(226, 24, 24, 0.5);
  animation: animeBorder 0.3s linear alternate-reverse infinite;
}

.logo_container input:checked + .logo_button .icon svg {
  fill: rgb(226, 24, 24);
  animation: animeFill 0.3s linear alternate-reverse infinite;
}

@keyframes animeFill {
  to {
    fill: rgba(255, 60, 60, 0.642);
  }
}

@keyframes animeBorder {
  to {
    border-color: rgba(255, 60, 60, 0.2);
  }
}