@import url('https://api.fontshare.com/v2/css?f[]=satoshi@900,700,500,300,400&display=swap" rel="stylesheet');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Satoshi', sans-serif;
}
html{
    touch-action: pan-x pan-y;
    height: 100%;
    cursor: default;
}
body{
    background-color: #f6f6f6;
}
.content{
    transform: translateY(70px);
}
.welcomescreen{
    z-index: 9999;
    background-image: url(images/brushback.jpg);
    background-repeat: no-repeat;
    background-position: center;
    height: 100%;
    background-size: cover;
    display: block;
    width: 100vw;
    text-align: center;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    height: 100vh;
    position: fixed;
}
.welcomescreen .stackedfeatures{
    transform: translateY(100px);
}
.welcomescreen h1{
    color: #4878d7;
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 10px;
}
.welcomescreen h1 b{
    font-weight: 600;
}
.welcomescreen img{
    height: 100px;
    background-color: #fff;
    padding: 10px;
    border-radius: 13px;
    margin-bottom: 30px
}
.welcomescreen button{
    border: none;
    display: inline-flex;
    align-items: center;
    padding: 15px;
    border-radius: 18px;
    font-size: 26px;
    background-color: #4878d7;
    color: #fff;
    transition: ease 0.3s;
}
.welcomescreen button:hover{
    outline: 3px solid #4878d7;
    background-color: #ffffff92;
    color: #4878d7;
    font-weight: 500;
}
.welcomescreen button i{
    font-size: 39px;
}
.welcomescreen .bottomcreds h3{
    transform: translateY(140px);
    font-weight: 400;
    color: #888888;
}
.recipepop{
        position: fixed;
        background-color: #111111dc;
        top: 0;
        left: 0;
        padding-top: 20px;
        padding-left: 90px;
        padding-right: 90px;
        width: 100%;
        height: 100%;
        z-index: 9999;
        animation: fadeInAnimation ease 0.2s;
        animation-fill-mode: forwards;
    }
    .recipepop .recipeviewer{
        overflow: auto;
        width: 100%;
        border-bottom-left-radius: 13px;
        border-bottom-right-radius: 13px;
        height: 80%;
    }
    .recipepop .topcontrols{
        display: flex;
        background-color: #fff;
        padding: 15px;
        border-top-left-radius: 13px;
        border-top-right-radius: 13px;
    }
    .recipepop .topcontrols .reclogo{
        position: absolute;
        color: #fff;
        height: 40px;
        font-weight: 500;
        right: 0;
        margin-right: 10px;
        padding-right: 90px;
    }
    .recipepop i{
        background-color: #dcdcdc;
        color: #254484;
        padding: 1px;
        font-size: 35px;
        border-radius: 50%;
    }
