* {
    box-sizing: border-box;
}

button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #FFB62F;
    font-family: 'Archivo', sans-serif;
    height: 100vh;
    margin: 0;
}

.banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 15px;
}

.banner button {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 50px;
    color: #2fffb6;
    border: none;
    background-color: #FFB62F;
    display: inline;
    position: relative;
}

.banner button:after {
    content: 'Bevly';
    position: absolute;
    left: 10px;
    top: 5px;
    color: #b62fff;
}

.banner button:hover {
    cursor: pointer;
}

.banner h2 {
    color: rgb(255, 255, 255);
    text-shadow: 2px 2px 1px #0000006c;
}

form {
    margin-bottom: 8px;
    display: flex;
    flex-direction: row;
    justify-items: center;
}

form input {
    height: 30px;
    width: 200px;
    margin-right: 5px;
    border-radius: 20px;
    padding-left: 15px;
    border: 1px solid rgba(255, 255, 255, 0.63);
    background-color: rgba(255, 255, 255, 0.619);
}

input[type='text']::placeholder {
    font-size: 15px;
    vertical-align: middle;
}

form .search-button {
    background-color: #2FFFB6;
    border: none;
    border-radius: 20px;
    font-size: 15px;
}

form .search-button span {
    padding-left: 5px;
    padding-right: 5px;
}

/* would like search "glass" to rotate upon hover*/

.search-button i {
    vertical-align: middle;
}

.search-button:hover {
    cursor: pointer;
    background-color: #00F39D;
}

.randomize {
    margin-left: 50%;
    transform:translateX(-50%);
    border: none;
    width: 195px;
    height: 30px;
    background-color: #2FFFB6;
    border-radius: 20px;
    color: black;
    font-size: 15px;
}

.randomize:hover {
    cursor: pointer;
    background-color: #00F39D;
}

ul {
    list-style: none;
}

.results {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
}

.results li {
    display: flex;
    flex-direction: row;
    margin-bottom: 7px;
}

.result {
    display: flex;
    flex-direction: row;
    width: 225px;
    border-radius: 0 15px 15px 0;
    border: none;
    justify-content: space-around;
    align-items: center;
    font-size: 18px;
    font-family: 'Archivo', sans-serif;
    font-weight: 400;
    background-color: rgba(255, 255, 255, 0.543);
    box-shadow: 1px -1px 1px #e970cf;
}

.results img {
    margin-top: auto;
    margin-bottom: auto;
    vertical-align: middle;
    width: 50px;
    border: 1px solid rgba(130, 130, 130, 0.434);
    border-radius: 15px 0 0 15px;
}

.result:hover {
    box-shadow: 2px -2px 2px #e970cf;
    cursor: pointer;
}

.details {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
    padding-bottom: 20px;
    width: 315px;
}

.drink-name {
    font-family: 'Sora', sans-serif;
    text-align: center;
    font-size: 20px;
    margin-bottom: 10px;
}

.info {
    background-color: rgba(255, 255, 255, 0.516);
    border-radius: 15px 15px 0 0;
    border-bottom: 1px solid rgba(172, 172, 172, 0.612);
}

.cocktail-photo img {
    width: 100%;
    border-radius: 15px 15px 0 0;
}

.ingredients {
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    text-align: center;
}

.ingredients li {
    width: 50%;
}

.more-info {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.516);
    border-radius: 0 0 15px 15px;
}

.instructions {
    padding-left: 15px;
    padding-right: 15px;
}

.title {
    text-decoration: underline;
    text-align: center;
}

.hidden {
    display: none;
}

@media screen and (min-width: 750px) {
    .banner {
        flex-direction: row;
        margin-bottom: 30px;
    }

    .home-logo {
        margin-right: 250px;
    }

    form input {
        width: 300px;
    }

    .search-bar {
        margin-bottom: 20px;
    }
}

@media screen and (min-width: 1000px) {
    .banner {
        padding-top: 10px;
    }

    .home-logo {
        margin-right: 350px;
    }

    form input {
        width: 400px;
    }

    .search-bar {
        margin-bottom: 30px;
    }

    .details {
        width: 760px;
    }

    .info {
        display: flex;
        flex-direction: row;
        width: 760px;
        background-color: rgba(255, 255, 255, 0);
        border-bottom: none;
    }

    .cocktail-photo img{
        width: 375px;
        border-radius: 15px;
    }

    .ingredients-container {
        width: 375px;
        border-radius: 15px;
        background-color: rgba(255, 255, 255, 0.516);
        margin-left: 10px;
        margin-bottom: 10px;
    }

    .more-info {
        border-radius: 15px;
    }

    .instructions {
        padding-left: 25px;
        padding-right: 25px;
        padding-bottom: 10px;
    }

    .results {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        width: 760px;
        transform: translateX(-5px);
    }

    .results li {
        margin-left: 10px;
    }
}
