:root {
    --fuenteTexto: 'Poppins', sans-serif;

    --red: hsl(0, 78%, 62%);
    --cyan: hsl(180, 62%, 55%);
    --orange: hsl(34, 97%, 64%);
    --blue: hsl(212, 86%, 64%);

    --grey-500: hsl(234, 12%, 34%);
    --grey-400: hsl(212, 6%, 44%);
    --white: hsl(0, 0%, 100%);
}

* {
	margin: 0;
	padding: 0;
	list-style: none;
	text-decoration: none;
	border: none;
	outline: none;
    box-sizing: border-box;
}

body {
    font-family: var(--fuenteTexto);
    color: var(--grey-400);
    font-size: 15px;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.content {
    /* border: thin solid red; */
    text-align: center;
    font-weight: 400;
    padding: 25px;
}

h1 {
    font-size: 25px;
}

h2 {
    font-size: 20px;
}

.light {
    font-weight: 200;
}

.bold {
    font-weight: 600;
    color: var(--grey-500);
}

.descrip {
    padding: 20px 0;
    width: 100%;
}

.cards {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
    gap: 30px;
}

.sec-2 {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.card {
    background-color: var(--white);
    width: 100%;
    max-width: 315px;
    height: auto;
    border-radius: 10px;
    padding: 25px;
    justify-items: end;
    box-shadow: 5px 5px 15px var(--grey-400);
}

.text {
    text-align: start;
}

.text h2 {
    color: var(--grey-500);
    font-weight: 600;
}

.icon img {
    width: 100%;
    max-width: 64px;
    height: auto;
    padding: 30px 0;
}

.blue {
    border-top: 4px solid var(--cyan);
}

.red {
    border-top: 4px solid var(--red);
}

.orange {
    border-top: 4px solid var(--orange);
}

.d-blue {
    border-top: 4px solid var(--blue);
}

/*Desktop*/
@media (min-width: 40em) {
    .container {
        height: 100%;
    }

    .p-text {
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
    }
    .cards {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
}

/*FOOTER*/
.attribution { 
    font-size: 11px; 
    text-align: center; 
}

.attribution a {
    color: hsl(228, 45%, 44%); 
}
