@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

body {
    font-family: 'Roboto', 'sans-serif';
    padding: 0;
    margin: 0;
    font-size: 20;
}

.content{
    width: 100%;
    margin: auto;
    display: grid;
    text-align: center;
    grid-template-columns: repeat(12, 1fr);
}

/* Header */

.header {
    grid-column: 1/13;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 50px;
}
.top-header{
    /* background-color:#a5d3e6 old*/
    background-color: #328CB4;
    color:#fff;
    font-size: 10pt;
    grid-column: 1/ span 12;
    grid-row: 1/1;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
}
.top-header-intro-text {
    font-weight:lighter;
    padding: 4px;
    grid-column: 1 / 4;
    height: 100%;
}
.top-header-social-media-desktop{
    text-align:end;
    align-content: start;
    padding: 4px;
    margin-right: 10px;
    grid-column: 4 / span 9;
}
.top-header-social-media-desktop a {
    color: #fff;
}

.top-header-social-media-mobile{
    display: none;
}

/* Bottom Header */
.bottom-header{
    grid-column:1/12;
    grid-row: 2/4;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(12,1fr);
}
.bottom-header-logo {
    grid-column: 1 / 4;
    height: 100%;
}
.bottom-header-logo div {
    margin:auto;
    width: 100%;
    height: 100%;
}
.bottom-header-nav-menu {
    grid-column: 4 / span 7;
    height: 100%;
}
.bottom-header-nav-menu div {
    padding: 2%;
    width: 45%;
    margin: auto;
}
.main-menu {
    display: grid;
    grid-auto-flow: column;
    list-style: none;
    padding: 0;
}
.main-menu li {
    margin-right: 2px;
}
.main-menu li:last-child {
    margin-right: 0;
}
.main-menu li:first-child {
    font-weight: 900;
}
.main-menu a {
    color: #333;
    text-decoration: none;
}
.main-menu a:hover {
    color: #94bdcf;
    text-decoration: none;
}
/* End Header */


/*Slider*/
.slider-body {
    grid-column: 1/13;
    padding: 0;
    justify-content: center;

}


.slider-body input {
    display: none;
}

.slider {
    width: 100%;
    height: 600px;
    overflow: hidden;
    color:#fff
}

.slider a {
    color: #fff;
}

.slides {
    width: 100%;
    height: 600px;
}
.slide {
    transition: 1s;
    width: 100%;
    height: 600px;
    display: grid;
    grid-template-columns: repeat(12,1fr);
    grid-template-rows: repeat(12,1fr);
}
.slide-content{
    backdrop-filter: blur(1px);
    border-radius: 10px;
    margin-top: 20px;
    padding: 20px;
    text-align: justify;
    grid-column: 4 / 9;
    grid-row : 5 / span 1;
}

.conoce-btn {
    font-weight:bold;
    text-align: center;
    padding: 15px;
    width: 130px;
    height: 20px;
    border: 2px #fff solid;
    border-radius: 5px;
}

.conoce-btn:hover{
    color: #42545c;
    background-color: #fff;
    transition: 0.5s;
    cursor: pointer;
    text-decoration: none;
    font-weight: bolder;
}

.navigation-manual {
    position:absolute;
    margin-top: -350px;
    margin-left: 98%;
    display: flex;
    flex-direction: column;
}

.manual-btn {
    border: 3px #FFF solid;
    padding: 5px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.2s;
}

.manual-btn:hover{
    background-color: #fff;
}
.manual-btn:not(:last-child){
    margin-bottom: 10px;
}

/* Automatic  Navigator */
.navigation-auto {
    position: absolute;
    margin-left: 98%;
    margin-top: -350px;
}

.navigation-auto div {
    border: 3px #fff solid;
    padding: 5px;
    border-radius: 10px;
    transition: 1s;

}
.navigation-auto div:not(:last-child) {
    margin-bottom: 10px;
}

/*-26.89% -53.7%*/

#radio1:checked ~ .slider .slides .first {
    margin-top: 0;
}

#radio2:checked ~ .slider .slides .first {
    margin-top: -600px;
}

#radio3:checked ~ .slider .slides .first {
    margin-top: -1200px;
}

#radio1:checked ~ .navigation-auto .auto-btn1 {
    background: #fff;
}

#radio2:checked ~ .navigation-auto .auto-btn2 {
    background: #fff;
}

#radio3:checked ~ .navigation-auto .auto-btn3 {
    background: #fff;
}

/* End Slider */



