@import url('https://fonts.googleapis.com/css2?family=Bai+Jamjuree:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Bai Jamjuree", sans-serif;
}

img {
    max-width: 100%;
}
ul {
    list-style: none;
}

body {
    text-align: center;
}

h1,h2,h3 {
    color:hsl(210, 10%, 33%);
}
p{
    color: hsl(201, 11%, 66%);
    line-height:1.8;
    
}

.btn-green{
    background-color: hsl(171, 66%, 44%);
    padding: 0.8rem 2rem;
    color: white;
    border-radius: 30px;
    font-weight: bold;
    border: none;
    outline: none;
    box-shadow: 4px 4px 10px hsl(177, 66%, 44%, 0.2);
}
 
.btn-blue{
    background-color: hsl(233, 100%, 69%);
    padding: 0.8rem 2rem;
    color: white;
    border-radius: 30px;
    font-weight: bold;
    border: none;
    outline: none;
    box-shadow: 4px 4px 10px hsl(233, 100%, 69%, 0.2);
}
.picture {
    position:absolute;
    width: 100%;
}
    
.picture img {  
    width: 100%;
}
.showcase {
    text-align: center;
    padding: 8rem 1.5rem;
}
.showcase h1{
    font-size: 2rem;
    margin: 2rem 0; 
}
.showcase p{
    margin: 2rem; 
}
.showcase ul{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1.5rem; 
}

.section-two{
   padding: 0 1.5rem 8rem; 
}
.section-two article:first-child h2 {
    margin-bottom: 1rem;

}
.section-two article:first-child p {
    margin-bottom: 2.5rem;
}

.section-two .computer > article:first-child {
   margin-bottom: 3rem;
}
.section-two .computer article:last-child {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
}

.section-two .computer article:last-child h3 {
    margin-bottom: 0.5rem;
}

.section-three {
    padding: 0 1.5rem 8rem;
}
.section-three article h2{
    margin-bottom: 1rem;
}
.section-three article p{
    margin-bottom: 3rem;
}
.section-four {
    padding: 0 1.5rem 8rem;
}

.section-four > article:first-child h2 {
margin-bottom:1rem;
}
.section-four article p {
margin-bottom: 3rem;
}

.section-four .cards {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 3rem; 
}
.section-four .cards article img {
    margin-bottom: 2rem;
}
.section-four .cards article h3 {
    margin-bottom: 1rem;
}

/* section five */
.section-five {
    padding: 0 1.5rem 8rem;
}

.section-five ul {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2rem; 
}

.section-five ul li img {
    width: 8rem;
}

.section-six {
    padding: 0 1.5rem 8rem;
}
.section-six h2 {
    margin-bottom: 1rem;

}
.section-six p {
    margin-bottom: 3rem;
}
.section-six ul {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2rem;
}

.footer-container {
    background-color: hsl(201, 11%, 66%, 0.2);
    padding: 4rem 1.5rem;
    color: white;
}
footer article {
    margin-bottom: 3rem;
}
footer article img { 
    width: 4rem; 
}

footer ul li {
    margin-bottom: 1rem;
}

footer ul li button {
    background-color: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    color:hsl(201, 11%, 66%);
    font-size: 1.2rem;
}
footer ul.social-media {
    display: flex;
    margin-top: 3rem;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    cursor: pointer;
}

 .attribution {
     font-size: 14px; 
     text-align: center;
     padding: 2rem;
     }
    .attribution a {
     color: hsl(228, 45%, 44%);
     text-decoration: none;}

     @media (min-width: 768px) {
        footer{
            display: grid;
            grid-template-columns: repeat(2, 1fr);
        }
        .showcase ul {
            flex-direction: row;
            gap: 3rem;

     }
     .section-six ul {
            flex-direction: row;
            justify-content: center;
            gap: 3rem;
            margin-top: 2rem;
        }
        .section-five ul {
            flex-direction: row;
            justify-content: center;
            gap: 6rem;
            flex-wrap: wrap;
            margin-bottom: 2rem;

        }
    }
     @media (min-width: 1024px) {
        body {
            text-align: left;
        }
        .showcase h1 {
            font-size: 3rem;
            margin: 2rem 0; 
        }

        .showcase p {
            width:600px;
            margin: 0 auto 3rem
        }

        h2{
            font-size: 2rem;
            gap: 3rem;
        }

        .showcase ul {
            flex-direction: row;
            gap: 4rem;
        }
        .section-two {
            max-width: 1200px;
            margin: auto; 
            padding-bottom: 20rem;
        }
        .section-two article:first-child {
            text-align: center;

        }
        .section-two article:first-child p {
            max-width: 600px;
            margin: 0 auto 5rem;
            ;

        }

        .section-two .computer {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 3rem;
            align-items: center;
            position: relative;
        }

        .section-two .computer > article:first-child img{
            position:absolute;
            top: -20%;
            left:-12vw;
            width:45rem;
        }
        .section-three {
            max-width: 1200px;
            text-align: center;
            margin: auto;   
        }

        .section-three p{
            width: 500px;
            margin: 0 auto 3rem;
        }
        .section-four .cards {
            grid-template-columns: repeat(3, 1fr);
        }
        .section-four {
            max-width: 1200px;
            margin: auto;
            text-align: center;
        }

        .section-five {
            max-width: 1200px;
            margin: auto;
        }

        
        .section-six {
            max-width: 1200px;
            margin: 2rem auto;
            text-align: center;

        }
        .section-six p {
            max-width: 600px;
            margin: auto;
            margin-bottom: 0 auto 3rem;
        }
        

        .footer-container{
            max-width: 100%;
            margin: auto;
           background-color: hsl(201, 11%, 66%, 0.2);
        }
        footer{
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            margin: auto;
            max-width: 1200px;
            
           
           
        }
        footer article {
          margin-bottom: 0;  
        }
        footer ul li {
            margin-bottom: 0;
        }
        footer ul {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        footer ul.social-media {
            flex-direction: row;
            margin-top: 0;
        }
     }
        