/*%%%%%%%%%%%%%%%%*/
/*-----  Top  -----*/
/*%%%%%%%%%%%%%%%%*/
/* #region */
html {
  box-sizing: border-box;
  font-size: 62.5%;
  height: 100vh;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
  font-family: "Poppins", sans-serif;
  font-size: 1.6rem;
  line-height: 2;
  padding: 0;
  overflow: scroll;
}
/* #endregion */

/*%%%%%%%%%%%%%%%%*/
/*-----  Globales  -----*/
/*%%%%%%%%%%%%%%%%*/
/* #region */
.contenedor {
  max-width: 120rem;
  margin: 0 auto;
}

h1,
h2,
h3,
h4 {
  text-align: center;
}

h1 {
  font-size: 3rem;
  color: var(--light);
  font-weight: var(--fontweight-bold);
}

h2 {
  font-size: 2.5rem;
  color: var(--light);
  font-weight: var(--fontweight-bold);
}

h3 {
  font-size: 2rem;
  font-weight: var(--fontweight-bold);
}

h4 {
  font-size: 3rem;
}

img {
  max-width: 100%;
}

p {
  font-size: 1.5rem;
}

a {
  font-size: 1.5rem;
  text-decoration: none;
  color: var(--light);
  font-weight: var(--fontweight-bold);
  transition: all 600ms ease-in-out;
}

a:hover {
  color: var(--mdark);
  transition: all 600ms ease-in-out;
}

/* width */

::-webkit-scrollbar {
  width: 10px;
}
/* Track */

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */

::-webkit-scrollbar-thumb {
  background: rgb(177, 177, 177);
  border-radius: 3px;
}

/* Handle on hover */

::-webkit-scrollbar-thumb:hover {
  background: #000000;
}

@media (min-width: 901px) {
  .only-phone {
    display: none !important;
  }
}
@media (max-width: 900px) {
  .only-pc {
    display: none !important;
  }
}

.no-margin {
  margin: 0;
}

.copyright {
  line-height: 0.5;
  text-align: center;
  padding: 1rem;
  background-color: var(--light);
}
.copyright p {
  margin: 0;
}

.space {
  display: inline-block;
  width: 8px;
}
/* #endregion */

/*%%%%%%%%%%%%%%%%*/
/*-----  Variables  -----*/
/*%%%%%%%%%%%%%%%%*/
/* #region */
:root {
  --dark: #000000ff;
  --mdark: #1b2d53;
  --medium: #fca311ff;
  --mlight: #e5e5e5ff;
  --light: #ffffffff;

  --fontweight-light: 200;
  --fontweight-normal: 400;
  --fontweight-bold: 700;

  --shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  --textshadow: 2px 2px 3px var(--dark);
}
/* #endregion */

/*%%%%%%%%%%%%%%%%*/
/*-----  Table  -----*/
/*%%%%%%%%%%%%%%%%*/
/* #region */

.table {
  margin: 5rem 0;
  padding: 0 5rem;
}

/* #endregion */

/*%%%%%%%%%%%%%%%%*/
/*-----  Grid  -----*/
/*%%%%%%%%%%%%%%%%*/
/* #region */
.grid {
  padding: 5%;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 1200px) {
  .grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

.grid-card {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  height: 40rem;
  background-position: center center;
  background-size: cover;
  overflow: hidden;
  transform: scale(1);
  transition: all 500ms ease-in-out;
}

.grid-card:hover {
  transform: scale(1.05);
  transition: all 500ms ease-in-out;
}

.grid-card h3 {
  color: var(--light);
  font-weight: var(--fontweight-bold);
  text-align: center;
  text-shadow: var(--textshadow);
}

.grid-card p {
  color: var(--light);
  font-weight: var(--fontweight-bold);
  text-align: center;
  text-shadow: var(--textshadow);
}

.grid-card img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center center;
}

/* #endregion */

/*%%%%%%%%%%%%%%%%*/
/*-----  MainSlider  -----*/
/*%%%%%%%%%%%%%%%%*/
/* #region */
.slider {
  height: 100vh;
}

