@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Lexend+Deca:wght@100..900&family=Outfit:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Red+Hat+Display:ital,wght@0,300..900;1,300..900&display=swap');


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color: #f0f8ff;

}

.container{
    margin-bottom: 20px;
}

/* HEADER */

.header{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 70px;
    margin-left: 80px;
}

.one{
    font-size: 2.5rem;
    font-family: "Poppins", sans-serif;
    font-weight: 100;
}
.two{
    font-size: 2.4rem;
    font-family: "poppins",sans-serif;
    font-weight: 600;
}
.three{
    margin-top: 15px;
    font-family: "poppins", sans-serif;
    font-size: 1rem;
    width:540px;
}
.three-sub{
    font-family: "poppins", sans-serif;
    font-size: 1rem;
    width: 400px;
}

/* CARDS */

.cards{
    margin-top: 90px;
    display: grid;
    grid-template-columns: 250px 250px 250px 250px 250px 250px;
    grid-template-rows: 250px 250px 250px 250px 250px 250px;
    gap: 10px;
}

.card-one{
    display: flex;
    grid-column: 3/5;
    grid-row: 1/2;
    flex-direction: column;
    padding: 40px;
    background-color:  hsl(0, 0%, 100%);
    font-family: "poppins",sans-serif;
    border-radius: 5px;
    box-shadow: 0 2px 4px hsl(212, 6%, 44%);
    border-top: 5px solid hsl(0, 78%, 62%);
    height: 300px;
    width: 470px;
}

.card-one-sub{
    margin-top: 15px;
    width: 300px;
    line-height: 1.5;
    font-size: 1rem;
    color: hsl(212, 6%, 44%);
}

.card-one img{
    align-self: flex-end;
    margin-top: auto;
    width: 80px;
}


.card-two{
    display: flex;
    flex-direction: column;
    grid-column: 1/3;
    grid-row: 2/3;
    padding: 40px;
    background-color:  hsl(0, 0%, 100%);
    font-family: "poppins",sans-serif;
    border-radius: 5px;
    box-shadow: 0 2px 4px hsl(212, 6%, 44%);
    border-top: 5px solid hsl(180, 62%, 55%);
    height: 300px;
    width: 470px;
    margin-left: 30px;
    margin-top: -80px;
}

.card-two-sub{
    margin-top: 15px;
    width: 300px;
    line-height: 1.5;
    font-size: 1rem;
    color: hsl(212, 6%, 44%);
}

.card-two img{
    align-self: flex-end;
    margin-top: auto;
    width: 80px;
}

.card-three{
    grid-row: 2/3;
    grid-column: 3/4;
    display: flex;
    flex-direction: column;
    padding: 40px;
    background-color:  hsl(0, 0%, 100%);
    font-family: "poppins",sans-serif;
    border-radius: 5px;
    box-shadow: 0 2px 4px hsl(212, 6%, 44%);
    border-top: 5px solid hsl(34, 97%, 64%);
    height: 300px;
    width: 470px;
    margin-top: 70px;
}

.card-three-sub{
    margin-top: 15px;
    width: 300px;
    line-height: 1.5;
    font-size: 1rem;
    color: hsl(212, 6%, 44%);
}

.card-three img{
    align-self: flex-end;
    margin-top: auto;
    width: 80px;
}

.card-four{
    display: flex;
    flex-direction: column;
    grid-column: 5/5;
    grid-row: 2/3;
    padding: 40px;
    background-color:  hsl(0, 0%, 100%);
    font-family: "poppins",sans-serif;
    border-radius: 5px;
    box-shadow: 0 2px 4px hsl(212, 6%, 44%);
    border-top: 5px solid hsl(212, 86%, 64%);
    height: 300px;
    width: 400px;
    margin-left: -30px;
    margin-top: -80px;
}

.card-four-sub{
    margin-top: 15px;
    width: 300px;
    line-height: 1.5;
    font-size: 1rem;
    color: hsl(212, 6%, 44%);
}

.card-four img{
    align-self: flex-end;
    margin-top: auto;
    width: 80px;
}


.credit{
    display: none;
}

