@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&family=Montserrat:ital,wght@0,100..900;1,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&display=swap');
body {
    font-family: "Poppins", sans-serif;
}
header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}
header .titre1 {
    color: hsl(234, 12%, 34%);
    font-weight: 200;
    margin-bottom: 0px;
    font-size: 40px;
    letter-spacing: 0.2;
}
header .titre2 {
    color: hsl(234, 12%, 34%);
    font-weight: 600;
    margin-top: 0px;
    font-size: 40px;
    margin-bottom: 5px;
    letter-spacing: 0.2;
}
header p {
    color: hsl(234, 12%, 34%);
    font-size: 15px;
    text-align: center;
    margin-top: 0;
    letter-spacing: 0.2;
}
main {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 600px;
    margin-top: 40px;
}
.container {
    margin-top: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr ; 
    gap: 35px;
    width: 1200px;
    height: 580px;
    
}
.container h3 {
    color: hsl(234, 12%, 34%);
    font-weight: 600;
    font-size: 25px;
    letter-spacing: 0.5px;
    margin-top: 0px;
    margin-bottom: 5px;
}
.container p {
    color: hsl(212, 6%, 44%);
    font-size: 15px;
    margin-top: 0px;
    letter-spacing: 0.2px;
}

.supervisor {
    border-top: solid 5px hsl(180, 62%, 55%);
    box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    grid-row: 2/ span 2;
    grid-column: 1/ span 2;
    padding: 30px;
}
.supervisor .image {
    height: 35%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
}
.calculator {
    border-top: solid 5px hsl(212, 86%, 64%);
    box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    grid-column: 5/ span 2;
    grid-row: 2/ span 2;
    padding: 30px;
}
.calculator .image {
    height: 35%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
}
.builder {
    border-top: solid 5px hsl(0, 78%, 62%);
    box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 30px;
    grid-column: 3 / span 2;
    grid-row: 1/ span 2;
}
.image img {
    width: 75px;
}
.builder .image {
    height: 35%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
}
.karma {
    border-top: solid 5px hsl(34, 97%, 64%);
    box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    grid-row: 3/ span 2;
    grid-column: 3/ span 2;
    padding: 30px;
}
.karma .image {
    height: 35%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
}
.attribution { 
    font-size: 11px; text-align: center; 
    margin-top: 30px;
}
.attribution a { 
    color: hsl(228, 45%, 44%); 
}
@media (max-width: 600px) {
    body {
        width: 375px;
        max-width: 100%;
        overflow-x: hidden;
    }
    .entier {
        max-width: 100%;
        width: 350px;
        overflow-x: hidden;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        flex-wrap: wrap;
    }
    br {
        display: none;
    }
    header {
        margin-top: 40px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }
    header .titre1 {
        font-size: 20px;
        margin-top: 0px;
    }
    header .titre2 {
        font-size: 20px;
    }
    header p {
        font-size: 9px;
        margin: 15px;
    }
    .attribution {
        font-size: 10px;
        margin-top: 40px;
        text-align: center;
    }   
   
}
@media screen and (max-width: 600px) {
    
    .container {
        display: grid;
        grid-template-columns: 0.5fr;
        grid-template-rows: 1fr 1fr 1fr 1fr;
        gap: 20px;
        max-width: 100%;
        height: auto;
        margin-left: 15px;
    }
    .container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    main {
        margin: 0px;
        max-width: 100%;
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .container h3 {
        font-size: 20px;
    }
    .container p {
        font-size: 12px;
    }
    .supervisor {
        width: 220px;
        grid-row: 1;
        grid-column: 1;
    }
    .supervisor .image {
        height: 40%;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-end;
    }
    .builder {
        width: 220px;
        grid-row: 2;
        grid-column: 1;
    }
    .karma {
        width: 220px;
        grid-row: 3;
        grid-column: 1;
    }
    .calculator {
        width: 220px;
        grid-row: 4;
        grid-column: 1;
    }
}