html,body{
    overflow-x: hidden;
}

body {
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
    -moz-osx-font-smoothing: antialiased;
    color: black;
    font-size: 20px;
    text-align: center;
}

#background {
    background-image: url("../image/frente_coop_1.jpg");
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    -webkit-filter: blur(2px);
    -moz-filter: blur(2px);
    -o-filter: blur(2px);
    -ms-filter: blur(2px);
    filter: blur(2px);
    display: block;
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    right: 0;
    opacity: 0.3;
    z-index: 1;
}

#content {
    position: relative;
    left: 0;
    right: 0;
    z-index: 2;
    margin-left: auto;
    margin-right: auto;
    width: 70%;
    padding-top:8px;
}

#header {
    position: relative;
    left: 0;
    right: 0;
    z-index: 2;
    width: 100%;
    border-top: 5px solid #4CAF50;
    background: rgba(255,255,255,1);
    background: -moz-linear-gradient(-45deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.85) 41%, rgba(76,175,80,0.64) 100%);
    background: -webkit-linear-gradient(-45deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.85) 41%, rgba(76,175,80,0.64) 100%);
    background: -o-linear-gradient(-45deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.85) 41%, rgba(76,175,80,0.64) 100%);
    background: -ms-linear-gradient(-45deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.85) 41%, rgba(76,175,80,0.64) 100%);
    background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.85) 41%, rgba(76,175,80,0.64) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#4caf50', GradientType=1 );
}

nav {
    position: relative;
    left: 0;
    right: 0;
    z-index: 2;
    border-top: 5px solid #4CAF50;
    border-bottom: 5px solid #4CAF50;
    background: rgba(255,255,255,1);
    background: -moz-linear-gradient(-45deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.85) 41%, rgba(76,175,80,0.64) 100%);
    background: -webkit-linear-gradient(-45deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.85) 41%, rgba(76,175,80,0.64) 100%);
    background: -o-linear-gradient(-45deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.85) 41%, rgba(76,175,80,0.64) 100%);
    background: -ms-linear-gradient(-45deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.85) 41%, rgba(76,175,80,0.64) 100%);
    background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.85) 41%, rgba(76,175,80,0.64) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#4caf50', GradientType=1 );
}

#navbarText {
    margin-left: 15%;
    margin-right: 15%;
}

#logo {  
    padding: 16px 15%;
    align-items: center;
    display: flex;
}

#logo .separador {
    width: 100%;
}

#logo iframe {
    align-self: flex-end;
}

#logo img {
    width: 100%;
    max-width: 300px;
}

.nav-item {
    padding-right: 24px;
}

#mision {
    font-weight: bold;
}

#servicios {
}

.service-section {
    display: flex;
    justify-content: center;
}

.service-card {
    border-radius: 16px; 
    border: 2px solid #4CAF50;
    max-width: 40%;
    padding: 16px;
    margin: 16px;
}

.autogestion-btn {
    background-color: #4CAF50;
    border: 1px solid rgba(255,255,255,1) !important;
    color: white;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    font-size: 20px;
    border-radius: 16px;
    transition: all 0.4s ease 0s;
}

.autogestion-btn:hover {
    text-shadow: 0px 0px 6px rgba(0,0,0,0.57);
    box-shadow: 0px 5px 40px -10px rgba(0,0,0,0.57);
    -webkit-box-shadow: 0px 5px 40px -10px rgba(0,0,0,0.57);
    -moz-box-shadow: 0px 5px 40px -10px rgba(0,0,0,0.57);
    transition: all 0.5s ease 0s;
}

.autogestion-btn a:visited {
    color: white;
}

.autogestion-btn a {
    color: white !important;
}

hr {
    width: 75%;
}

h2.section {
    color: white;
    background-color: #4CAF50;
    padding: 32px;
    margin: 0;
    margin-bottom: 32px;
    margin-top: 32px;
    border-radius: 16px;
}

.clearfix {
    clear: both;
    float: none;
}

.welcome-picture {
    max-width: 850px;
    height: 400px;
}

.picture {
    margin: 1rem;
    width: 90%;
    border-radius: 16px;
}

.logotipo {
    width: 70%; 
    margin: 32px 0px;
}

@media (max-width: 1200px) {
    #content {
        width: 75%;
    }
    #logo {
        padding: 8px 12.5%
    }
    #navbarText {
        margin-left: 12.5%;
        margin-right: 12.5%;
    }
}

@media (max-width: 991px) {
    .desktop {
        display: none;
    }
    .nav-item {
        padding: 16px 0px;
    }
    .service-section {
        display: grid;
    }
    .service-card {
        align-items: center;
        border-radius: 16px; 
        border: 2px solid #4CAF50;
        max-width: 90%;
        padding: 8px;
        margin: 8px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 800px) {
    body {
        font-size: 20px;
    }

    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 24px;
    }
    h2.section {
        padding: 32px;
        margin-bottom: 32px;
    }
    h3 {
        font-size: 22px;
    }
    .logotipo {
        width: 90%; 
    }
    .welcome-picture {
        height: auto;
    }
    
    #content {
        width: 90%;
    }
    #logo {
        padding: 8px 5%
    }
    #navbarText {
        margin-left: 5%;
        margin-right: 5%;
    }
}

@media (max-width: 500px) {
    #logo {
        display: block;
        justify-content: center;
        padding: 8px 10%
    }
    #logo .separador {
        height: 1px;
        background: #4CAF50;
        margin-top: 16px;
        margin-bottom: 16px;
    }
    #logo img {
        width: 75%;
    }
    #clima {
        font-size: 1px !important;
    }
    nav {
        border-top: 3px solid #4CAF50;
        border-bottom: 3px solid #4CAF50;
    }
    #header {
        border-top: 3px solid #4CAF50;
    }
    
}