:root {
  /*--color: #E1E1E1;*/
  /*--sub-color: hsla(0, 10%, 10%, 0.4);*/
  --parraf: hsl(0, 0%, 40%);
  /*--color: #B6E693;
  --sub-color: #9BE69B;
  --transparent-color: #B6E69399;
  --transparent-sub-color: #9BE69B99;*/
  /*--color: #4e69e6;
  --sub-color: #9ba8e6;
  --transparent-color: #4e69e699;
  --transparent-sub-color: #9ba8e699;*/
  --color: #F0120C;
  --sub-color: #F08E54;
  --transparent-color: #F0120C99;
  --transparent-sub-color: #F08E5459;
}

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

body {
  font-family: "Roboto", system-ui, sans-serif;
  /*background-color: black;*/
  scroll-behavior: smooth;
  /*place-content: center;*/
}

h1 {
  text-align: center;
  margin-bottom: 25px;
}

h2 {
  text-align: center;
  font-size: clamp(26px, 5vw, 32px);
  margin-bottom: 15px;
}

h3 {
  text-align: center;
}

p {   
  
  max-width: 75ch;
  width: fit-content;
  margin: 0 auto;
  margin-block: 1lh;
  /*text-align: justify;*/
  /*text-wrap: balance;*/
  hyphenate-limit-chars: 7;
  hyphens: auto;
  line-height: 1.4;
  padding: 20px;
  /*border: 1px solid;*/
}

a {
  text-decoration: none;
  color: hsla(0, 10%, 10%, .6);
  transition: color .2s ease-in;
  &:hover {
    color: hsla(0, 10%, 10%, .9);
  }
}

@keyframes fadein-left-to-right{
  from {
    opacity: 0;
    transform: translateX(-210px);
  } to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadein-right-to-left{
  from {
    opacity: 0;
    transform: translateX(210px);
  } to {
    opacity: 1;
    transform: translateX(0);
  }
}

nav, section, header {
  padding: 0 30px;
  max-width: 1800px;
  margin: 0 auto;
}

section:nth-child(even) {
  background: var(--transparent-sub-color);
}

button {
  border: none;
  padding: 7px 15px;
  border-radius: 10px;
  cursor: pointer;
  &:hover {
    scale: 1.05;  
  }
  &:active {
    scale: 0.92;
  }
}

.logo {
  background: url("../img/logo.jpg") center / contain no-repeat;
  /*background: url("/img/fundation/logo.jpg") center / contain no-repeat;*/
  width: 60px;
  height: 60px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  align-items: center;
  margin: 5px 10px;
}

.nav-bar {
  display: flex;
  justify-self: flex-end;
  list-style: none;

  .nav-item {
    padding: 7px 15px;
  }
}

/* From Uiverse.io by kennyotsu-monochromia */ 
.container {
  width: 100%;
  /*min-height: 100dvh;*/
  height: auto;
  padding: 30px 0;
  /*background-color: #F3F3F3;*/
  /*background: linear-gradient(0deg, transparent 24%, var(--color) 25%, var(--color) 26%, transparent 27%,transparent 74%, var(--color) 75%, var(--color) 76%, transparent 77%,transparent),*/
      /*linear-gradient(90deg, transparent 24%, var(--color) 25%, var(--color) 26%, transparent 27%,transparent 74%, var(--color) 75%, var(--color) 76%, transparent 77%,transparent);*/
  /*background-size: 55px 55px;*/
  place-content: center;
  /*border: 1px solid;*/

  /*background-color: #e5e5f7;
  opacity: 0.8;
  background: radial-gradient(circle, transparent 20%, #e5e5f7 20%, #e5e5f7 80%, transparent 80%, transparent), radial-gradient(circle, transparent 20%, #e5e5f7 20%, #e5e5f7 80%, transparent 80%, transparent) 25px 25px, linear-gradient(#444cf7 2px, transparent 2px) 0 -1px, linear-gradient(90deg, #444cf7 2px, #e5e5f7 2px) -1px 0;
  background-size: 50px 50px, 50px 50px, 25px 25px, 25px 25px;*/
}

.parraf {
  color: var(--parraf);
}

.first-content {
  display: flex;
  /*position: relative;*/
  margin: auto;
  padding: 20px 0;
  height: 100%;
  /*padding-top: 0;*/
  /*align-items: baseline;*/
  /*border: 1px solid;*/
  place-content: center;
  /*place-items: flex-end;*/
  place-items: center;
  gap: 1em;
  overflow: hidden;
  /*justify-self: center;*/
  /*align-self: center;*/
  /*border: 1px solid;*/
  /*margin: auto;*/
  picture {
    flex: .6;
    /*border: 1px solid;*/
    width: 100%;
    height: 250px;
    img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: contain;
      /*border-radius: 10px;*/
      /*border-radius: 45% 10% 45% 10%;*/
      /*border-radius: 10% 20%;*/
    }
    animation: fadein-left-to-right 4s forwards;
  }
}

