
/* Borrado valores predefinidos */

h1, h2, h3, h4, h5, h6, p, a, ul, ol, li, small {
    
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent; 
    font-family: 'Poppins', sans-serif;
}
html {
  height: 100%;
}
/* Body */

body {
    margin: 20px auto;
    display: grid;
    grid-template-rows: 90px auto 120px;
    max-width: 1100px;
    min-height: 100%;
    background: linear-gradient(rgba(6, 69, 88, 0.829), rgba(61, 2, 12, 0.185)), url("../img/color.png") no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    overflow: hidden;
}

/* Main */

main {
    margin: 0px auto;
    width: 95%;
    overflow-x: hidden;
    overflow-y: auto;
}

section {
    width: 90%;
    margin: 2% auto;
}

hr {
    border-color: white;
}
p {
    font-size: 1.2em;
}


/* Icons */

#icons {
    text-align: center;
    align-self: stretch;
}
#icons *:hover {
    animation: pulsate-bck 0.1s ease-out 0.5 both;
}
#icons i {
    padding: 4px;
    display: inline-flex;
    justify-content: space-evenly;
    margin: 10px 10px;
    color: white;
    font-size: 2em;
}

/* Scrollbar */

::-webkit-scrollbar {
    width: 20px;
  }
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey; 
    border-radius: 10px;
  }

::-webkit-scrollbar-thumb {
    background: rgb(189, 184, 184); 
    border-radius: 10px;
  }
::-webkit-scrollbar-thumb:hover {
    background: rgb(148, 179, 123); 
  }

/* Loader */

.loader-wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(rgba(6, 69, 88, 0.829), rgba(61, 2, 12, 0.185));
    display:flex;
    justify-content: center;
    align-items: center;
  }
  .loader {
    display: inline-block;
    width: 30px;
    height: 30px;
    position: relative;
    border: 4px solid #Fff;
    border-radius: 10px;
    animation: loader 2s infinite ease;
  }
  .loader-inner {
    border-radius: 10px;
    vertical-align: top;
    display: inline-block;
    width: 100%;
    background-color: #fff;
    animation: loader-inner 2s infinite ease-in;
  }
  @keyframes loader {
    0% { transform: rotate(0deg);}
    25% { transform: rotate(180deg);}
    50% { transform: rotate(180deg);}
    75% { transform: rotate(360deg);}
    100% { transform: rotate(360deg);}
  }
  @keyframes loader-inner {
    0% { height: 0%;}
    25% { height: 0%;}
    50% { height: 100%;}
    75% { height: 100%;}
    100% { height: 0%;}
  }

/* Media query */

@media screen and (max-width:65em) {
    header {
        font-size: 2em;
        height: 40px;
    }
    body {
        grid-template-rows: 110px auto 150px;
    }
    #li1 {
        display: none;
    }
    #li3 {
        display: inline;
        margin: 0px 10px;
    }
    #icons i {
        font-size: 3em;
    }
}