/* FOR PCCCS */
@media screen and (min-width: 960px) {
    #nav-bar{
        font-size: 16px;
    }
    .nav-button{
        visibility: hidden;
    }
    .container{
        height: 950px;
    }
    #trend-head{
        font-size: 24px;
    }
    .trending-pic{
        height: 450px;        
        border-right-style: solid;
        border-top-style: solid;
        border-bottom-style: solid;
        border-left-style: solid;
        border-width: 2px;
    }
    .trending-pic img{
        left: -100px;
        transform: scale(1.4);
    }
    .trending-pic-text{
        height: 450px;
        width: 30%;
        right: 0px;
        margin-right: 2%;
        box-shadow: -7px 8px 0px -2px;
        border-width: 2px;
    }
    .trend-head-p{
        top:28px;
    }
    .trend-head-tag{
        position: absolute;
        top: 45px;
        margin-left: 5px;
    }
    .recipe{
        top: 600px;
    }
    #ingredients-container{
        font-size: 20px;
        height: 450px;
        width: 30%;
        left: 2%;
    }
    #steps-container{
        font-size: 20px;
        height: 450px;
        transition: all 1s;
        transform: translateY(0px);
        width: 60%;
        right: 2%;
    }
    .checkmark{
        margin-top: 3px;
    }
}
/* FOR TABLETS */
@media screen and (max-width: 960px) {
    #nav-bar{
        font-size: 14px;
    }
    .nav-button{
        visibility: hidden;
    }
    .container{
        height: 950px;
    }
    #trend-head{
        font-size: 24px;
    }
    .trending-pic{
        height: 450px;
        border-right-style: solid;
        border-top-style: solid;
        border-bottom-style: solid;
        border-left-style: solid;
        border-width: 2px;
    }
    .trending-pic img{
        left: -100px;
        transform: scale(1.5);
    }
    .trending-pic-text{
        height: 450px;
        width: 30%;
        right: 0px;
        margin-right: 2%;
        box-shadow: -7px 8px 0px -2px;
        border-width: 2px;
    }
    .trend-head-tag{
        position: absolute;
        top: 45px;
        margin-left: 5px;
    }
    .trend-head-p{
        top:28px;
    }
    .recipe{
        top: 600px;
    }
    #ingredients-container{
        font-size: 16px;
        height: 450px;
        width: 30%;
        transition: all 1s;
        left: 2%;
    }
    #steps-container{
        font-size: 16px;
        height: 450px;
        transition: all 1s;
        transform: translateY(0px);
        width: 60%;
        right: 2%;
    }
    .checkmark{
        margin-top: 3px;
    }
}
/* FOR PHONES */
@media screen and (max-width: 768px) {
    #nav-bar{
        visibility: hidden;
    }
    .nav-button{
        visibility: visible;
    }
    #trend-head{
        font-size: 24px;
    }
    .trend-head-tag{
        position: relative;
        top: -2px;
    }
    .trend-head-p{
        top: 0;
    }
    div.trending-pic{
        height: 350px;
        width: 100%;
        left: 0%;
        border-right-style: none;
        border-top-style: none;
        border-bottom-style: none;
        border-left-style: none;
        border-width: 2px;
    }
    .trending-pic img{
        left: -12%;
        transform: scale(1.3);
    }
    .container{
        height: 1200px;
    }
    .recipe{
        top: 500px;
    }
    .trending-pic-text{
        transform-origin:all 1s;
        top:472px;
        width: 100%;
        height: 120px;
        border-width: 0px;
        box-shadow: 0px 0px 0px 0px;
        margin-right: 0%;
        overflow: hidden;
    }
    #ingredients-container{
        font-size: 16px;
        height: auto;
        transition: all 1s;
        transform: translateY(150px);
        left: 15%;
        position: absolute;
        width: 70%;
    }
    #steps-container{
        font-size: 18px;
        height: auto;
        transition: all 1s;
        transform: translateY(540px);
        width: 70%;
        left: 15%;
    }
    .checkmark{
        margin-top: 2px;
    }
}
@media screen and (max-width: 500px) {
    .container{
        height: 1400px;
    }
}
@media screen and (max-width: 366px) {
    #trend-head{
        font-size: 21px;
    }
    .trend-head-p{
        font-size: 14px;
    }
}
@media (hover: hover) {
    .nav-button:hover{
        background-color: #e5e5ea;
    }
}

@font-face {
    font-family: "Orpheus-italic";
    src: url("..s/fonts/orpheuspro-italic.otf");
}
@font-face {
    font-family: "domaine-text";
    src: url("../fonts/domaine-text.otf");
}

::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background:#F5F5F8;

}
::-webkit-scrollbar-thumb {
    background: gray;
}
::-webkit-scrollbar-thumb:hover {
    background: #555;
}
html{
    scroll-behavior: smooth;
}
body{
    margin: 0%;
    padding: 0%;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
     user-select: none; /* Standard syntax */
}
#logo{
    display: block;
    text-decoration: none;
    color: #000000;
    position:relative;
    width: 180px;
    z-index: 1000;
}
#logo h1{
    font-family:"domaine-text";
    border:0;
    margin-left:20px;
    margin-top: 0;
    font-weight: lighter;
    width: 180px;
}
div.mainheader{
    background-color: white;
    height: 110px;
    width: 100%;
    margin: 0%;
    padding: 0%;
    position: sticky;
    top:0;
    z-index: 100;
}

