/*=============== GOOGLE FONTS ===============*/
/* lato-regular - latin */
@font-face {
	font-family: "Lato";
  font-display: swap;
	font-style: normal;
	font-weight: 400;
	src: local(""), url("../fonts/lato-v23-latin-regular.woff2") format("woff2"),
	  /* Chrome 26+, Opera 23+, Firefox 39+ */
		url("../fonts/lato-v23-latin-regular.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }
  /* lato-700 - latin */
  @font-face {
	font-family: "Lato";
  font-display: swap;
	font-style: normal;
	font-weight: 700;
	src: local(""), url("../fonts/lato-v23-latin-700.woff2") format("woff2"),
	  /* Chrome 26+, Opera 23+, Firefox 39+ */
		url("../fonts/lato-v23-latin-700.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }
  /* lato-900 - latin */
  @font-face {
	font-family: "Lato";
  font-display: swap;
	font-style: normal;
	font-weight: 900;
	src: local(""), url("../fonts/lato-v23-latin-900.woff2") format("woff2"),
	  /* Chrome 26+, Opera 23+, Firefox 39+ */
		url("../fonts/lato-v23-latin-900.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }
  /* roboto-regular - latin */
  @font-face {
	font-family: "Roboto";
  font-display: swap;
	font-style: normal;
	font-weight: 400;
	src: url("../fonts/roboto-v30-latin-regular.eot"); /* IE9 Compat Modes */
	src: local(""),
	  url("../fonts/roboto-v30-latin-regular.eot?#iefix")
		format("embedded-opentype"),
	  /* IE6-IE8 */ url("../fonts/roboto-v30-latin-regular.woff2") format("woff2"),
	  /* Super Modern Browsers */ url("../fonts/roboto-v30-latin-regular.woff")
		format("woff"),
	  /* Modern Browsers */ url("../fonts/roboto-v30-latin-regular.ttf")
		format("truetype"),
	  /* Safari, Android, iOS */
		url("../fonts/roboto-v30-latin-regular.svg#Roboto") format("svg"); /* Legacy iOS */
  }
  /* roboto-500 - latin */
  @font-face {
	font-family: "Roboto";
  font-display: swap;
	font-style: normal;
	font-weight: 500;
	src: url("../fonts/roboto-v30-latin-500.eot"); /* IE9 Compat Modes */
	src: local(""),
	  url("../fonts/roboto-v30-latin-500.eot?#iefix") format("embedded-opentype"),
	  /* IE6-IE8 */ url("../fonts/roboto-v30-latin-500.woff2") format("woff2"),
	  /* Super Modern Browsers */ url("../fonts/roboto-v30-latin-500.woff")
		format("woff"),
	  /* Modern Browsers */ url("../fonts/roboto-v30-latin-500.ttf")
		format("truetype"),
	  /* Safari, Android, iOS */ url("../fonts/roboto-v30-latin-500.svg#Roboto")
		format("svg"); /* Legacy iOS */
  }
  /* roboto-700 - latin */
  @font-face {
	font-family: "Roboto";
  font-display: swap;
	font-style: normal;
	font-weight: 700;
	src: url("../fonts/roboto-v30-latin-700.eot"); /* IE9 Compat Modes */
	src: local(""),
	  url("../fonts/roboto-v30-latin-700.eot?#iefix") format("embedded-opentype"),
	  /* IE6-IE8 */ url("../fonts/roboto-v30-latin-700.woff2") format("woff2"),
	  /* Super Modern Browsers */ url("../fonts/roboto-v30-latin-700.woff")
		format("woff"),
	  /* Modern Browsers */ url("../fonts/roboto-v30-latin-700.ttf")
		format("truetype"),
	  /* Safari, Android, iOS */ url("../fonts/roboto-v30-latin-700.svg#Roboto")
		format("svg"); /* Legacy iOS */
  }
  /* raleway-regular - latin */
  @font-face {
	font-family: "Raleway";
  font-display: swap;
	font-style: normal;
	font-weight: 400;
	src: url("../fonts/raleway-v28-latin-regular.eot"); /* IE9 Compat Modes */
	src: local(""),
	  url("../fonts/raleway-v28-latin-regular.eot?#iefix")
		format("embedded-opentype"),
	  /* IE6-IE8 */ url("../fonts/raleway-v28-latin-regular.woff2")
		format("woff2"),
	  /* Super Modern Browsers */ url("../fonts/raleway-v28-latin-regular.woff")
		format("woff"),
	  /* Modern Browsers */ url("../fonts/raleway-v28-latin-regular.ttf")
		format("truetype"),
	  /* Safari, Android, iOS */
		url("../fonts/raleway-v28-latin-regular.svg#Raleway") format("svg"); /* Legacy iOS */
  }
  /* raleway-500 - latin */
  @font-face {
	font-family: "Raleway";
  font-display: swap;
	font-style: normal;
	font-weight: 500;
	src: url("../fonts/raleway-v28-latin-500.eot"); /* IE9 Compat Modes */
	src: local(""),
	  url("../fonts/raleway-v28-latin-500.eot?#iefix") format("embedded-opentype"),
	  /* IE6-IE8 */ url("../fonts/raleway-v28-latin-500.woff2") format("woff2"),
	  /* Super Modern Browsers */ url("../fonts/raleway-v28-latin-500.woff")
		format("woff"),
	  /* Modern Browsers */ url("../fonts/raleway-v28-latin-500.ttf")
		format("truetype"),
	  /* Safari, Android, iOS */ url("../fonts/raleway-v28-latin-500.svg#Raleway")
		format("svg"); /* Legacy iOS */
  }
  /* raleway-600 - latin */
  @font-face {
	font-family: "Raleway";
  font-display: swap;
	font-style: normal;
	font-weight: 600;
	src: url("../fonts/raleway-v28-latin-600.eot"); /* IE9 Compat Modes */
	src: local(""),
	  url("../fonts/raleway-v28-latin-600.eot?#iefix") format("embedded-opentype"),
	  /* IE6-IE8 */ url("../fonts/raleway-v28-latin-600.woff2") format("woff2"),
	  /* Super Modern Browsers */ url("../fonts/raleway-v28-latin-600.woff")
		format("woff"),
	  /* Modern Browsers */ url("../fonts/raleway-v28-latin-600.ttf")
		format("truetype"),
	  /* Safari, Android, iOS */ url("../fonts/raleway-v28-latin-600.svg#Raleway")
		format("svg"); /* Legacy iOS */
  }
  /* raleway-700 - latin */
  @font-face {
	font-family: "Raleway";
  font-display: swap;
	font-style: normal;
	font-weight: 700;
	src: url("../fonts/raleway-v28-latin-700.eot"); /* IE9 Compat Modes */
	src: local(""),
	  url("../fonts/raleway-v28-latin-700.eot?#iefix") format("embedded-opentype"),
	  /* IE6-IE8 */ url("../fonts/raleway-v28-latin-700.woff2") format("woff2"),
	  /* Super Modern Browsers */ url("../fonts/raleway-v28-latin-700.woff")
		format("woff"),
	  /* Modern Browsers */ url("../fonts/raleway-v28-latin-700.ttf")
		format("truetype"),
	  /* Safari, Android, iOS */ url("../fonts/raleway-v28-latin-700.svg#Raleway")
		format("svg"); /* Legacy iOS */
  }

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  --color-body: #23242a;
  --color-header: #2a2f3b;
  --color-text: #9fa5b5;
  --color-title: #fff;
  --color-blue: #26489a;
  --color-blue-light: #4bb3fd;
  --color-shadow: #ffffff29;
  --color-hover: #323741;
  --color-dropdown: #323741;
  --color-dropdown-border: #363a43;
  --color-dropdown-hover: #2a2d35;
  /* --color-footer: #7d8191; */
  --color-footer: #AEB0B7;

  /*========== Font and typography ==========*/
  /* .5rem = 8px / 1rem = 16px ...*/
  --body-font: 'Poppins', sans-serif;

  --biggest-font-size: 2.25rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;

  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .750rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;
  --font-bolder: 800;
  --font-boldest: 900;

  /*========== Margenes Bottom ==========*/
  --mb-0-25: .25rem;
  --mb-0-5: .5rem;
  --mb-0-75: .75rem;
  --mb-1: 1rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/* Responsive typography */
@media screen and (min-width: 1124px) {
  :root {
    --biggest-font-size: 4.5rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/*=============== BASE ===============*/
*{
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role="list"],
ol[role="list"] {
  list-style: none;
}

html{
  scroll-behavior: smooth;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  /* min-height: 100vh;
  margin: var(--header-height) 0 0 0; */
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--color-body);
  text-rendering: optimizeSpeed;
}

h1,h2,h3,h4{
  color: var(--color-title);
  font-weight: var(--font-semi-bold);
}

ul{
  list-style: none;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

a{
  text-decoration: none;
}

img,
picture{
  width: 100%;
  height: auto;
  display: inline-block;
  vertical-align: middle;
}

button,
input{
  border: none;
  outline: none;
}

button{
  cursor: pointer;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

.bx {
  font-size: var(--h2-font-size);
  color: var(--color-blue-light);
}

/*=============== Variables Light Theme ===============*/
body.light-theme {
  --color-body: #1B263B;
  --color-body: #fff;
  --color-header: #e7ecf1;
  --color-text: #444852;
  --color-title: #23242a;
  --color-blue: #0e87dc;
  --color-blue-light: #0e87dc;
  
  --color-shadow: #00000029;
  --color-hover: #f2f2f2;
  --color-dropdown: #fff;
  --color-dropdown-border: #e5e5e5;
  --color-dropdown-hover: #f2f2f2;
  --color-footer: #7d8191;
}

/* .light-theme .profile-container .card-content .card {
  background: #faf9f9;
} */

.light-theme .profile-container .card-content .card .card-info p {
  color: #000000;
}

.light-theme .profile-container .card-content .card .card-info button {
  color: #444852;
  background: #fff;
}

.light-theme .aside .aside-content .aside-body .aside-body-content h2,
.light-theme .profile-container .card-content .card .card-info h3 {
  color: #247ba0;
  color: var(--color-blue);
  /* color: var(--color-blue-light); */
}

.light-theme .profile-container .card-content .card .card-info p {
  color: #444852;
}

.light-theme .pagination .previous-page, .pagination .next-page,
.light-theme .pagination .active {
  color: var(--color-blue-light);
}

.light-theme .sub__header .sub__header-left button {
  border: 2px #4bb3fd solid;
}

.light-theme .pagination p {
  box-shadow: none;
}

.light-theme .profile-container .card-content .card {
  box-shadow: 0 0.3em 0.5em rgb(0 0 0 / 20%);
}




/*========== Button Dark/Light ==========*/
.nav__dark {
  display: flex;
  align-items: center;
  column-gap: 2rem;
  position: absolute;
  left: 3.5rem;
  bottom: 2rem;
}

.change-theme, .change-theme-name {
  color: var(--color-title);
}

.change-theme {
  cursor: pointer;
  font-size: 1rem;
  padding: 1rem;
}

.change-theme-name {
  font-size: var(--small-font-size);
}


/*=============== Button Light/Dark ===============*/
.change-theme {
  font-size: 1.5rem;
  color: var(--color-title);
  margin-right: var(--mb-1);
  cursor: pointer;
  transition: color .3s;
}
.change-theme:hover {
  color: var(--color-text);
}

/*=============== LAYOUT ===============*/
.container {
  max-width: 100%;
  padding: 0 5%;
  margin-left: var(--mb-1-5);
  margin-right: var(--mb-1-5);
}

.container__header {
  padding: 0 5%;
  margin-left: var(--mb-1-5);
  margin-right: var(--mb-1-5);
}

.grid{
  display: grid;
}






/*=============== HEADER ===============*/
.header {
  width: 100%;
  position: relative;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  background-color: var(--color-header);
}

/*=============== NAV ===============*/
.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo, .nav__toggle {
  color: var(--color-title);
}

.nav__logo {
  font-weight: var(--font-bolder);
  font-size: var(--h1-font-size);
  font-family: system-ui;
}

.nav__logo-img{
  width: 10rem;
  padding: 0 1rem;
}

.nav__toggle {
  font-size: 1.5rem;
  cursor: pointer;
}

.nav__toggle .bx {
  font-size: 1.5rem;
  color: var(--color-title);
}

.nav__logo .bx {
  font-size: 2.5rem;
  color: var(--color-title);
}

.nav__menu {
  position: relative;
}

@media screen and (max-width: 767px) {
  .nav__menu {
    position: fixed;
    background-color: var(--color-header);
    top: 0;
    right: -100%;
    width: 70%;
    height: 300px;
    box-shadow: -1px 0 4px rgba(14, 55, 63, 0.15);
    padding: 3rem;
    transition: .4s;
  }
}

.nav__list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  row-gap: 1rem;
}

.nav__link {
  float: right;
  /* background: var(--color-body); */
  color: var(--color-title);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1em;
  /* border: 2px solid var(--color-header); */
  border-radius: 0.5em;
  cursor: pointer;
  transition: background 0.3s ease;
  transition: border 0.3s ease;
}

.nav__link:hover {
  background: var(--color-hover);
}

.nav__close {
  position: absolute;
  top: .75rem;
  right: 1rem;
  font-size: 1.5rem;
  color: var(--color-title);
  cursor: pointer;
}

/* show menu */
.show-menu {
  right: 0;
}

/* Change background header */
.scroll-header {
  background-color: var(--body-color);
  box-shadow: 0 0 4px rgba(14, 55, 63, 0.15);
}

.scroll-header .nav__logo,
.scroll-header .nav__toggle {
  color: var(--title-color);
}

/* Active link */
.active-link {
  position: relative;
  color: var(--title-color);
}

.active-link::before {
  content: '';
  position: absolute;
  background-color: var(--title-color);
  width: 100%;
  height: 2px;
  bottom: -.75rem;
  left: 0;
}


@media screen and (min-width: 768px) {
 
  .nav {
    height: calc(var(--header-height) + 1.5rem);
  }
  .nav__link {
    color: var(--color-title);
    text-transform: initial;
  }
  .nav__link:hover {
    color: var(--color-title);
  }
  .nav__dark {
    position: initial;
  }
  .nav__menu {
    display: flex;
    align-items: center;
    column-gap: 0;
  }
  .nav__list {
    flex-direction: row;
    column-gap: 0;
  }
  .nav__toggle, .nav__close {
    display: none;
  }
  .change-theme-name {
    display: none;
  }
  .change-theme {
    color: var(--color-title);
  }
  .active-link::before {
    background-color: var(--color-title);
  }
  .scroll-header .nav__link {
    color: var(--text-color);
  }
  .scroll-header .active-link {
    color: var(--title-color);
  }
  .scroll-header .active-link::before {
    background-color: var(--title-color);
  }
  .scroll-header .change-theme {
    color: var(--text-color);
  }
}





/*=============== SUB-HEADER ===============*/

.sub__header {
  display: flex;
  width: 100%;
  margin: 0 auto;
  justify-content: space-between;
  align-items: center;
  background: var(--color-body);
}

.sub__header .sub__header-left {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  /* column-gap: 1rem; */
}

.sub__header .sub__header-left .dropdown {
  min-width: 15em;
  position: relative;
  margin: 1em;
}

.sub__header .sub__header-left .dropdown *{
  box-sizing: border-box;
}

.sub__header .sub__header-left .dropdown .select {
  background: var(--color-header);
  color: var(--color-title);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1em;
  border: 2px solid var(--color-header);
  border-radius: 0.5em;
  cursor: pointer;
  transition: background 0.3s ease;
}

/* clicked styles in js */

.sub__header .sub__header-left .dropdown .select-clicked {
  border: 2px var(--color-blue) solid;
  box-shadow: 0 0 0.8em var(--color-blue);
}
  
.sub__header .sub__header-left .dropdown .select:hover {
  background: var(--color-hover);
}

.sub__header .sub__header-left .dropdown .select .caret {
  width: 0;
  height: 0;
  border-left: 0.5em solid transparent;
  border-right: 0.5em solid transparent;
  border-top: 0.5em solid var(--color-title);
  transition: 0.3s;
}

/* rotate styles in js */

.sub__header .sub__header-left .dropdown .select .caret-rotate {
  transform: rotate(180deg);
}

.sub__header .sub__header-left .dropdown .dropdown-menu {
  list-style: none;
  padding: 0.2em 0.5em;
  background: var(--color-dropdown);
  border: 1px solid var(--color-dropdown-border);
  box-shadow: 0 0.5em 1em rgba(0, 0, 0, 0.2);
  border-radius: 0.5em;
  color: var(--color-text);
  position: absolute;
  top: 4em;
  left: 50%;
  width: 100%;
  transform: translateX(-50%);
  opacity: 0;
  display: none;
  transition: 0.2s;
  z-index: 1;
}

.sub__header .sub__header-left .dropdown .dropdown-menu li {
  padding: 0.7em 0.5em;
  margin: 0.3em 0;
  border-radius: 0.5em;
  cursor: pointer;
  transition: 0.2s;
}

.sub__header .sub__header-left .dropdown .dropdown-menu li:hover {
  background: var(--color-dropdown-hover);
}

/* active styles in js */
.sub__header .sub__header-left .dropdown .dropdown-menu .active {
  background: var(--color-body);
}

/* open styles in js */
.sub__header .sub__header-left .dropdown .menu-open {
  opacity: 1;
  display: block;
}


.sub__header .sub__header-left button {
  background: var(--color-header);
  color: var(--color-title);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9em;
  margin: 1em;
  /* border: 2px solid var(--color-header); */
  /* border-radius: 0.5em; */
  border-radius: .5em;
  cursor: pointer;
  transition: background 0.3s ease;
  border: 2px var(--color-blue) solid;
  box-shadow: 0 0 0.5em var(--color-blue);
}

.sub__header .sub__header-left button:hover {
  background: var(--color-hover);
}


@media screen and (max-width: 991px) {
  .sub__header {
    display: none;
  }
}




/*=============== MAIN ===============*/

.main {
  width: 100%;
  background-color: var(--color-header);
  display: flex;
  flex-direction: row;
  justify-content: center;
}



.profile-container {
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--color-header);
}

.profile-container .card-content {
  max-width: 1240px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  background: var(--color-body);
  padding: 2em;
  border-radius: 0.5em;
  box-shadow: 0 0.5em 1em rgba(0, 0, 0, 0.2);
  /* box-shadow: 0 0 0.5em 0.2em var(--color-shadow); */
  margin: 2em 1em 1em 2em;
}

.profile-container .card-content .card {
  position: relative;
  max-width: 325px;
  width: 325px;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--color-body);
  /* padding: 2em; */
  border-radius: 0.5em;
  box-shadow: 0 0.5em 1em rgba(0, 0, 0, 0.2);
  margin: 2em;
  overflow: hidden;
}

.profile-container .card-content .card .card-image {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  transition: 0.3s;
  cursor: pointer;
}

.profile-container .card-content .card .card-image img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.profile-container .card-content .card .card-info {
  position: relative;
  /* display: flex;
  flex-direction: column; */
  padding: 1em;
}

.profile-container .card-content .card .card-info h3 {
  display: flex;
  align-items: center;
  gap: 0.3em;
  font-weight: 600;
  margin-bottom: 0.5em;
  color: var(--color-blue-light);
}

.profile-container .card-content .card .card-info h3 span {
  font-size: var(--normal-font-size);
}

.profile-container .card-content .card .card-info p {
  width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  font-size: 1em;
  line-height: 1.4em;
  min-height: 4.2em;
  font-weight: 400;
  margin-bottom: 0.5em;
  color: var(--color-text);
  overflow: hidden;
}

.profile-container .card-content .card button {
  width: 100%;
  background: var(--color-header);
  color: var(--color-title);
  font-weight: var(--font-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1em;
  cursor: pointer;
  transition: background 0.3s ease;
}

.profile-container .card-content .card button:hover {
  background: var(--color-hover);
}

.pagination {
  width: -webkit-fill-available;
  text-align: center;
  margin: 0 1em 2em 2em;
  padding: 2em;
  user-select: none;
  background-color: var(--color-body);
  border-radius: 0.5em;
  box-shadow: 0 0.5em 1em rgba(0, 0, 0, 0.2);
  /* box-shadow: 0 0 0.5em 0.2em var(--color-shadow); */
}

.pagination p {
  display: inline-block;
  margin: 0 0.5em;
  cursor: pointer;
  box-shadow: 0 5px 25px rgb(1 1 1 / 10%);
}

.pagination p a {
  display: block;
  padding: 0.5em 1em;
  color: var(--color-title);
  text-decoration: none;
  font-weight: 500;
}

.pagination .previous-page, .pagination .next-page {
  padding: 0.5em 1em;
  border-radius: 0.5em;
  background: #4bb3fd;
  color: var(--color-title);
  transition: 0.3s;
}

.pagination .previous-page:hover {
  transform: translate(-5px);
}

.pagination .next-page:hover {
  transform: translate(5px);
}

.pagination .current-page, .pagination .dots {
  padding: 0.5em 1em;
  border-radius: 0.5em;
  background: var(--color-header);
  color: var(--color-title);
  transition: 0.3s;
}

.pagination .active {
  background: #4bb3fd;
}

.pagination .disable {
  background: var(--color-header);
}

.pagination .disable:hover {
  transform: none;
}

.pagination .disable a {
  color: var(--color-text);
}


.pagination .disable:hover a {
  cursor: not-allowed;
}



@media screen and (max-width: 991px) {

  .main {
    flex-direction: column;
  }
  
  .profile-container .card-content {
    margin: 1em;
    padding: 0;
    flex-direction: row;
  }

  .profile-container .card-content .card {
    margin: .5em;
    max-width: 45%;
    width: 45%;
  }

  .profile-container .card-content .card .card-info {
    position: relative;
    /* display: flex;
    flex-direction: column; */
    padding: .5em;
    cursor: pointer;
  }
  
  .profile-container .card-content .card .card-info h3 {
    font-size: var(--small-font-size);
    font-weight: 500;
    margin-bottom: 0.5em;
  }

  .profile-container .card-content .card .card-info h3 span {
    font-size: var(--smaller-font-size);
  }
  
  .profile-container .card-content .card .card-info p {
    width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    font-size: var(--smaller-font-size);
    line-height: 1.4em;
    min-height: 4.2em;
    font-weight: 400;
    margin-bottom: 0.5em;
    color: var(--color-text);
    overflow: hidden;
  }
  
  .profile-container .card-content .card button {
    font-size: var(--small-font-size);
    padding: .8em;
  }

  .pagination {
    margin: 1em;
    padding: .5em;
  }

  .pagination p {
    margin: 0 0.25em;
  }

  .pagination .previous-page, .pagination .next-page {
    padding: 0.25em 0.5em;
  }

  .pagination .current-page, .pagination .dots {
    display: none;
  }

}



/*=============== ASIDE PANEL ===============*/
.aside {
  position: sticky;
  top: 0;
  height: 100%;
  width: 265px;
  display: flex;
  background-color: var(--color-body);
  border-radius: 0.5em;
  box-shadow: 0 0.5em 1em rgba(0, 0, 0, 0.2);
  /* box-shadow: 0 0 0.5em 0.2em var(--color-shadow); */
  padding: 2em 1em;
  margin: 2em 0;
  margin-right: 2em;
  transition: 0.3s;
}

.aside .aside-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.aside .aside-header {
  /* display: none; */
  display: flex;
  flex-direction: row;
  width: 100%;
  align-items: center;
  justify-content: center;
  /* padding: 1em; */
  /* background: var(--color-header); */
  /* -webkit-transform: scaleX(-1);
  transform: scaleX(-1); */
}

.aside .aside-header h2 {
  font-size: 1.5em;
  font-weight: 600;
  color: var(--color-title);
}

.aside .aside-header p {
  font-size: 1em;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
}

.aside .aside-header img {
  width: 100px;
  height: 100px;
  background-color: transparent;
  
  margin-bottom: 1em;
}

.aside .aside-content .aside-body {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  padding: 1em;
}

.aside .aside-content .aside-body .aside-body-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  padding: 1em;
  /* margin: 1em 0; */
  transition: 0.3s;
  cursor: pointer;
}

.aside .aside-content .aside-body .aside-body-content h2 {
  /* color: var(--color-title); */
  /* color: #76a8ea; */
  color: #4bb3fd;
}

.aside .aside-content .aside-body .aside-body-content p {
  color: var(--color-text);
}

.aside .aside-header aside-icon {
  -webkit-transform: scaleX(-1);
  transform: scaleX(-1);
}


@media screen and (max-width: 991px) {
  .aside {
    display: flex;
    width: auto;
    margin: 1em;
    padding: 1em;
  }

  .aside .aside-header {
    display: none;
  }

  .aside .aside-content .aside-body {
    align-items: center;
    justify-content: space-between;
  }

  .aside .aside-content .aside-body .aside-body-content {
    align-items: flex-start;
    justify-content: space-between;
  }
  
}



/*========== SCROLL UP ==========*/
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -20%;
  background-color: var(--color-body);
  padding: .5rem;
  border-radius: .5rem;
  display: flex;
  opacity: .9;
  z-index: var(--z-tooltip);
  transition: .4s;
}

.scrollup:hover {
  background-color: var(--color-body-hover);
  border-radius: .5rem;
  border: 2px var(--color-blue) solid;
  box-shadow: 0 0 0.8em var(--color-blue);
  opacity: 1;
}

.scrollup__icon {
  color: var(--color-title);
  font-size: 1.2rem;
}

/* Show scroll */
.show-scroll {
  bottom: 5rem;
}


@media screen and (min-width: 991px) {
  .scrollup {
    right: 2rem;
  }
}
  


/*========== FOOTER ==========*/
.footer {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  color: var(--color-footer);
  padding: 1em;
  gap: 1rem;
  background-color: var(--color-body);
  /* border-radius: 0.5em; */
  /* box-shadow: 0 0.5em 1em rgba(0, 0, 0, 0.2); */
  /* box-shadow: 0 0 0.5em 0.2em var(--color-shadow); */
  transition: 0.3s;
}

.footer a {
  color: var(--color-footer);
  color: #AEB0B7;
  text-decoration: none;
}












/* For large devices */
@media screen and (min-width: 1240px){
  .container{
    margin-left: auto;
    margin-right: auto;
  }

  .container__header{
    max-width: 1553px;
    padding: 0;
    margin-left: auto;
    margin-right: auto;
  }

  .main {
    flex-direction: row;
  }


}