/* Who We Are Section */
.who-we-are{
    background-color: #328CB4;
    color:#fff;
    grid-column: 1/13;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(50px, auto);

}
.who-we-are-col {
    grid-column: 1/ 13;
    grid-row: 11 / span 1;
}
.who-we-are-img {
    background-image: url("assets/img/equipo-medico-exitoso.jpg");
    background-size:cover;
    background-position: center;
    grid-column: 4/ span 4;
    grid-row: 2 / 10;
    border-radius: 10px;
}
.who-we-are-content {
    margin-left: 20px;
    text-align: left;
    grid-column: 8/ span 3;
    grid-row: 2 / 10;
}

/* End Who We Are Section */

.services {
    color: #fff;
    grid-column: 1 / 13;
    display: grid;
    grid-auto-rows: minmax(50px, auto);
}

.services-title{
    color:#333;
    grid-row:1/3;
}

.services-title h1 {
    font-size: 20pt;
    color:#328CB4;
}

.services-title h3 {
    font-weight: 200; 
    font-size: 14pt; 
    color:#328CB4;
}

.services-content-wrapper{
    grid-row:3/16;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(50px, auto);
}

.serv-1 {
    grid-column: 4/10;
    grid-row: 2 / span 10;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 10px;
}

.services-article {
    color: #333;
    border: 1px lightgrey solid;
    border-radius: 20px;
    padding: 15px;
    display: grid;
    grid-auto-rows: minmax(50px,auto);
}

.services-article-photo {
    width: 100%;
    height: 220px;
    grid-row: 1/ span 5;
    margin:auto;
    border-radius: 5px;
}

.services-article-content {
    padding: 10px;
    grid-row: 6 /span 6;
    text-align: left;
    line-height: 1.5;
}

.services-article-content a {
    text-decoration: none; 
    color:#328CB4; 
    font-weight: bold; 
    font-size: 12pt;
    transition: 0.3s;
}

.services-article-content a:hover{
    color: #87c3be;
}

.services-article-content p {
    color:#328CB4;
    font-weight:500;
}

.service-article-more{
    color :#328CB4;
    width: 100%;
    margin:auto;
    text-align: center;
}

.service-article-more a {
    color:#328CB4;
    font-size: 10pt;
    text-decoration: none;
}

.service-article-more a:hover {
    color: #87c3be;
    transition: 0.3s;
    text-decoration:underline;
}






/* END SERVICES */


.contact {
    color: #fff;
    background-color: #328CB4;
    height: 825px;
    grid-column: 1 /13;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 3em;
    background-image: url(assets/img/contactbg.png);
    background-position: center;
}

.contact-title {
    color: #fff;
    background-color: #328CB4;
    padding: 10px;
    grid-column: 1/13;
    grid-row: 1 / span 3;
}

.contact-title h1 {
    font-size: 20pt;
}

.contact-title h3 {
    font-weight: 200; 
    font-size: 14pt;
}

.contact-form {
    border-radius: 15px;
    backdrop-filter: blur(5px);
    box-shadow: 1 lightgray;
    padding: 30px;
    color: #fff;
    grid-column: 4/10;
    grid-row: 4 / span 13;
}

.contact-form h3 {
    font-weight: 200; 
    font-size: 12pt;
}

.contact-form input, select {
    color:gray;
    border: none;
    border-radius: 5px;
    width: 350px;
    height: 40px;
}

.contact-form input[type="text"]{
    color: #fff;
    background: transparent;
    border: 1px #fff solid;
}

.contact-form input[type="email"]{
    color: #fff;
    background: transparent;
    border: 1px #fff solid;
}

.contact-form input[type="text"]::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #fff;
    opacity: 1; /* Firefox */
  }

  .contact-form input[type="email"]::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #fff;
    opacity: 1; /* Firefox */
  }

.contact-form input[type="tel"]{
    color: #fff;
    background: transparent;
    border: 1px #fff solid;
}

.contact-form input[type="tel"]::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #fff;
    opacity: 1; /* Firefox */
  }

.contact-form select {
    color: #fff;
    background: transparent;
    border:1px #fff solid;
}


.contact-form select option{
    color: #fff;
    background-color: #333;
}

.contact-form textarea {
    border: 1px #fff solid;
    background: transparent;
    border-radius: 5px;
    width: 350px;
    height: 100px;
}

.contact-form textarea::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #fff;
    opacity: 1; /* Firefox */
  }

#contact-submit {
    color: #fff;
    background: transparent;
    border: 1px #fff solid;
    width: 100px;
}