.slider-img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 100vh;
  object-position: center center;
  object-fit: cover;
}

.slider-text {
  text-shadow: var(--textshadow);
  font-size: 5rem;
  font-weight: var(--fontweight-bold)
}

.slider-text-2 {
  text-shadow: var(--textshadow);
  font-size: 4rem !important;
}
/* #endregion */

/*%%%%%%%%%%%%%%%%*/
/*-----  Datatable  -----*/
/*%%%%%%%%%%%%%%%%*/
/* #region */
.datatable-container {
  margin: 2rem;
  padding: 2rem;
  border: solid var(--mlight) 1px;
  border-radius: 1rem;
  max-width: 100%;
}

.paginate_button {
  padding: unset !important;
}

.datatable-img img {
  height: 8rem;
  width: 8rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: center center;
}
/* #endregion */

/*%%%%%%%%%%%%%%%%*/
/*-----  Header  -----*/
/*%%%%%%%%%%%%%%%%*/
/* #region */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: var(--medium);
  z-index: 10;
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: var(--shadow);
}
.header > * {
  width: 33.33%;
}
@media (max-width: 900px) {
  .header {
    position: relative;
    flex-direction: column;
    padding-bottom: 2rem;
  }
  .header > * {
    width: 100%;
  }
}

.header-left {
  display: flex;
  justify-content: start;
  align-items: center;
  padding-left: 2rem;
}
.header-left > * {
  margin-left: 1rem;
}
.header-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 2rem;
}
.header-center *{
  text-align: center;
}

@media (max-width: 900px) {
  .header-left {
    justify-content: center;
    padding-left: unset;
  }
  .header-left > * {
    margin: 1rem;
  }
  .header-right {
    justify-content: center;
    padding-right: 0;
  }
}
/* #endregion */

/*%%%%%%%%%%%%%%%%*/
/*-----  Footer  -----*/
/*%%%%%%%%%%%%%%%%*/
/* #region */
.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: var(--light);
  z-index: 10;
}
/* #endregion */

/*%%%%%%%%%%%%%%%%*/
/*-----  mySweetalert  -----*/
/*%%%%%%%%%%%%%%%%*/
/* #region */

.swal2-popup{
  width: unset;
  font-size: 1.2rem;
}

.swal2-content{
  font-size: 2rem;
}

.swal2-content input{
  margin-bottom: 10px;
}
/* #endregion */

/*%%%%%%%%%%%%%%%%*/
/*-----  Form  -----*/
/*%%%%%%%%%%%%%%%%*/
/* #region */
.form-container{
  margin: 1rem;
  padding: 1rem;
  border: solid 1px var(--mlight);
  border-radius: 1rem;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
}

.form-container form{
  width: 100%;
}

.form-section{
  width: 100%;
  padding: 1rem;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
}

.form-row{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.form-row > *{
  width: 100%;
  margin: 0.5rem;
}

.form-row i{
  max-width: 2rem;
}

.form-item{
  width: 100%;
  padding: 1rem;
  margin: 1rem;
  background-color: var(--mlight);
  border: 1px transparent solid;
  border-radius: 1rem;
}

.form-row input[type=checkbox]{
  width: max-content;
}

.form-row textarea{
  width: 100%;
}

fieldset{
  display: flex;
  justify-content: space-around;
  align-items: center;
}

fieldset > *{
  width: 100%;
  align-self: center;
}

.form-label{
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: left;
  width: 100%;
  text-align: left;
}

.form-button{
  margin: 0 0.5rem;
  width: 2rem;
}

.form-button i{
  transform: rotateZ(0deg);
  transition: all 200ms ease-in-out;
}

.form-button i:hover{
  transform: rotateZ(90deg);
  transition: all 200ms ease-in-out;
}

.form-card{
  width: 100%;
  background-color: var(--mlight);
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.form-label-fixed{
  max-width: max-content;
}

input[type="radio"], input[type="checkbox"] {
  margin-right: 1rem;
}
/* #endregion */
