@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: antiquewhite;
    font-family: Arial, Helvetica, sans-serif;
}

h1 {
    font-size: 3em;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
    margin-left: 50px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

nav {
    margin-right: 5%;
}

ul {
    display: flex;
    flex-direction: row;
    list-style: none;
}

ul > li {
    border-radius: 8px;
    margin-left: 30px;
    padding: 10px;
}

ul > li > a {
    text-decoration: none;
    color: black;
    font-weight: bold;
    font-size: 1.2em;
    transition-duration: 0.5s;
}

ul > li:hover {
    cursor: pointer;
    background-color: bisque;
}

main {
    background-image: url("images/coffee-background.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    color: white;
    height: 800px;
}

main > section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

main > section div.itemsSection > h2 {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 4em;
    margin-left: 50px;
    color: rgb(48, 1, 1);
}

main > section div.itemsSection {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    max-width: 400px;
}

main > section div.itemsSection > p {
    font-size: 1.2em;
    text-align: justify;
    margin-left: 50px;
    color: black;
}

main > section div.itemsSection > a {
    margin-top: 20px;
    align-self: center;
    padding-top: 10px;
    padding-bottom: 10px;
    width: 130px;
    border-radius: 8px;
    text-decoration: none;
    background-color: rgb(48, 1, 1);
    color: white;
    text-align: center;
    font-weight: bolder;
    transition: transform 0.3s ease;
}

main > section div.itemsSection > a:hover {
    cursor: pointer;
    transform: scale(1.1, 1.1);
}

main > section div#imageItemsSection {
    margin-top: 90px;
    max-width: 500px;
}

main > section div#imageItemsSection > img {
    width: 100%;
}

footer {
    width: 100%;
    font-size: 1.1em;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    font-style: italic;
    background-color: rgb(245, 194, 129);
    padding: 10px;
}

footer > p > a {
    color: black;
}

@media (max-width: 720px) {
    header {
        flex-direction: column;
        height: 130px;
        align-items: center;
        justify-content: center;
    }

    h1 {
        margin: 0px;
        font-size: 35px;
        text-align: center;
    }

    ul > li {
        margin-top: 20px;
        padding: 0px;
    }

    ul > li > a {
        font-size: 13px;
        padding: 5px;
    }

    ul > li > a:hover {
        border-radius: 5px;
    }

    main {
        width: 100%;
    }

    main > section {
        flex-direction: column;
        gap: 0px;
    }

    main > section div.itemsSection > h2 {
        font-size: 40px;
        margin: 0px;
        text-align: center;
    }

    main > section div.itemsSection {
        margin-top: 30px;
        width: 300px;
        text-align: center;
        gap: 15px;
    }

    main > section div.itemsSection > p {
        font-size: 14px;
        margin: 0px;
    }

    main > section div.itemsSection > a {
        margin-top: 10px;
        padding-top: 8px;
        padding-bottom: 8px;
        font-size: 12px;
        width: 100px;
    }

    main > section div#imageItemsSection {
        margin-top: 30px;
        width: 250px;
    }

    footer {
        font-size: 13px;
    }
}