@import url("https://fonts.googleapis.com/css2?family=Comfortaa:wght@300&family=Comforter+Brush&family=Roboto:ital,wght@0,100;0,300;0,400;1,300&display=swap");

* {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  padding: 0;
  margin: 0;
  font-weight: 400;
}

h1 {
  font-size: 50px;
  font-weight: 300;
  margin: 0 0 20px 0;
}

a,
p {
  text-decoration: none;
  line-height: 30px;
  font-family: "Roboto", sans-serif;
}

li {
  margin-bottom: 8px;
}

/* blog css */
.blog p {
  margin: 20px 0 20px 0;
}

.author {
  color: var(--dim-font);
  margin-bottom: 20px;
}

.blog h1 {
  font-size: 70px;
  font-family: "Comforter Brush", cursive;
}

button {
  padding: 5px 15px;
  border-radius: 50vmin;

  border: 3px solid var(--accent-color);

  background-color: transparent;
  margin: 0px;
  cursor: pointer;
}

input[type="text"] {
  font-size: 16px;
  background-color: var(--item_background_color);

  padding: 10px 20px;

  -webkit-transition: width 0.4s ease-in-out;
  transition: width 0.4s ease-in-out;
  outline: none;

  background-image: none;
  border: 0px solid #ccc;
  border-radius: 50vmin;
}

input[type="search"] {
  /* box-sizing: border-box; */
  border: 0px solid #ccc;
  /* border-radius: 50vw; */
  /* font-size: 16px; */
  background-color: var(--item_background_color);
  background-color: transparent;
  background-image: url("search_icon.png");
  background-position: 450px 10px;
  background-repeat: no-repeat;
  padding: 0;
  height: inherit;
  width: 100%;
  -webkit-transition: width 0.4s ease-in-out;
  transition: width 0.4s ease-in-out;
  outline: none;

  background-image: none;

  width: 400px;

 
}

input[type="search"]:focus {
  /* width: 500px; */
  border: 0px solid #777;
  outline: none;
  background-image: none;
}

/* border radius  */
.top-bar,
.bottom-bar,
.message-bar,
.announcement-bar,
.menu_option,
.menu-pane,
.top-bar2,
.item {
  border-radius: 6px;
  
}

.noselect {
  -webkit-touch-callout: none;
  /* iOS Safari */
  -webkit-user-select: none;
  /* Safari */
  -khtml-user-select: none;
  /* Konqueror HTML */
  -moz-user-select: none;
  /* Old versions of Firefox */
  -ms-user-select: none;
  /* Internet Explorer/Edge */
  user-select: none;
  /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}


.hidden {
  display: none;
}

.transition {
  transition: 400ms;
}

/* .shadow {
  border: 0px solid black;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2), 0 3px 15px 0 rgba(0, 0, 0, 0.19);
} */

.resize {
  resize: vertical;
}


.item {
  cursor: auto;
  overflow: auto;
  transition: 50ms;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 3px 15px 0 rgba(0, 0, 0, 0.19);
}

.youtube_embed {
  position: relative;
  padding-bottom: 56.25%;
  display: none;
}

.iframe_youtube {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/* toggle
-------------------------------------- */

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 20px;
  border-radius: 50vw;
  top: 0px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: none;
  border: 3px solid #777;
  -webkit-transition: 0s;
  transition: 0s;

  border-radius: 50vw;
}

.slider:before {
  position: absolute;
  content: "";
  height: 60%;
  width: 25px;
  left: 5px;
  bottom: 22%;
  background-color: var(--font_color);
  -webkit-transition: 0s;
  transition: 0s;

  border-radius: 50vw;
}

input:checked + .slider {
  background-color: none;
}

input:focus + .slider {
  box-shadow: 0 0 0px #fff;
}

input:checked + .slider:before {
  -webkit-transform: translateX(18.5px);
  -ms-transform: translateX(18.5px);
  transform: translateX(18.5px);
}

/* animations 
----------------------------------*/
@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes bar-elongate {
  0% {
    width: 200px;
    background-color: rgb(35, 64, 90);
    border: 3px solid #777;
    padding: 0px;
  }

  100% {
    width: calc(100% - 400px + 50px);
    border: 3px solid rgba(119, 119, 119, 0);
    padding: 0px;
    background-color: rgba(35, 64, 90, 0);
  }
}

@keyframes hover-bar-elongate {
  0% {
    width: 165px;
    background-color: rgb(88, 88, 88);
  }

  100% {
    width: calc(100% - 400px);
  }
}

@keyframes bottom-bar {
  0% {
  }

  100% {
  }
}

@keyframes options-bar-elongate {
  0% {
    visibility: hidden;
  }

  100% {
    visibility: hidden;
  }
}


