:root {
    --white: #fff;
    --black: #282A29;
    --silver: #C0C0C0;
    --blue: #3E97B5;  
    --gold: #d4af37;
    --footer: #46A0BE;
    
}

/* Globales */
html {
    font-size: 62.5%;
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

body {
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
}

.shadow {
    -webkit-box-shadow: 0px 5px 15px 0px rgba(255, 255, 255, 0.48);
    -moz-box-shadow: 0px 5px 15px 0px rgba(255, 255, 255, 0.48);
    box-shadow: 0px 5px 15px 0px rgba(255, 255, 255, 0.48);
    background-color: var(--blanco);
    padding: 2rem;
    
}

img {
    pointer-events: none;
    max-width: 100%;
    border-radius: 3rem;
}

.container {
    max-width: 98%;
    margin: 0 auto; 
    background-color: var(--black);
    color: var(--white);
}

.button {
    background-color: var(--blue);
    color: var(--blanco);
    padding: 1rem 3rem;
    margin-top: 3rem;
    font-size: 2rem;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: .5rem;
    width: 90%;
    text-align: center;
    border: none;
}

.button:hover {
    cursor: pointer;
    background-color: var(--gold);
    color: var(--silver);
}

@media (min-width: 769px){
    .button{
        width: auto;
    }
}

.flex-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;    
}

.flex-column-row,
.flex-row-reverse {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
}

.flex-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 768px) {

    .flex-column-row {
        flex-direction: row;
    }

    .flex-row-reverse {
        display: flex;
        flex-direction: row-reverse;
    }

    .flex-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 5rem;
    }

    .grid-3 {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        column-gap: 2rem;
    }
}

/* Tipografia */
h1 {
    font-size: 5.8rem;  
}

h2 {
    font-size: 4rem; 
    color: var(--blue);
    margin: 0;
    padding: 0 0 5rem 0;
}

h3 {
    color: var(--gold);
    padding: 2rem 0;
    font-size: 2.7rem;
}

h4 {
    font-size: 3.8rem;
    margin: 0 0 5rem 0;
    padding-bottom: 12rem;
    color: var(--blue);
}

h5 {
    font-size: 4rem; 
    color: var(--silver);
    margin: 0 0 5rem 0;
}

p {
    font-size: 1.8rem;
    line-height: 2.2rem;
    padding: 0 2rem;
}

h1,h2,h3,h4,h5 {
    text-align: center;
}

/*Header*/
#bg {
    background-image: url("../img/pillsbackground.png"),url("../img/bgimage.jpeg");
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-repeat: repeat-x;
    height: 90vh;
    width: 100%;
}

/*NAV*/

.logo {
    margin: 1rem;
}

.navegation {
    display: flex;
    flex-direction: column;
    align-items:center;
    background-color: rgba(40, 42, 41, .6);
   

}
.nav {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-bottom: 4rem;
    align-items: center;
}

.nav a {
    text-decoration: none;
    font-size: 2.2rem;
    font-weight: 700;  
    color: var(--blue);
}

.nav a:hover { 
    color: var(--silver);
}

@media (min-width: 769px) {
    .navegation {
        display: grid;
        grid-template-columns: 20% 80%;    
    }

    .nav {
        flex-direction: row;
        justify-content: space-evenly; 
        padding: 6.5rem 0 0 0;
    }
}

/*tittle*/

.tittle {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--white); 
    padding: 0 3rem; 
  }

  .tittle h1 {
    border-top: 1.5rem solid var(--blue);
    border-top-left-radius: 100rem;
    border-top-right-radius: 100rem;
    margin: 6rem 0 0 0;
    padding-top: 5rem;
}

.maintittle {
    display: block;
}

.tittle h2 {
    margin-bottom: 6rem;
    padding: 0;
}