.topbar{
    height: 60px;
    padding: 10px;
    background-color: #fff;
    position: fixed;
    width: 100%;
    z-index: 999;
}
.topbar .logo{
    height: 100%;
}
.topbar .form-search{
    transform: translateX(160px) translateY(-45px);
}
.topbar .form-search .icon{
    color: #4878d7;
    font-size: 20px;
    transform: translateX(40px) translateY(2px);
}
.topbar .form-search input{
    height: 40px;
    width: 270px;
    background-color: #e1e1e1;
    border: none;
    border-radius: 14px;
    color: #000000;
    font-size: 19px;
    padding-left: 45px;
}
.topbar .form-search input::placeholder{
    color: #000f2c;
}
.topbar .search .icon{
    transform: translateY(2px);
}
.topbar .search:hover{
    background-color: #f1f1f10b;
}
.right-icons{
    float: right;
    transform: translateY(-80px);
    margin-right: 10px;
}
.right-icons button{
    height: 30px;
    border: none;
    border-radius: 10px;
    padding-left: 12px;
    padding-right: 12px;
    margin-left: 7px;
    font-size: 21px;
    background-color: #b4b4b400;
    color: #4878d7;
    transition: 0.5s ease;
    cursor: pointer;
}
.right-icons .leftbutton{
    background-color: #16161600;
    color: #fff;
    outline: 1px solid #262626;
}
.right-icons .azbutton:hover{
    background-color: #f0f0f0;
}
.right-icons .login{
    background-color: #264764;
}
.right-icons .login:hover{
    background-color: #516785;
}
.right-icons .leftbutton:hover{
    background-color: #232323;
}
.right-icons button i{
    transform: translateY(1px);
}
.right-icons .leftbutton i{
    color: #e2bd26;
}
.recipename{
    font-size: 38px;
    padding: 15px;
    margin-top: 20px;
    margin-left: 15px;
    margin-right: 15px;
    margin-bottom: 15px;
    color: #fff;
    border-radius: 15px;
    font-weight: 500;
    background-color: #4878d7;
}
.ingredients{
    display: flex;
    margin-left: 15px;
    margin-right: 15px;
    padding: 15px;
    width: 70%;
    line-height: 1.3;
    font-weight: 500;
    border-radius: 15px;
    flex-direction: column;
    background-color: #fff;
    outline: 1px solid #cecece;
}
.ingredients b{
    color: #4878d7;
}
.ingredients .ingredient{
    font-size: 25px;
}
.topboxes{
    display: flex;
    height: 100%;
}
.recipepicture{
    width: calc(30% - 15px);
    margin-right: 15px;
    object-fit: cover;
    outline: 1px solid #cecece;
    border-radius: 15px;
}
.addnew{
    background-color: #fff;
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    margin-left: 30px;
    margin-right: 25px;
    color: #4878d7;
    margin-bottom: 10px;
    outline: 1px solid #d7d7d7;
    transition: 0.3s ease;
}
.addnew i{
    font-size: 46px;
}
.addnew:hover{
    background-color: #4878d7;
    color: #fff;
}
.directions{
    margin: 15px;
    padding: 15px;
    background-color: #fff;
    border-radius: 15px;
    outline: 1px solid #cecece;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
}
.directions .dirtext{
    font-size: 22px;
    margin-bottom: 10px;
    color: #1c1c1c;
}
.directions .dirtext b{
    color: #4878d7;
    font-weight: 600;
    margin-right: 10px;
}
.homewelcome{
    margin-left: 30px;
    color: #4878d7;
    font-size: 35px;
    letter-spacing: -0.5px;
}
.subheading{
    margin-left: 30px;
    font-weight: 500;
    font-size: 30px;
}
.recipelist{
    margin-left: 20px;
    margin-right: 25px;
    margin-bottom: 10px;
    display: flex;
    position: relative;
}
.recipelist .recipetile{
    background-color: #fff;
    margin-left: 10px;
    width: 25%;
    height: 150px;
    display: grid;
    border-radius: 10px;
    align-items: end;
    object-fit: cover;
    font-size: 20px;
    color: #fff;
    transition: 0.3s ease;
    cursor: pointer;
}
.recipelist .recipetile img{
    width: 100%;
    height: 150px;
    border-radius: 10px;
    filter: brightness(60%);
    object-fit: cover;
}
.recipelist .recipetile .recipecaption{
    position: absolute;
    padding: 15px;
    width: 25%;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.1;
}
.uploadform{
    margin-left: 30px;
    margin-right: 30px;
}
.uploadform .recipeupload input{
    padding: 20px;
    font-size: 20px;
    width: 100%;
    border: none;
    outline: 1px solid #a0a0a0;
    border-radius: 10px;
}
.uploadform .recipeupload button{
    padding: 20px;
    font-size: 26px;
    width: 100%;
    margin-top: 15px;
    border: none;
    color: #fff;
    background-color: #4878d7;
    outline: 1px solid #a0a0a0;
    border-radius: 10px;
}
.uploadform p{
    font-size: 18px;
    margin-bottom: 15px;
}
@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}