@media only screen and (max-width:600px){
    .cards{
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin: 0 auto;
        margin-top: 40%;
        width: 90%;
    }
    
    /* HEADER */

    .container{
        overflow-x: hidden;
    }

    
    .header{
        width: 85%;
        display: flex;
        justify-content: center;
        text-align: center;
        margin-top: 10%;
        margin-left: 4.2%;
        
    }
    
    .one{
        font-size: 140%;
        font-family: "Poppins", sans-serif;
        font-weight: 100;
        width: 100%;
        text-align: center;
    }
    .two{
        font-size: 140%;
        font-family: "poppins",sans-serif;
        font-weight: 600;
        width: 100%;
        text-align: center;
    }
    .three{
        margin-top: 15px;
        font-family: "poppins", sans-serif;
        font-size: 110%;
        width: 85%;
    }
    .three-sub{
        font-family: "poppins", sans-serif;
        font-size: 110%;
        width: 85%;
    }

    .card-one{
        order: 2;
    }

    .card-two{
        order: 1;
    }

    .card-three{
        order: 3;
    }

    .card-four{
        order: 4;
    }

    

    
.card-one{
    background-color:  hsl(0, 0%, 100%);
    font-family: "poppins",sans-serif;
    border-radius: 5px;
    box-shadow: 0 2px 4px hsl(212, 6%, 44%);
    border-top: 5px solid hsl(0, 78%, 62%);
    width: 100%;
    margin-left: 0.5%;
    margin-top: 10%;
    padding: 5%;
   
}

.card-one-sub{
    margin-top: 15px;
    width: 85%;
    line-height: 1.5;
    font-size: 1rem;
    color: hsl(212, 6%, 44%);
}

.card-one img{
    align-self: flex-end;
    margin-top: auto;
    width: 80px;
}


.card-two{
    padding: 40px;
    background-color:  hsl(0, 0%, 100%);
    font-family: "poppins",sans-serif;
    border-radius: 5px;
    box-shadow: 0 2px 4px hsl(212, 6%, 44%);
    border-top: 5px solid hsl(180, 62%, 55%);
    width: 100%;
    margin-left: 0.5%;
    padding: 5%;
}

.card-two-sub{
    margin-top: 15px;
    width: 90%;
    line-height: 1.5;
    font-size: 1rem;
    color: hsl(212, 6%, 44%);
}

.card-two img{
    align-self: flex-end;
    margin-top: auto;
    width: 80px;
}

.card-three{
    padding: 40px;
    background-color:  hsl(0, 0%, 100%);
    font-family: "poppins",sans-serif;
    border-radius: 5px;
    box-shadow: 0 2px 4px hsl(212, 6%, 44%);
    border-top: 5px solid hsl(34, 97%, 64%);
    width: 100%;
    margin-left: 0.5%;
    padding: 5%;
    margin-top: 10%;
}

.card-three-sub{
    margin-top: 15px;
    width: 90%;
    line-height: 1.5;
    font-size: 1rem;
    color: hsl(212, 6%, 44%);
}

.card-three img{
    align-self: flex-end;
    margin-top: auto;
    width: 80px;
}

.card-four{
    padding: 40px;
    background-color:  hsl(0, 0%, 100%);
    font-family: "poppins",sans-serif;
    border-radius: 5px;
    box-shadow: 0 2px 4px hsl(212, 6%, 44%);
    border-top: 5px solid hsl(212, 86%, 64%);
    height: 300px;
    width: 100%;
    margin-left: 0.5%;
    padding: 8%;
    margin-top: 10%;
}

.card-four-sub{
    margin-top: 15px;
    width: 90%;
    line-height: 1.5;
    font-size: 1rem;
    color: hsl(212, 6%, 44%);
}

.card-four img{
    align-self: flex-end;
    margin-top: auto;
    width: 80px;
}

.credit{
    margin-top: 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: "inter",sans-serif;
    font-size: 120%;
    color: black;
}

.app,.dev{
    color: blue;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    padding: 2px;
}

.app:hover{
    color: white;
}
.dev:hover{
    color: white;
}

.app:visited{
    color: purple;
}
.dev:visited{
    color: purple;
}

.app:active{
    transform: scale(0.98);
}
.dev:active{
    transform: scale(0.98);
}
}