/*  CSS v1.2           */
/*  dev@zendin.co.uk   */



/* UX */

#header, .pano, .clip, .click {
    -webkit-user-select: none;
    user-select: none;
}

.click {
    cursor: pointer;
}

#gototop_btn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  font-size: 18px;
  outline: none;
  background-color: #2075b6;
  color: white;
  cursor: pointer;
  padding: 2px 0px 0px 0px;
  border-radius: 10px;
  min-width: 40px;
  min-height: 39px;
  transition: 0.2s;
  border: 2px solid #dcf9e9;
}
  
#gototop_btn:hover {
  background-color: #101010aa;
  border-radius: 20px;
}



/* HEADER */

#header {
    display: flex;
    padding: 0px 15px;
    margin-bottom: 48px;
}

#title, #theme {
    flex: 50%;
}

#theme {
    text-align: right;
    padding-right: 5px;
}

#top-buttons {
    text-align: center;
    margin-bottom: 36px;
}

.fa-lock {
    color: #900;
}

@media screen and (max-width: 420px) {
    #top-buttons a {
        display: block;
        margin-bottom: 10px;
    }

    #header, #top-buttons {
        margin-bottom: 24px;
    }

}



/* BODY */

body {
    padding: 0px 20vw;
}

@media screen and (max-width: 1400px) {
    body {
        padding: 0px 10vw;
    }
}

@media screen and (max-width: 800px) {
    body {
        padding: 0px 0px;
    }

    #new-recipe {
        display: none;
    };

    h2 {
        text-align: center;
    }

    .row {
        margin: 0px auto;
        width: fit-content;
    }
}

b {
    font-weight: 600;
}

a:not(.grey) {
    color: var(--neutral);
	cursor: pointer;
    text-decoration: underline;
    transition: 0.2s;
}

a:hover:not(.grey) {
    color: var(--secondary);
    text-decoration-style: wavy;
}

.main:not(#header):not(#footer) {
    margin-bottom: 40px;
}

.grey {
    color: #777;
}

.button {
    text-decoration: none !important;
    padding: 0px 8px;
}

.fa-solid, .fa-regular {
    margin-right: 8px;
}

[class^="fa-"]:not(.first-icon) {
    margin-left: 18px;
}

.text {
    font-size: 14px;
}

.row {
    display: flex;
    text-align: center;
}

.row > p {
    flex: 33.3%;
}

.ingredient {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 6px;
}
  
.ingredient .amount {
    width: 70px;
    display: inline-block;
    flex-shrink: 0;
    font-family: "Oxygen Mono", monospace;
    font-weight: 400;
    font-style: normal;
}
  
.ingredient .item {
    flex-grow: 1;
}
  



/* FOOTER */

#footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 64px;
}

#sub-version {
    visibility: hidden;
    opacity: 0;
}

#version:hover #sub-version {
    visibility: visible;
    opacity: 0.6;
}

#author {
    opacity: 0.6;    
}

#bottom-notice {
    text-align: center;
    font-size: 13px;
    margin-top: 20px;
    margin-bottom: 36px;
}