@import url('./core.css');

html {
  padding: 25px 50px;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: all ease .3s;
  height: calc(100% - 50px);
}

.header {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 25px;
  margin-bottom: 20px;
}

.header h1 {
  font-size: 36px;
  transition: all ease .3s;
}

.header img {
  aspect-ratio: 1/1;
  object-fit: contain;
  transition: all ease .3s;
  filter: invert(var(--invert));
}

.switch {
  width: 80px;
  height: 40px;
  position: absolute;
  top: 30px;
  right: 30px;
  cursor: pointer;
  z-index: 1000;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--box-color);
  transition: all ease .3s;
  display: flex;
  justify-content: center;
  align-items: center;
  border: var(--text-color) 1px solid;
}

.slider svg {
  left: 5px;
  position: absolute;
  z-index: 1000;
  transition: all ease .3s;
}

.slider:before {
  left: 5px;
  position: absolute;
  content: "";
  height: 30px;
  width: 30px;
  background-color: var(--text-color);
  opacity: 0;
  transition: all ease .3s;
}

input:checked + .slider:before {
  transform: translateX(38px);
}
input:checked + .slider svg {
  transform: translateX(38px);
}

.slider.round {
  border-radius: 34px;
}
.slider.round:before {
  border-radius: 50%;
}

.content {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 10px;
}

.content .breadcrumb {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  gap: 15px;
}

.content .breadcrumb a {
  text-decoration: none;
  font-size: 22px;
  font-weight: 500;
  color: var(--text-color);
  cursor: default;
  transition: all ease .3s;
}

.content iframe {
  width: 100%;
  height: 100%;
  border: none;
  margin-top: 10px;
}