#nav-bar{
    position: absolute;
    font-family: sans-serif;
    width: 40%;
    height:20px;
    margin: auto;
    z-index: 90;
    top:24px;
    left: 77%;  
    transform: translate(-50%, 0);
}
#nav-bar a{
    text-align:center;
    float: left;
    text-decoration: none;
    color: #000000;
    word-spacing: -2px;
    font-weight:lighter;
    width: 25%;
}
#nav-menu{
    display: flex;
    position: absolute;
    top: 13px;
    width: 1px;
    height: 1px;
    right: 0px;
}
#nav-menu input{
    position: relative;
    height: 0;
    width: 0;

}
.nav-button{
    cursor: pointer;
    position: absolute;
    top:0;
    z-index: 4;
    height: 30px;
    width: 30px;
    border-radius: 10%; 
    transition-property:height;
    transition-duration: 600ms; 
    right: 140%;
    margin-right: calc(5vw);
}
#nav-menu input:checked ~ .nav-button{
    background-color: #e5e5ea;
}
.nav-button{
    background-color: #ffffff;
}
#nav-menu input:checked ~ .dropdown-content{
    display: block;
}
#nav-menu input:checked ~ .nav-button .line{
    top: 50%;
}
#nav-menu input:checked ~ #middleline{
    display: block;
}
#nav-menu input:checked ~ #lastline{
    transform: rotate(-45deg);
}
.line{
    position: absolute;
    background-color: rgb(0, 0, 0);
    height: 3px;
    width: 20px;
    border-radius: 4px;
    transition: 0.5s;
    transform: translate(-50%,-50%);
    left: 50%;
}
#firstline{
    top: 30%;
} 
#middleline{
    top: 50%;
}
#lastline{
    top: 70%;
} 
.dropdown-content {
    position:absolute;
    height: 140px;
    width:calc(100vw);
    right: 0;
    top:0px;
    z-index: 3;
    background-color: #ffffff;
    padding-top: 50px;
    bottom: 50px;
    display: none;
}
.dropdown-content a{
    float: none;
    padding-left:7%;
    height: 25%;
    text-decoration: none;
    color: #000000;
    font-family: sans-serif;
    font-weight:lighter;
    top: 10px;
    display: block;
}   
/* MAIN PICCCCCCCC */
.container{
    margin-top: 10px;
}


.trending-pic{
    width: 60%;
    margin: 0%;
    padding: 0%;
    overflow: hidden;
    position: absolute;
    left: 2%;
    margin-right: 200px;
}

.trending-pic img{
    height: 100%;
    width: 100%;
    position: absolute;
    object-fit: cover;
}
.trending-pic-text{
    padding-bottom: 0%;
    color: rgb(0, 0, 0);
    background-color: #F5F5F8; 
    position: absolute;
    text-align: start;
    transition: all 1s;
    border-bottom-style: groove;
    color: rgb(0, 0, 0);
    background-color: #F5F5F8; 
    text-align: start;
}
.trending-pic-text ul{
    list-style-type: none;
    padding-inline-start: 10px;
}
li{
    padding-bottom:5px ;
}
#trend-head{
    padding-left: 5px;
    font-weight: normal;
    padding-right: 5px;
    margin-bottom: 10px;
    color: rgb(0, 0, 0);
}
.trend-head-tag{
    color: rgb(255, 255, 255);
    font-size: 20px;
    margin-top: 5px;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 2px;
    padding-bottom: 2px; 
    left: 10px;
}
.trend-head-p{
    position: relative;
    padding-left: 5px;
    padding-right: 5px;
}
.mexican{
    background-color: orange;
}
.italian{
    background-color: green;
}
.japanese{
    background-color: darkred;
}
.desi{
    background-color: #5C4033;
}
.german{
    background-color: red;
}

.recipe{
    position: absolute ;
    width: 100%;
    
}
.ingredients{
    position: relative; 
    text-align: center;
    font-weight: 100;
    margin: 10px;
    font-size: 24px;
    
}
#ingredients-container{
    z-index: 2;
    position: absolute;
    transition: all 1s;
    border-bottom-style: groove;
    border-width: 2px;
    color: rgb(0, 0, 0);
    background-color: #F5F5F8; 
    text-align: start;
    box-shadow: -7px 8px 0px -2px;
}

#ingredients-container label{
    display: flex;
    justify-content: flex-start;
    cursor: pointer;
    margin-bottom: 10px;
    margin-left: 30px;
    /* text-wrap: nowrap; */
}
.recipe input{
    position: relative;
    height: 0;
    width: 0;
}
.checkmark{
    position: absolute;
    cursor: pointer;
    border-radius: 50%;
    width: 11px;
    height: 11px;
    border-width: 3px;
    border-color: #ffffff;
    border-style: solid;
    outline: rgb(0, 0, 0) 2px solid;
    background-color: #ffffff;
    margin-left: -20px;
    /* margin-bottom: 10px; */
}

.recipe input:checked ~ .checkmark {
    background-color: rgb(0, 0, 0);
}
.recipe input:checked ~ span {
    text-decoration: line-through;
}
.checkbox-list{
    list-style-type: none;    

}
#steps-container{
    transition: all 1s;
    border-bottom-style: groove;
    border-width: 2px;
    color: rgb(0, 0, 0);
    background-color: #F5F5F8; 
    position: absolute;
    text-align: start;
    box-shadow: -7px 8px 0px -2px;
}
hr{
    width: 90%;
    border-width: 0px;
    background-color: black;
    height:2px;
}
footer{
    text-align: center;
    font-family: sans-serif;
    font-size: small;
    font-weight: 700;
    color: rgb(80, 76, 76);
}