img {
    display: block;
    margin: 0 auto;
    padding: 0 1rem;
    height: 10rem;
    border-radius: 45%;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url('/jakub-dziubak-drink.jpg');
    background-size: cover;
    /* background-repeat: no-repeat; */
    background-position: center;
    /* overflow: hidden; */
}

.drink-intro {
    font-family: "Source Code Pro", monospace;
    position: relative;
    width: 100%;
    height: 70rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: -14rem;
}

.intro-container {
    display: flex;
    justify-content: center;
    align-content: center;
    transform-style: preserve-3d;
    transition: all 0.5s ease;
    width: 90%;
}

.instructions {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 50rem;
    background-color: rgba(153, 161, 88, 78%)
}

.instructions p {
    margin-top: -0.8rem;
    padding: 0.5rem 1rem;
    font-size: 1.2rem;
    text-shadow: rgb(54, 41, 30) 0.3px 0 0.1px;
}

.instructions input,
.search-input {
    background-color: palegoldenrod;
    border: white;
    text-align: center;
    height: 1.7rem;
}

.search-button {
    background-color: rgb(75, 79, 43);
    border: rgb(153, 161, 88);
    color: white;
    height: 1.8rem;
    font-size: 1.1rem;
    margin-top: 0.3rem;
}

.search-button:hover {
    cursor: pointer;
}

.drink-intro h1 {
    font-size: 2.8rem;
    font-family: "Playfair Display", serif;
    font-style: italic;
    letter-spacing: 0.2rem;
    color: palegoldenrod;
    background-color: rgba(153, 161, 88, 95%);
    text-shadow: rgb(54, 41, 30) 2px 0 10px;
}

.img-arrows {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ph-light {
    font-size: 3rem;
    color: rgb(75, 79, 43);
    visibility: hidden;
}

.ph-light:hover {
    cursor: pointer;
}

.ph-arrow-circle-left {
    margin-left: 14%;
}

.ph-arrow-circle-right {
    margin-right: 14%;
}


/* drink information  */

.drink-info {
    position: absolute;
    width: 80%;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    padding: 1rem;
    text-align: center;
    /* border: 2px solid #DDDBD7; */
    background-color: rgba(174, 163, 142, 1);
    visibility: hidden;
    border: 10px double rgba(0, 0, 0, 0.6);
}

.recipe-row {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

#drink-name {
    font-family: "Playfair Display", serif;
    font-size: 1.5rem;
    letter-spacing: 0.3rem;
    margin-top: 1rem;
}

h3#ingredients, h3#instructions{
    color: rgb(75, 79, 43);
}

.instructions-container,
.ingredients-container {
    font-family: "Source Code Pro", monospace;
    text-align: center;
    padding-top: 0.3rem;
    margin: 0 auto;
}

.instructions-container{
    margin-top: -1rem;
}

.search-input {
    margin-top: 0.2rem;
}

/* media queries */
@media (min-width: 545px){
    
    #drink-name{
        font-size: 1.7rem;
    }
    
    img{
        height: 11rem;
    }
    
    .instructions input,
    .search-input {
    height: 1.9rem;
    font-size: 1.2rem;
    }

    .instructions-container{
        margin-top: 1rem;
    }
}

@media (min-width: 561px){
    .drink-intro {
        height: 75rem;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        margin-top: -15rem;
    }
    
    .intro-container {
        width: 93%;
    }
    
    .instructions p {
        margin-top: -0.8rem;
        padding: 0.5rem 1rem;
        font-size: 1.25rem;
    }

    .instructions input,
    .search-input {
    height: 2.5rem;
    }

    .search-button {
        height: 2.5rem;
        padding: 0 1rem;
        margin-top: 0.4rem;
    }

    .drink-info {
        width: 82%;
    }

    .instructions-container {
    padding: 0 1.5rem;
    padding-bottom: 1rem;
    }
}

@media (min-width: 723px){
    .drink-intro h1 {
        font-size: 3rem;
    }

    .instructions p {
        font-size: 1.4rem;
    }

    img{
        height: 12rem;
    }

    .ph-light {
        font-size: 3.4rem;
    }

    .ph-arrow-circle-left {
        margin-left: 16%;
    }
    
    .ph-arrow-circle-right {
        margin-right: 16%;
    }

    .instructions-container,
    .ingredients-container{
        font-size: 1.1rem;
    }

    .instructions-container {
        padding: 0 3rem;
    }
}

@media (min-width: 815px){
    .drink-intro h1 {
        font-size: 3.5rem;
    }

    .instructions p {
        font-size: 1.6rem;
    }

    .instructions input,
    .search-input {
    height: 2.7rem;
    font-size: 1.4rem;
    }

    .search-button {
        height: 2.7rem;
        font-size: 1.4rem;
    }
    
    img{
        height: 14rem;
    }

    #drink-name{
        font-size: 2rem;
    }

    .instructions-container,
    .ingredients-container{
        font-size: 1.3rem;
    }
}

@media (min-width: 988px){
    #drink-name{
        font-size: 2.5rem;
    }

    img {
        height: 16rem;
    }

    .ph-light {
        font-size: 4.5rem;
    }

    .instructions-container,
    .ingredients-container{
        font-size: 1.6rem;
    }
}

@media (min-width: 1178px){

    .instructions{
        width: 55rem;
    }

    .drink-intro h1 {
        font-size: 3.8rem;
    }

    .instructions p {
        font-size: 1.6rem;
    }

    .instructions input,
    .search-input {
    height: 2.9rem;
    font-size: 1.6rem;
    }

    .search-button {
        height: 2.9rem;
        font-size: 1.6rem;
    }

    #drink-name{
        font-size: 2.8rem;
    }

    img{
        height: 18rem;
    }

    .ph-light {
        font-size: 5rem;
    }

    .instructions-container,
    .ingredients-container{
        font-size: 1.8rem;
    }
    
    .instructions-container {
        padding: 0 4rem;
    }
}

@media (min-width: 1506px){
    
    .instructions{
        width: 60rem;
    }

    .drink-intro h1 {
        font-size: 4rem;
    }

    .instructions p {
        font-size: 1.8rem;
    }

    img{
        height: 20rem;
    }
    
    .ph-light {
        font-size: 5.5rem;
    }

    .ph-arrow-circle-left {
        margin-left: 18%;
    }
    
    .ph-arrow-circle-right {
        margin-right: 18%;
    }

    .instructions-container,
    .ingredients-container{
        font-size: 2rem;
    }

    .instructions input,
    .search-input {
    height: 3.2rem;
    font-size: 1.8rem;
    }

    .search-button {
        height: 3.2rem;
        font-size: 1.8rem;
    }
}