/* -------------------- */
/* 1. Orgánica es Vida */
/* -------------------- */
/* --Mobile first-- */


/* 1. Reset */
html {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    line-height: 1.5;
}
body {
    margin: 0;
    font-family: inherit;
    font-size: 1em;
    line-height: inherit;
}
img {
    border: none;
}
blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}
button,
input,
optgroup,
select,
textarea {
  background-color: transparent;
  background-image: none;
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
  text-transform: none;
  -webkit-appearance: button;
}




/* 2. Fonts */
@font-face {
    font-family: 'Manrope-Medium';
    src: url('../fonts/Manrope-Medium.woff2') format('woff2'),
         url('../fonts/Manrope-Medium.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'Manrope-ExtraBold';
    src: url('../fonts/Manrope-ExtraBold.woff2') format('woff2'),
         url('../fonts/Manrope-ExtraBold.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}




/* 3. Variables */
:root{
    --color-bg: #add292; 
    --color-font: #000000;
    --color-btn: #b8d185;
    --color-btn-hover: #a9bf75;
    --color-btn-active: #000000;
    --font-family-title: "Manrope-ExtraBold", Segoe UI, sans serif;
    --font-family-btn: "Manrope-Medium", Segoe UI, sans serif;
}


/* 4. Styles */
html{
    overflow-x: hidden;
}

body{
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr 80px;

    min-height: 100vh;
    overflow-x: hidden;

    background-color: var(--color-bg);
}





.esf-header{ 
    padding: 2em;
}
.esf-header h1{
    font-family: var(--font-family-title);
    font-size: 1.4em;
    margin-bottom: 0.6em;
}
.esf-header .esf-container{
    text-align: center;
}
.esf-header a{
    display: inline-block;

    margin: 0.3em;

    font-family: var(--font-family-btn);
    font-size: 1.1em;
    padding: 0.5em 1.2em;
    background-color: var(--color-btn);
    color: var(--color-font);
    border: 2px solid var(--color-font); 

    text-decoration: none;
    border-radius: 1.2em;
}
.esf-header a:hover,
.esf-header a:focus{
    background-color: var(--color-btn-hover);
}
.esf-header a:active{
    background-color: var(--color-btn-active);
    color: #ffffff;
}
.esf-header br{
    display: none; 
}




.esf-body{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2em;
}


.esf-body img{
    width: 100%;
    max-width: 800px;
    height: auto;
}







.esf-footer{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2em;
}
.esf-footer img{
    height: 40%;
    width: auto;
}
.esf-footer .esf-img-float{
    position: absolute;
    bottom: 1.5em;
    right: 1.5em; 

    width: 100%;
    max-width: 240px;
    height: auto;

    display: none;
}



/* 5. Media Queries */
@media (min-width: 1000px) {
    html{
        overflow: auto;
    }
    .esf-header{
        padding-left: 3em;
    }
    .esf-header h1{
        font-size: 2em;
    }
    .esf-header .esf-container{
        text-align: left;
    }
    .esf-header br{
        display: block;
    }
    .esf-header a{
        font-size: 1.4em;    
    }

    .esf-body img{
        margin-top: 5%;
    }
    

    .esf-footer img{
        height: 50%;
    }
    .esf-footer .esf-img-float{
        display: block;
    }

}