/*
Theme Name: Alegra assessment
Theme URI: http://example.com/alegra
Author: Jose Córdoba
Author URI: josecordoba.com
Description: A clean and elegant WordPress theme for wellness and lifestyle blogs.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: alegra
Tags: blog, wellness, lifestyle, clean design
*/


:root{
  --max-with-90: 90%;
  --max-with-80: 80%;
}


.max-with-80 {
  max-width: var(--max-with-80) !important;
  margin: auto;
}

.max-with-90 {
  max-width: var(--max-with-90) !important;
  margin: auto;
}

@media(max-width: 768px){
  .max-with-90 {
    max-width: var(--max-with-90);
    margin: auto;
  }
}

main {
  min-height: 85vh;
}

.border-title {
  position: relative;
}

.border-title::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #FE4A51;
  background: linear-gradient(90deg,rgba(254, 74, 81, 1) 10%, rgba(45, 45, 45, 1) 10%);
}

.grid-home {
  display: grid;
  grid-template-columns: 75% 23%;
  gap: 19px;
  max-width: 80%;
}

/** Header styles */
.header {
  background: white;
  position: fixed;
  width: 100%;
  z-index: 2;
  top: 0;
}

.header__logo {
  color: var(--wp--preset--color--primario);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 2px;
  text-decoration: none;
}

.header__logo--bold {
  color: var(--wp--preset--color--negro);
}

.header__nav {
  display: flex;
  max-width: var(--max-with-90);
  margin: auto;
  justify-content: space-between;
  align-items: center;
}

.nav__menu {
  display: flex;
  gap: 20px;
}

.menu-item {
  list-style: none;
}

.menu-item a{
  text-decoration: none;
  color: var(--wp--preset--color--negro);
  font-weight: 400;
  font-size: 20px;
} 

/** search */
.header-search__btn {
  border: none;
  background: no-repeat;
  cursor: pointer;
}

.header-search__form {
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  border-radius: 50px;
  padding: 11px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.header-search__input {
  border: none;
}


/** footer */

.instagram{
  margin-top: 100px;
}

.footer__content {
  display: flex;
  max-width: var(--max-with-80);
  margin: auto;
}

.footer__content > div {
  width: 25%;
  gap: 10px;
}

.footer__titles {
  margin: 0px;
  font-size: 24px;
  font-weight: 700;
}

.footer-about__text{
  color: #2D2D2D;
  font-size: 15px;
}

.footer-list {
  padding: 0;
  margin: 10px 20px 0px;  
  list-style: none;
}

.footer-list__item{
  margin: 10px 0px;
  position: relative;
}

.footer-list__item::before{
    content: '';
    position: absolute;
    bottom: 7px;
    left: -17px;
    width: 10px;
    height: 10px;
    background: #FE4A51;
    border-radius: 50px;
}


.footer-list__item a {
  text-decoration: none;
  color: #2D2D2D99;
  font-size: 15px;
}

.footer-newsletter__input{
    border: none;
    padding: 10px 5px;
    font-size: 12PX;
    color: #2D2D2D;
    background: #DEDADA;
    position: relative;
    right: -7px;
    z-index: -1;
}

.footer-newsletter__input {
  border: none;
  z-index: 1;
}

.footer-newsletter__btn {
  border: none;
  background: var(--wp--preset--color--primario);
  color: white;
  padding: 10px;
  cursor: pointer;
}

.footer-bottom {
  margin-top: 40px;
}

.footer-bottom__text {
  text-align: center;
  background: #2D2D2D;
  color: white;
  padding: 13px;
  font-size: 15px;
  margin: 0px;
}

@media( max-width: 780px){

  :root{
    --max-with-90: 95%;
    --max-with-80: 90%;
  }

  #menu-main-menu {
    display: none;
  }

  .header__nav {
    padding: 10px;
  }

  .grid-home {
    display: grid;
    grid-template-columns: 100%;
    gap: 19px;
    max-width: 90%;
  }

  .footer__content {
    flex-wrap: wrap;
  }
}