@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap");

:root {
    --header-height: 4rem;
    /* Colores */
    --primary-dark-color: #EC7004;
    --primary-color: #EF8C36;
    --background-color: #FAFAFA;
    --aux-color: #BDBDBD;
    --secondary-dark-color: #000000;
    --secondary-color: #212121;
    --secondary-text-color: #757575;
    --icons-color: #FFFFFF;
    --sub-grey: #d9d9d9;
    /*========== Font and typography ==========*/
    --body-font: 'Poppins', sans-serif;
    --biggest-font-size: 2rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1.125rem;
    --normal-font-size: .938rem;
    --small-font-size: .813rem;
    --smaller-font-size: .75rem;
    /*========== Font weight ==========*/
    --font-semi-bold: 600;
    --font-bold: 700;
    /*========== Margenes ==========*/
    --mb-0-5: .5rem;
    --mb-0-75: .75rem;
    --mb-1: 1rem;
    --mb-1-5: 1.5rem;
    --mb-2: 2rem;
    /*========== z index ==========*/
    --z-tooltip: 10;
    --z-fixed: 100;
  }
  
  @media screen and (min-width: 968px) {
    :root {
      --biggest-font-size: 3rem;
      --h2-font-size: 1.75rem;
      --h3-font-size: 1.25rem;
      --normal-font-size: 1rem;
      --small-font-size: .875rem;
      --smaller-font-size: .813rem;
    }
  }

  /*Reset*/
html, body{
    margin: var(--header-height) 5px 5px 5px;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

body{
    margin: var(--header-height) 0 0 0;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--background-color);
    color: var(--secondary-color);
    transition: .5s;
}

  /*=============== HEADER ===============*/
  .header {
    width: 100%;
    background-color: var(--background-color);
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--z-fixed);
    box-shadow: 2px 2px 26px 0px rgba(0, 0, 0, 0.3);
    transition: .5s;
  }
  
  /*=============== NAV ===============*/
  .nav {
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  a{
    text-decoration: none;
  }

    .nav__logo {
    color: var(--primary-color);
    font-weight: var(--font-semi-bold);
  }

  .button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--icons-color);
    padding: .75rem 1.5rem;
    border-radius: 3rem;
    font-weight: var(--font-semi-bold);
    transition: .3s;
  }
  
  .button:hover {
    background-color: var(--primary-dark-color);
    box-shadow: 2px 2px 26px 0px rgba(0, 0, 0, 0.3);
  }
  
  .button__header {
    display: block;
    color: var(--background-color);
  }

  @media screen and (min-width: 767px) {
    body {
      margin: 0;
    }
    .nav {
      height: calc(var(--header-height) + 1.5rem);
    }
  }
  
  /* For large devices */
  
  
  @media screen and (min-width: 1024px) {
    .container {
      margin-left: auto;
      margin-right: auto;
    }
  }


.table-header{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 20px;
    border-radius: 12px;
    background-color: #EF8C36;
    box-shadow: 2px 2px 6px 0px rgba(0, 0, 0, 0.3);
}

.barra-buscar{
    padding: 8px 15px;
    margin: 0 10px;
    outline: none;
    border: thin solid var(--primary-dark-color);
    border-radius: 12px;
    color: var(--secondary-dark-color);
}

.jobs{
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
    align-items: center;
    overflow: hidden;
}

.blogcard {    
    display: flex;
    flex-direction: column;
    margin: auto;
    width: 100%;
    height: 100%;
    box-shadow: 2px 2px 26px 0px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.6%;
    background: #fff;
    line-height: 1.4;
    font-family: sans-serif;
    border-radius: 5px;
    overflow: hidden;
    z-index: 0; 
  }


  .blogcard .meta {
    position: relative;
    z-index: 0;
    height: 200px;
  }

  .blogcard .photo {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.2s;
  }

  .blogcard .details {
    margin: auto;
    padding: 0;
    list-style: none;
    position: absolute;
    top: 0;
    bottom: 0;
    left: -115%;
    margin: auto;
    transition: left 0.2s;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 10px;
    width: 100%;
    font-size: 0.9rem;
  }

  .blogcard .details ul li {
    display: inline-block;
  }

  .blogcard .description {
    padding: 1rem;
    background: #fff;
    position: relative;
    z-index: 1;
  }

  .blogcard .description h1,
  .blogcard .description h2 {
    font-family: Poppins, sans-serif;
  }

  .blogcard .description h1 {
    line-height: 1;
    margin: 0;
    font-size: 1.7rem;
  }

  .blogcard .description h2 {
    font-size: 1rem;
    font-weight: 300;
    text-transform: uppercase;
    color: #a2a2a2;
    margin-top: 5px;
  }

  .blogcard .description .read-more {
    text-align: right;
  }

  .blogcard .description .read-more a {
    color: var(--primary-dark-color);
    text-decoration: none;
    display: inline-block;
    position: relative;
  }

  .blogcard .description .read-more a:after {
    content: url('https://api.iconify.design/bx/right-arrow-alt.svg?color=%23ec7004&width=24&height=24');
    margin-left: -10px;
    opacity: 0;
    vertical-align: middle;
    transition: margin 0.3s, opacity 0.3s;
  }

  .blogcard .description .read-more a:hover:after {
    margin-left: 5px;
    opacity: 1;
  }

  .blogcard p {
    position: relative;
    margin: 1rem 0 0;
  }

  .blogcard p:first-of-type {
    margin-top: 1.25rem;
  }

  .blogcard p:first-of-type:before {
    content: "";
    position: absolute;
    height: 5px;
    background: var(--primary-dark-color);
    width: 35px;
    top: -0.75rem;
    border-radius: 3px;
  }

  .blogcard:hover .details {
    left: 0%;
  }


  @media (max-width: 1600px) {
    .jobs{
        grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 800px) {
    .jobs{
        grid-template-columns: repeat(1, 1fr);
    }
  }

  @media (min-width: 1200px) {

    .blogcard {
      flex-direction: row;
      max-width: 700px;
    }
    .blogcard .meta {
      flex-basis: 40%;
      height: auto;
    }
    .blogcard .description {
      flex-basis: 60%;
    }
    .blogcard .description:before {
      transform: skewX(-3deg);
      content: "";
      background: #fff;
      width: 30px;
      position: absolute;
      left: -10px;
      top: 0;
      bottom: 0;
      z-index: -1;
    }
  }




  .image-background{
    position: fixed;
    display: inline-block;
    z-index: -1;
    bottom: 2%;
    right: 2%;
    width: 50%;
  }






  .shapes{
    position: fixed;
    display: inline-block;
    z-index: -1;
  }
  .dec-gray{
    top: 0%;
    left: -7%;
    border-top: 500px solid var(--aux-color);
    border-left: 0px solid transparent;
    border-right: 500px solid transparent;
    height: 0;
    width: 125px;
  }
  .dec-black{
    bottom: 0%;
    left: -7%;
    border-bottom: 500px solid var(--secondary-color);
    border-left: 0px solid transparent;
    border-right: 500px solid transparent;
    height: 0;
    width: 125px;
  }
  