@font-face {
    font-family: centaur;
    src: url(Assets/centaur.otf);
}
.logo-container {
    width: 100%;
    margin: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.logo{
    margin: auto;
    width: 10%;
}
.logo:hover,
.logo:focus{
    cursor: pointer;
}

.example-images-container{
    width: 100%;
    height: 600px;
    padding: 0%;
    position: absolute;
    left: 0px;
    z-index: -1;
    display: flex;
    flex-direction: row;
}

.example-image{
    width: 18%;
    object-fit: fill;
    border-radius: 40px;
}

.prompt-bar-container {
    width: 62%;
    margin: auto;
    display: flex;
    flex-direction: column;
    font-family: centaur;
    background-color: white;
    padding: 20px;
    border-radius: 40px;
}

.prompt-bar {
    width: 100%;
    font-size: larger;
    margin: auto;
    font-family: centaur;
    background-color: white;
    border: none;
    height: auto;
    min-height: 1em;
    resize: none;
    overflow: hidden;
    line-height: 1.2em;
    padding-top: 0.3em;
}

.prompt-bar-vertical {
    width: 100%;
    font-size: 50pt;
    margin: auto;
    font-family: centaur;
    background-color: white;
    border: none;
    height: auto;
    resize: none;
    overflow: hidden;
}

textarea:focus {
    outline: none;
}

input:focus {
    outline: none;
}

.loader-container {
    width: 12%;
    height: 100px;
    padding-top: 100px;
    justify-content: flex-end;
    align-items: center;
    display: flex
}

.loader {
    border: 2px white solid;
    border-top: 2px black solid;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

.counter {
    font-size: 40px;
}

.image-loader {
    position: absolute;
    margin: 0px;
    border: 3px #00000000 solid;
    border-top: 2px lightgrey solid;
    margin-top: 19%;
    margin-left: 19%;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.recipe-container {
    width: 62%;
    margin: auto;
    display: flex;
    flex-direction: column;
    font-family: centaur;
    background-color: white;
    border-radius: 40px;
    padding: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.recipe-image-container {
    width: 100%;
}

.recipe-image {
    width: 100%;
    object-fit: fill;
    border-radius: 10%;
}

.recipe-servings-label {
    background-color: white;
    color: black;
    float: left;
    border-radius: 40px;
}

.recipe-title-container {
    width: 100%;
    margin: 10px;
}

.recipe-title {
    color: black;
    font-size: 42pt;
    text-align: left;
    margin: 0px;
}

.share-container {
    width: 100%;
    margin: 0px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 6px;
    padding-bottom: 6px;
}

.share-image {
    width: 100%;
    object-fit: fill;
    border-radius: 10%;
    cursor: pointer;
}

.share-label {
    color: black;
    font-size: 26pt;
    text-align: left;
    margin: 0px;
    margin-top: 4px;
}

.error-container {
    width: 100%;
    margin: 10px;
}

.error {
    color: black;
    font-size: 42pt;
    text-align: left;
    margin: 0px;
}

.recipe-body-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    padding: 12px;
    border-top: 1px solid lightgrey;
}

.recipe-vertical-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.recipe-left-container {
    width: 38%;
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 12px;
    padding-top: 0px;
    flex-shrink: 0;
    border-right: 1px solid lightgrey;
}

.recipe-image-container {
    width: 100%;
    padding: 12px;
    padding-top: 0px;
    border-bottom: 1px solid lightgrey;
}

.recipe-ingredients-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 12px;
    padding-top: 0px;
}

.recipe-ingredients-subtitle {
    color: black;
    font-weight: bold;
    font-size: x-large;
    margin-bottom: 12px;
    text-align: left;
}

.recipe-ingredient {
    color: black;
    font-size: large;
    margin-top: 4px;
    margin-bottom: 4px;
    text-align: left;
}

.recipe-method-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 12px;
    padding-top: 0px;
}

.recipe-method-subtitle {
    color: black;
    font-weight: bold;
    font-size: x-large;
    margin-top: 12px;
    margin-bottom: 12px;
    text-align: left;
}

.recipe-method-step-name {
    color: black;
    font-size: x-large;
    margin-top: 4px;
    margin-bottom: 4px;
    text-align: left;
}

.recipe-method-step-body {
    margin-top: 4px;
    margin-bottom: 4px;
    display: flex;
}

.recipe-method-step-image {
    object-fit: fill;
    border-radius: 10%;
}

.image {
    width: 100%;
    object-fit: fill;
    border-radius: 10%;
}

.recipe-method-step-actions {
    color: black;
    font-size: large;
    margin-bottom: 4px;
    padding-left: 2%;
    padding-right: 2%;
    text-align: left;
}

.error-container {
    width: 62%;
    margin: auto;
    display: flex;
    flex-direction: column;
    font-family: centaur;
    background-color: white;
    border-radius: 40px;
    padding: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.error {
    color: black;
    font-size: large;
    margin-top: 4px;
    margin-bottom: 4px;
    text-align: center;
}

#copied-notification {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #00000099;
    color: #ffffff99;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 1.2rem;
    font-family: centaur;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease-out;
}

#copied-notification.show {
    animation: riseFade 1.5s ease-out forwards;
}


@keyframes riseFade {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -80%);
    }
}
