@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');

/*DEFAULT CONFIGS*/
* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
}

html,
button {
    font-family: "Bai Jamjuree", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: hsl(201, 11%, 66%);
}

figure img {
    max-width: 100%;
    margin: 50px 0;
}

.container {
    padding: 50px;
    text-align: center;
}

/*TIPOGRAFY*/
h1,
h2 {
    color: hsl(210, 10%, 33%);

}

h1 {
    font-family: "Bai Jamjuree", sans-serif;
    font-weight: 600;
    font-style: normal;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

p {
    font-size: 1rem;
}

/*BUTTONS*/

.container-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 50px;
}

.container-buttons button {
    padding: 20px;
    border-radius: 50px;
    border: none;
    color: #fff;
    font-weight: 600;
    border-bottom: 3px solid rgba(3, 3, 3, 0.158);
}

.container-buttons button:active {
    cursor: pointer;
}

.container-buttons button:hover {
    box-shadow: 0px 10px 10px rgba(3, 3, 3, 0.158);
}

.btn-blue {
    background: hsl(233, 100%, 69%);
}

.btn-green {
    background: hsl(171, 66%, 44%);
}


/*HEADER*/
header {
    background-image: url(../images/bg-header-desktop.png);
    background-repeat: repeat-x;
}

/*FOOTER*/
footer {
    background-color: #F4F6F8;
    width: 100%;
}

.footer-container {
    margin-top: 100px;
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

footer a {
    color: hsl(210, 10%, 33%);
    display: inline-block;
    margin-bottom: 35px;
}

footer ul li a:hover {
    border-bottom: 1px solid hsla(171, 66%, 44%, 0.644);
}

.footer-icons {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.attribution {
    font-size: 0.8rem;
}

.attribution a {
    display: inline;
}

/*SUBINFOS*/
.subinfos-section {
    margin-bottom: 50px;
}

.subinfos-section p {
    margin-top: 20px;
}

.section02,
.section03,
.section04 {
    display: flex;
    flex-direction: column;
    padding: 50px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

/*MEDIAQUERIES*/
@media (min-width: 767.98px) {
    .container {
        max-width: 50%;
        margin: 0 auto;
    }

    body {
        flex-direction: row;
        flex-wrap: wrap;
    }

    h1 {
        font-size: 2.2rem;
    }

    header {
        width: 100%;
    }

    .section02 {
        flex-direction: row;
        padding: 0;
        gap: 50px;
        text-align: left;
    }

    .section03,
    .section04 {
        flex-direction: row;
    }

    .section04 {
        justify-content: center;
        gap: 30px;
    }

    .subinfos-group {
        align-self: center;
        padding: 50px;
    }

    .footer-container {
        flex-direction: row;
        align-items: normal;
        text-align: normal;
        justify-content: space-between;
        flex-wrap: wrap;
        padding: 30px 50px;


    }

    footer ul {
        display: flex;
        width: 450px;
        align-self: center;
        height: 100px;
        flex-wrap: wrap;

    }

    footer ul li {
        height: 20px;
        padding-left: 20px;
    }

    .footer-icons {
        display: flex;
        align-items: center;

    }

    footer figure {
        display: flex;
        width: 50px;
    }

    .attribution {
        width: 100%;
    }

    .container-buttons {
        flex-direction: row;
        justify-content: center;
    }


}


@media (min-width: 991.98px) {
    .section04 {
        gap: 100px;
    }
}