/* 550 px */
.footer {
    color: white;
    padding-top: 25px;
    grid-column: 1 /13;
    background-color: #328CB4;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 50px;
}

.footer-content {
    grid-column: 3/7;
    grid-row: 1 / span 9;
    text-align: left;
}

.footer-content  a{
    color: #fff;
    text-decoration: none;
}

.footer-content h3 {
    font-weight:400;

}

.footer-content input[type="email"] {
    border: none;
    width: 250px; 
    height: 40px; 
    border-radius: 8px;
}

.footer-map {
    grid-column: 7 / span 4;
    grid-row: 1 / span 9;
}

.footer-copyright-desktop {
    grid-column: 3 / 13;
    grid-row: 11/ span 1;
    margin: 0;
    text-align: left;
}

.footer-copyright-mobile {
    display: none;
}


@media only screen and (max-width:750px) {
    
    .content{
        width: 100%;
        display: grid;
        text-align: center;
        align-items: center ;
        grid-template-columns: repeat(12, 1fr);
    }

    .header {
    grid-column: 1/13;
    grid-auto-rows: 1fr 1fr 1fr 1fr;
    }

    .top-header{
    /* background-color:#a5d3e6 old*/
    font-size: 10pt;
    grid-column: 1/ 13;
    grid-row: 1/ span 1;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    }

    .top-header-intro-text {
        display: none;
    }


    .top-header-social-media-desktop{
        display: none;
    }

    .top-header-social-media-mobile {
        display: grid;
        grid-column: 1/13;
        grid-row: 1 / span 2;
        line-height: 1.5;
        color: #fff;
    }
    .top-header-social-media-mobile a {
        color:#fff; 
    }

    /* Bottom Header */
    .bottom-header{
        background-color: #fff;
        grid-column:1/13;
        grid-row: 2/4;
        display: grid;
        grid-template-columns: repeat(12,1fr);
    }

    .bottom-header-logo {
        grid-column: 1 / 13;
    }

    .bottom-header-nav-menu {
        grid-column: 1 / 13;
        grid-row: 2/ span 2;
    }

    .bottom-header-nav-menu div {
        width: 95%;
        text-align: center;
        padding: 0;
        margin: auto;
    }

    /* Slider Body*/

    .slider-body {
        overflow-x: hidden;
        overflow-y: hidden;
    }

    .slide-content {
        text-align: left;
        grid-column: 2 / 12;
    }

    .navigation-manual {
        margin-left: 95%;
    }

    .navigation-auto {
        margin-left: 95%;
    }


    
    /* Quienes Somos */
    .who-we-are-img {
        grid-column: 2/ 12;
        grid-row: 2 / 10;
        border-radius: 10px;
    }

    .who-we-are-content {
        text-align: left;
        grid-column: 2/ 12;
        grid-row: 11 / auto;
    }



    .serv-1 {
        grid-column: 2/12;
        grid-row: 2 / span 10;
        display: grid;
        grid-template-columns: 1fr;
        row-gap: 25px;
    }

    .services-title h1 {
        font-size: 16pt;
        color:#328CB4;
    }
    
    .services-title h3 {
        font-weight: 200; 
        font-size: 12pt; 
        color:#328CB4;
    }

    /* Contact Area */

    .contact{
        height: 860px;
    }

    .contact-title h1 {
        font-size: 16pt;
    }

    .contact-title h3 {
        font-size: 12pt;
        font-weight: 200;
    }

    .contact-form {
        grid-column: 2/12;
        grid-row: 4 / span 13;
    }


    .contact-form input, select {
        color:gray;
        border: none;
        border-radius: 5px;
        width: 250px;
    }

    .contact-form textarea {
        border: 1px #fff solid;
        border-radius: 5px;
        width: 250px;
        height: 100px;
    }

    .contact-form div {
        grid-column: 2/12;
    }

    /* Footer Area */
    .footer {
        color: white;
        padding-top: 25px;
        grid-column: 1 /13;
        background-color: #328CB4;;
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        grid-auto-rows: 3em;
    }

    .footer-content {
        grid-column: 2/12;
        grid-row: 1 / span 10;
        text-align: left;
    }

    .footer-content input[type="email"] {
        border: none;
        width: 250px; 
        height: 40px; 
        border-radius: 8px;
    }

    .footer-map {
        grid-column: 2/12;
        grid-row: 10 / span 10;

    }

    .footer-copyright-desktop {
        display: none;
    }
    
    .footer-copyright-mobile {
        display: grid;
        grid-column: 2 / 12;
        grid-row: 20/ span 2;
    }
    

}