@media (min-width: 480px) {
    span {
        display:block;
    }
    
    .tittle h1 {
        border-top: 2.5rem solid var(--blue);
        margin: 16rem 0 0 0;
        padding: 25rem 10rem 0 10rem;
    }
    
    .maintittle {
        display: inline;
    }

    .tittle h2 {
        margin-bottom: 16rem;
        padding: 0;
    }
}

/*sections*/
.section {
    padding-bottom: 7rem;
    border-radius: 1.5rem;
}

.section h2 {
    padding: 5rem 0;
    margin-bottom: 0;
}

/* spacers */
.spacer__logo {
    display: flex;
    flex-direction: column;
    margin: 8rem 0;   
}

.spacer {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url(../img/arc.png), url(../img/bluepills.png);
    width: 100%;
    height: 90vh;
    padding: 30rem 0 0 0;
}

.spacer__headline {
    color: var(--white);
    font-size: 2.2rem;
}

@media (min-width: 480px) {
    .spacer {
        padding: 35rem 0 0 0;
    }

    .spacer__headline {
        font-size: 2.5rem;
    }
    
}

@media (min-width: 769px) {
    .spacer {
        padding: 25rem 0 0 0;
        height: 95vh;
    }

    .spacer__headline {
        font-size: 4rem;
    }
}

/* Services | Typical Problems */

.problem {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: fit-content;
    width: min(60rem, 100%);
    background-color: rgba(192, 192, 192, .1);
    margin: 1rem 0;
}

.problem__image {
    height: 30rem;
    width: 30rem;
    border-radius: 50%;
    object-fit: cover;
}

.problem__description {
    margin:0;
    
}

.problem__description ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);  
    text-wrap: wrap;
    gap: 1.5rem; 
   
}

@media (min-width: 769px) {
    .problem {
        justify-self: center;
        margin: 2.5rem 0;
    }

    
}

/*Contact*/

.contact {
    text-align: center;
}

.contactinfo__tittle {
    color: var(--blue);
}

.contactinfo__tittle h1 {
    margin: 2rem 0 0 0;
}

.contactinfo__tittle h4 {
    margin: 0;
    padding-bottom: 5rem;
}

.contactinfo__contact {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.contactinfo__contact--email {
    margin: 0;
}

/* ******SERVICES PAGE****** */
.benefit {
    padding-bottom: 3rem;
    margin: 0 auto;
}

.line {
    width: 20rem;
    height: .5rem;
    background-color: var(--blue);
    margin: 10rem auto;
    justify-content: center;
}

.benefits__image {
    border-radius: 50%;
    width: 30rem;
    height: 30rem;
    object-fit: cover;
    margin: 0 auto;
}

.benefits__info {
    text-align: center;
}

@media (min-width: 769px) {

    .benefit {
        width: 37rem;
        height: fit-content;
        align-items: flex-start;
    }

    .line {
        width: 20rem;
    }

}

/* ***Contact Us Page*** */
.svgs {
    display: flex;
    justify-content: center;
    margin-top: 5rem;
    padding:2rem;
}

.svg {
    margin: 0 .5rem;
    border: .1rem solid var(--blue);
    padding: .2rem;
}

#contactus-tittle {
    padding-top: .2;
}

.baseline {
    align-items: baseline;
}

.padding-top {
    padding-top: 10rem;
}

.white {
    color: var(--white);
}

/* ******ABOUT US PAGE****** */
.grid-2x4-4x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 1fr);
    justify-content: center;
    align-items: center;
    column-gap: 1rem;
    background-color: var(--white);
    padding: 0 2rem;
}

.client-container {
    max-width: 98%;
    background-color: var(--black);
    color: var(--white);
    padding: 0;
}

@media (min-width: 769px) {
    .grid-2x4-4x2 {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 1fr);
    }

    .clients {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        column-gap: 5rem;
        
    }
}

/* footer */
.footer {
    background-color: var(--footer);
    color: var(--black);
    text-align: center;
    font-weight: 800;
    padding: 1rem;
}





