@charset "UTF-8";
/* Footer en pie página */

html {
    min-height: 100%;
    position: relative;
}

body {
    margin: 0;
    margin-bottom: 90px;
    background-color: #f5f5f5;
}

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 110px;
}

h2 {
    color: #135dcd;
    font-size: 2em;
}

a {
    text-decoration: none;
}

.s-box-container {
    display: grid;
    grid-template-columns: repeat(3, auto);
    grid-gap: 1rem;
}

.s-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    width: 300px;
    padding: 20px 25px;
    height: 300px;
    box-sizing: border-box;
    margin: 0px 30px;
    position: relative;
}

.s-box img {
    height: 75px;
}

.s-box h1 {
    color: #777777;
    letter-spacing: 1px;
    font-size: 1.5em;
    margin: 8px 0;
}

.s-box p {
    color: #777777;
    text-align: center;
}

.s-box a {
    text-align: center;
}

.s-btn {
    width: 140px;
    height: 40px;
    border-radius: 4px;
    border: 1px solid #2f7bee;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #2f7bee;
    margin-top: 10px;
}

.bar {
    width: 100px;
    height: 6px;
    position: absolute;
    left: 50%;
    top: 0%;
    transform: translateX(-50%);
    background-color: #135dcd;
    border-radius: 0px 0px 10px 10px;
    display: none;
    animation: bar 0.5s;
}

.s-box:hover {
    box-shadow: 2px 2px 30px rgba(0, 0, 0, 0.08);
    transition: all ease 0.3s;
}

.s-btn:hover {
    background-color: #135dcd;
    border: 1px solid #135dcd;
    color: #FFFFFF;
    transition: all ease 0.3s;
}

.s-box:hover .bar {
    display: block;
}

@keyframes bar {
    0% {
        width: 0px;
    }
    100% {
        width: 100px;
    }
}

@media (max-width: 1500px) {
    .s-box-container {
        grid-template-columns: repeat(2, auto);
    }
}

@media (max-width: 760px) {
    .s-box-container {
        grid-template-columns: repeat(1, auto);
    }
}

