/* -- Fonts import -- */
@font-face { font-family: Consolas; src: url("/vendors/fonts/Consolas.ttf"); } 


/* -- Default configs -- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  color: var(--font-color);
  font-family: Consolas, 'Arial', sans-serif;
  font-size: 20px;
  text-rendering: optimizeLegibility;
}

html, body {
  min-height: 100% !important;
  height: 100%;
  background-color: var(--color-primary);
}


/* --- AUX CLASSES --- */

/* -- Width (px) -- */
.w-25 {
  width: 25px !important;
}

/* -- Padding -- */
.padding {
  padding: 80px 300px 0 300px;
}

/* -- Text -- */
.italic {
  font-style: italic;
}

/* Margin */
.mtop-40 {
  margin-top: 40px !important;
}

/* -- Opacity -- */
.op-80 {
  opacity: 0.8;
}

.op-90 {
  opacity: 0.9;
}

/* -- Themes variables -- */
.theme-light {
  --color-primary: #fdf6e3;
  --color-secondary: #eee8d5;
  --color-inverse: #073642;
  --font-color: #002b36;
  --font-inverse: #fdf6e3;
  --font-pagination: #00647d;
  --svg-filter: invert(14%) sepia(9%) saturate(7409%) hue-rotate(155deg) brightness(96%) contrast(104%);
  --svg-filter-inverse: invert(90%) sepia(4%) saturate(1839%) hue-rotate(329deg) brightness(106%) contrast(111%);
}

.theme-dark {
  --color-primary: #002b36;
  --color-secondary: #073642;
  --color-inverse: #fdf6e3;
  --font-color: #eee8d5;
  --font-inverse: #002b36;
  --font-pagination: #fff;
  --svg-filter: invert(90%) sepia(4%) saturate(1839%) hue-rotate(329deg) brightness(106%) contrast(111%);
  --svg-filter-inverse: invert(14%) sepia(9%) saturate(7409%) hue-rotate(155deg) brightness(96%) contrast(104%);
}


/* -- Container & boxes layout -- */
.container {
  display: flex;
  width: 100%;
  height: 100%;
  background: var(--color-primary);
}

.box {
  height: 100%;
}

.box-left {
  width: 25%;
}


/* -- Side box - profile -- */
.profile-img {
  width: 180px;
  height: 180px;
}

.profile-info {
  margin-top: 20px;
}

.profile-info h3 {
  font-size: 120%;
  font-weight: 400;
  letter-spacing: 1px;
}

.profile-info p {
  letter-spacing: 0.5px;
  font-style: italic;
  font-size: 90%;
  opacity: 0.8;
}

.profile-info-mobile {
  display: none;
}

.profile-icons {
  display: flex;
  gap: 5px;
  margin-top: 25px;
}

.profile-icons img {
  width: 35px;
  filter: var(--svg-filter);
}


/* -- Side box - nav */
.nav {
  margin-top: 50px;
}

.nav ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
}

.nav li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav img {
  width: 25px;
  filter: var(--svg-filter);
}

.nav a:link,
.nav a:visited {
  color: var(--font-color);
  text-decoration: none;
}

.box-right {
  width: 75%;
}


/* -- Side box -- language -- */
.language {
  margin-top: 50px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.language span {
  font-size: 85%;
  font-weight: 600;
  cursor: default;
}

.language a {
  display: flex;
}

.language img {
  filter: var(--svg-filter);
}

.language img:nth-child(1) {
  width: 22px !important;
}

.language img:nth-child(3) {
  width: 24px !important;
  cursor: pointer;
}

/* -- Side - dark/light switch -- */
.switch {
  margin-top: 15px;
  zoom: 0.7;
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 40px;
  width: 40px;
  left: 0px;
  bottom: 4px;
  top: 0;
  bottom: 0;
  margin: auto 0;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  box-shadow: 0 0px 15px #2020203d;
  background: white url('https://i.ibb.co/FxzBYR9/night.png');
  background-repeat: no-repeat;
  background-position: center;
}

input:checked + .slider {
  background-color: #2196f3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196f3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(24px);
  -ms-transform: translateX(24px);
  transform: translateX(24px);
  background: white url('https://i.ibb.co/7JfqXxB/sunny.png');
  background-repeat: no-repeat;
  background-position: center;
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

@media only screen and (max-width: 1750px) {
  .padding {
    padding: 80px 250px 0 250px;
  }
}

@media only screen and (max-width: 1600px) {
  .padding {
    padding: 70px 200px 0 200px;
  }
}


@media only screen and (max-width: 1440px) {
  html {
    font-size: 18px;
  }

  .padding {
    padding: 60px 150px 0 150px;
  }
}

@media only screen and (max-width: 1350px) {
  .padding {
    padding: 60px 120px 0 120px;
  }
}

@media only screen and (max-width: 1200px) {
  .padding {
    padding: 50px 80px 0 80px;
  }
}

@media only screen and (max-width: 1050px) {
  .padding {
    padding: 40px 30px 0 30px;
  }
}

@media only screen and (max-width: 950px) {
  .padding {
    padding: 50px 50px 0 50px;
  }

  .container {
    flex-direction: column;
  }

  .box {
    width: 100% !important;
  }

  .box-left {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 300px;
  }

  .profile {
    display: flex;
  }

  .profile-content {
    margin-left: 20px;
  }

  .profile-info {
    margin: 0;
  }

  .nav, .language, .switch {
    margin: 0;
  }

  .functions {
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-end;
    gap: 10px;
  }

  .box-right {
    margin-top: 40px;
  }
}

@media only screen and (max-width: 770px) {
  .padding {
    padding: 20px 20px 0 20px;
  }

  .profile-img {
    width: 140px;
    height: 140px;
  }

  .box-left {
    flex-wrap: wrap;
    height: 350px;
  }
  .nav {
    width: 100%;
    order: 3;
    margin: 20px 0;
  }
}

@media only screen and (max-width: 565px) {
  .padding {
    padding: 10px 10px 0 10px;
  }

  .switch {
    margin-top: 10px;    
  }
}

@media only screen and (max-width: 500px) {
  .profile-info h3 {
    width: 100px;
  }
}

@media only screen and (max-width: 420px) {
  .profile-info-mobile {
    display: block;
  }

  .profile-info-desktop {
    display: none;
  }
}

/* Para escala de notebooks, etc.. */
@media (min-resolution: 1.21dppx) and (max-resolution: 1.29dppx) {
  body {
    zoom: 90%;
  }
}

@media (min-resolution: 1.3dppx) and (max-resolution: 1.6dppx) {
  body {
    zoom: 80%;
  }
}