@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 19px;
    margin: 0;
    padding: 0;
    background-color: #9ca3af;
    height: 100vh;
    width: 100%;
}

a, a:hover, a:visited, a:active {
    text-decoration: none;
    color: #ffffff;
}

img {
    max-width: 20px;
    max-height: 20px;
}


h1 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 45px;
    font-weight: 700;
    color: #9ca3af;
    text-align: center;
    margin: 0;
}

h2 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 25px;
    font-weight: 700;
    color: #9ca3af;
    text-align: center;
    margin: 0;
}

container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr;
    grid-template-areas: "header"
                         "welcome"
                         "button"
                         "information"
                        "footer";
    max-width: 1000px;
    height: 100vh;
    margin: 0 auto;
    padding: 0;
    background-color: #f3f4f6;
}

header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 30px 20px;
    margin: 0;
    grid-area: header;
}

.welcome {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 0;
    grid-area: welcome;
}

.button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    grid-area: button;
}

button {
    font-family: 'Roboto Condensed', sans-serif;
    border-radius: 20px;
    border: 1px solid #bfdbfe;
    background-color: #bfdbfe;
    color: #ffffff;
    padding: 10px 80px;
    font-size: 19px;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;


}

button:hover {
    background-color: #6b7280;
    color: #e5e7eb;
}

.information {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin: 30px 180px;
    gap: 20px;
    grid-area: information;

}

footer {
    text-align: center;
    font-size: 10px;
    margin-bottom: 1em;
    grid-area: footer;
}


/*-----------media queries ---------------*/

@media screen and (max-width: 600px) {

    button {
        font-size: 24px;
        padding: 10px 40px;
    }

}

@media screen and (max-width: 465px) {

    body {
        background-color: #f3f4f6;
        font-size: 12px;

    }

    header {
        padding: 30px 0;

    }

    h1 {
        font-size: 28px;

    }

    h2 {
        font-size: 18px;

    }

}

@media screen and (max-width: 393px) {

    .welcome, header, .button, footer {
        max-width: 393px;
    }

    .information {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex-wrap: nowrap;
        margin: 0;
    }

}

@media screen and (max-width: 360px){
    .welcome, header, .button, footer {
        max-width: 360px;
    }

}
@media screen and (max-width: 280px) {
    body {
        font-size: 11px;
    }
    button {
        font-size: 16px;
        padding: 10px 20px;
    }

}