.title {
  display: flex;
  flex: .4;
    flex-direction: column;
    min-width: 350px;
    max-width: 450px;
    padding: 10px 10px 10px 30px;
    justify-content: center;
    /*border: 1px solid;*/
  /*text-indent: auto;*/
  h1 {
    text-align: center;
    /*line-height: 1.1;*/

    span {
      display: block;
      margin-top: 5px;
      font-size: 16px;
    }
  }

  p {
    color: var(--parraf);
    margin: 0;
    padding: 0;
    /*text-justify: distribute;*/
    text-align: center;
  }
  animation: fadein-right-to-left 4s forwards;
}

.title-mobile {
  display: none;
  span { 
    font-size:16px;
    color: var(--parraf); 
  }
}
/*SOCIAL WEBS*/

/* From Uiverse.io by vinodjangid07 */ 
.card-social {
  width: fit-content;
  height: fit-content;
  background-color: rgb(238, 238, 238);
  display: flex;
  position: absolute;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
  padding: 10px 25px;
  gap: 20px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.055);
  border-radius: 10px;
  top: 25px;
  left: 42%;
  transform: translate(-50%, -50%);
  transition: opacity .4s ease-in;
  &:hover {
    opacity: 1;
  }
}

/* for all social containers*/
.socialContainer {
  width: 24px;
  height: 24px;
  background-color: rgb(44, 44, 44);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition-duration: .3s;
}
/* instagram*/
.containerOne:hover {
  background-color: #d62976;
  transition-duration: .3s;
}
/* twitter*/
.containerTwo:hover {
  background-color: #00acee;
  transition-duration: .3s;
}
/* linkdin*/
.containerThree:hover {
  background-color: #0072b1;
  transition-duration: .3s;
}
/* Whatsapp*/
.containerFour:hover {
  background-color: #128C7E;
  transition-duration: .3s;
}

.socialContainer:active {
  transform: scale(0.9);
  transition-duration: .3s;
}

.socialSvg {
  width: 17px;
}

.socialSvg path {
  fill: rgb(255, 255, 255);
}

.socialContainer:hover .socialSvg {
  animation: slide-in-top 0.3s both;
}

@keyframes slide-in-top {
  0% {
    transform: translateY(-50px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/*SOCIAL WEBS*/

.footer-rights {
  display: flex;
  text-align: center;
  color: #fafafa;
  background-color: var(--parraf);
  height: fit-content;
  align-items: flex-end;
  font-size: .7rem;
  /*text-transform: lowercase;*/
  padding: 10px 0;
  a {
    color: inherit;
  }
}

.btn-menu {
  display: none;
}

@media (width <= 768px) {

  .nav-bar {
    /*display: grid;
    flex-direction: column;
    place-content: center;*/
    display: none; 
    flex-direction: column;
    text-align: right;
    position: fixed;
    z-index: 6000;
    width: 40vw;
    height: 40vh;
    top: 10%;
    right: 0;
    background-color: #fafafaea;
    /*place-content: center;*/
    padding: 40px 20px 0 0;
    border-radius: 20px 0 0 20px;

  } 

  .nav-item {
    border-bottom: 2px solid transparent;
    margin-bottom: 20px;
    /*padding: 30px 0;*/
    transition: all .3s ease-in;
    &:hover {
      border-bottom: 2px solid #2b2b2b;
      /*padding-bottom: 4px;  */
      /*display: inline-block;  */
      /*text-decoration-thickness: 2px; */
      /*text-underline-offset: 4px; */
    }
  }

  .container {
    /*width: 100%;*/
    min-height: 70dvh;
    place-content: start;
  }


  .first-content {
    /*display: flex;*/
    flex-direction: column;
    overflow: hidden;
    width: auto;
    height: auto;
    margin: 15px auto;
    /*padding: 30px 0;*/
  }

  .first-content picture {
    flex: none;
    width: 100%;
    /*max-height: 500px;*/
    height: fit-content;
    /*border: 1px solids;*/
    img {
      display: block;
      width: 100%;
      height: 100%;
    }
  }


  .title h1{
    display: none;
    /*margin-bottom: 0;*/
    span {
      display: flex;
    }
  }

  .title-mobile {
    display: block;
    margin-bottom: 0;
    font-size: 26px;
    span {
      margin-top: 10px;
      display: block;
    }
  }

  .btn-menu {
    display: block;
    position: fixed;     
    background: url('../svg/menu.svg') center center / contain no-repeat;
    /*background: url('/svg/menu.svg') center center / contain no-repeat;*/
    border: none;
    cursor: pointer;        
    width: 32px;
    height: 32px;
    top: 10px;
    right: 10px;
    /*padding: 6px 3px;*/
    margin: 15px;
    z-index: 6000;        
    transition: all .05s ease-in-out;
    /*justify-self: flex-end;*/
    /*align-self: anchor-center;*/
    background-color: #fafaface;
  }

  .btn-menu:hover {
    filter: drop-shadow(1px 1px 1px #243fa8c8);
    /*transform: scale(1.05);*/
  }

  .btn-menu:active {
    background-color: var(--backgroundtransparent);
    transform: scale(0.95);
  }

  .show {
    display: flex;
    opacity: 1;
    height: 100dvh;
    transition: all .4s ease-in;
    @starting-style {
      opacity: 0;
      height: 0;
      translate: 0 -80px;
    }
  }

}