@import 'colors.css';

@media (min-width: 1080px) {

    .sect-servicios {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        justify-content: center;
        align-items: flex-start;

    }

    .sect-serv-container {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        flex-direction: column;
        margin: 15px;
    }

    .sect-serv-tit {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: row;
        padding: 10px;
    }

    .sect-serv-tit p {
        color: var(--azul1);
        padding: 5px;
        font-family: "MiFuente", sans-serif;
        font-weight: 700;
        font-style: italic;
    }

    #circle-serv {
        color: var(--azul2);
        font-size: 30px;
    }

    .sect-serv-p {
        padding: 10px;
        border: 2px solid var(--azul1);
        border-radius: 15px;
        text-align: left;
        max-width: 70%;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
    }

    .sect-serv-p p {
        color: var(--azul1);
        padding: 5px;
        font-family: "MiFuente", sans-serif;
        line-height: 1.5;
    }

    .sect-serv-container:hover {
    transform: scale(1.05);
    transition: all 400ms ease-in;
}
.sect-serv-container:before {
  transform: scale(1.05);
  transition: all 400ms ease-in;
}

.sect-serv-container:hover .sect-serv-p p {
  
  color: #fff;
  background: var(--azul1);
}

.sect-serv-container:hover .sect-serv-p {
  
  color: #fff;
  background: var(--azul1);
}
}

@media (min-width: 600px) and (max-width:1079px) {
    .sect-servicios {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        margin:0 auto;

    }

    .sect-serv-container {
        margin: 20px auto;
        width: 80%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
        padding: 20px;
        border-radius: 40px;
    }

    .sect-serv-tit {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: row;
    }

    .sect-serv-tit p {
        color: var(--azul1);
        padding: 5px;
        font-family: "MiFuente", sans-serif;
        font-size: 26px;
        font-weight: 800;
    }

    #circle-serv {
        color: var(--azul2);
        font-size: 28px;
    }

    .sect-serv-p {
        padding: 5px;
        text-align: left;
        width: 100%;
        margin: 15px;
    }

    .sect-serv-p p {
        color: var(--azul1);
        font-family: "MiFuente", sans-serif;        
        font-size: 26px;
        text-align: left;
        width: 100%;
        line-height: 1.6;
    }

}

@media (max-width: 599px) {
    .sect-servicios {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        margin:0 auto;

    }

    .sect-serv-container {
        margin: 20px auto;
        width: 80%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
        padding: 20px;
        border-radius: 40px;
    }

    .sect-serv-tit {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: row;
    }

    .sect-serv-tit p {
        color: var(--azul1);
        padding: 5px;
        font-family: "MiFuente", sans-serif;
        font-size: 26px;
        font-weight: 800;
    }

    #circle-serv {
        color: var(--azul2);
        font-size: 28px;
    }

    .sect-serv-p {
        padding: 5px;
        text-align: left;
        width: 100%;
        margin: 15px;
        line-height: 1.6;
    }

    .sect-serv-p p {
        color: var(--azul1);
        font-family: "MiFuente", sans-serif;        
        font-size: 26px;
        text-align: left;
        width: 100%;

    }

}

@media (min-width: 600px) and (max-width:1079px) and (orientation: landscape) {
    .sect-servicios {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        margin: 20px auto;

    }

    .sect-serv-container {
        margin: 20px auto;
        width: 80%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
        padding: 20px;
        border-radius: 40px;
    }

    .sect-serv-tit {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: row;
    }

    .sect-serv-tit p {
        color: var(--azul1);
        padding: 5px;
        font-family: "MiFuente", sans-serif;
        font-size: 20px;
        font-weight: 800;
    }

    #circle-serv {
        color: var(--azul2);
        font-size: 28px;
        text-align: center;
    }

    .sect-serv-p {
        line-height: 1.6;
        text-align: left;
        width: 100%;

    }

    .sect-serv-p p {
        color: var(--azul1);
        font-family: "MiFuente", sans-serif;
        padding: 10px;
        font-size: 20px;
        text-align: left;
        width: 100%;

    }
}