
* {
    padding: 0;
    margin: 0;
}

body {
    font-family: Mulish;
    color: white;
    background-color: black;
}

#home {
    background-image: url("images/home-background.png");
}

h1 {
    font-family: BillonDreams;
    height: fit-content;
    width: 100%;
    font-size: 7em;
}

#home-grid {
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

#home-button-container {
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 35%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
}

.home-button {
    margin-bottom: 20%;
    width: 100%;
    min-height: 2em;
    height: fit-content;
    border-radius: 15px;
    border: 1px solid white;
}


.home-button-byname {
    display: flex;
    justify-content: center;
    background: #092c3b;
}

#home-button-byname-text {
    margin: auto;
    width: fit-content;
    font-weight: bold;
    color: #8fb7ef;
    text-decoration: none;
    text-align: center;
}

.home-button-byname:hover {
    display: flex;
    justify-content: center;
    background-color: #02282f;
    scale: 105%;
    transition: ease 0.4s;
}

.home-button-byingredient {
    display: flex;
    justify-content: center;
    background-color: #301070;
}

#home-button-byingredient-text {
    width: fit-content;
    margin: auto;
    font-weight: bold;
    color: #b290f5;
    text-decoration: none;
}

.home-button-byingredient:hover {
    background-color: #1e0642;
    scale: 105%;
    transition: ease 0.4s;
}

.home-button-random {
    display: flex;
    justify-content: center;
    background-color: #26022f;
}

#home-button-random-text {
    width: 100%;
    margin: auto;
    font-weight: bold;
    text-align: center;
    color: #f591f0;
    text-decoration: none;
}

.home-button-random:hover {
    background-color: #16021a;
    scale: 105%;
    transition: ease 0.4s;
}


#home-text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    margin: 3%;
    width: 100%;
}

#home-text-column {
    margin-top: 25%;
    width: 70%;
    height: fit-content;
    padding-left: 15%;
    padding-right: 15%;
    letter-spacing: 3px;
    text-align: center;
}

#home-image-container {
    width: 100%;
    aspect-ratio: 1/1;
}

#home-image {
    width: 60%;
    padding-left: 20%;
    padding-right: 20%;
}

#home-button-search {
    margin-top: 3%;
    margin-left: 30%;
    margin-right: 30%;
    width: 40%;
    height: fit-content;
    min-height: 2em;
    display: flex;
    justify-content: center;
    align-content: center;
    background-color: rgba(16, 15, 15, 0.63);
    border-radius: 15px;

    display: none;

}

#home-button-search-text {
    width: 100%;
    font-family: Hunters;
    font-size: 1.2em;
    text-decoration: none;
    color: #a2fce2;
    margin: auto;
    font-weight: bold;
    text-align: center;

}

@media screen and (max-width: 1150px) {
    #home-button-container {
        margin-top: 55%;
    }
}

@media screen and (max-width: 950px) {

    #home-text {
        font-size: 6em;
    }

    #home-button-container {
        margin-top: 15%;
        width: 35%;
    }

    #home-grid {
        grid-template-columns: 1fr;
    }

}


@media screen and (max-width: 750px) {


    #home-button-column {
        margin-top: 2%;
    }

    #nav-list {
        justify-content: center;
    }

    #home-page-link {
        width: 30%;
    }

    #home-button-container {
        margin-top: 10%;
        width: 40%;
    }

}


@media screen and (max-width: 550px) {

    #home-text {
        margin-bottom: 3%;
    }

    #home-button-column {
        margin-top: 0;
    }

    #home-page-link {
        width: 40%;
    }

    #home-text {
        font-size: 6em;
    }

    #home-button-container {
        width: 50%;
    }
    #home-button-byingredient-text {
        font-size: 0.8em;
    }
    #home-button-byname-text {
        font-size: 0.8em;
    }
    #home-button-random-text {
        font-size: 0.8em;
    }
}


