@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    color: #fff;
    background: #111;
    font-family: 'Poppins',sans-serif;
}

.container{
    z-index: 999;
    width: 100%;
    min-height: 100vh;
    backdrop-filter: blur(1px);
    pointer-events: none;
}

.judul, .allweek, .item-inside, .ayam{
    pointer-events: all;
}

.container nav{
    width: 100%;
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
    padding: 0 40px;
    height: 100px;
    align-items: center;
}

.container nav h1{
    font-size: 2.6em;
    color: #fff;
    position: relative;
    cursor: pointer;
    pointer-events: all;
    letter-spacing: 4px;
}

.container nav h1 span{
    color: #00bfff;
}

.container nav ul{
    display: flex;
}

.container nav ul li{
    position: relative;
    list-style: none;
    font-size: 1.5em;
    font-weight: 400;
    padding: 12px 18px;
    cursor: pointer;
    pointer-events: all;
    overflow: hidden;
}

.container nav ul li::after{
    content: '';
    position: absolute;
    bottom: 5px;
    width: 0%;
    height: 3px;
    left: 50%;
    background: #00bfff;
    transform: translateX(-50%);
    transition: .3s;
}

.container nav li:hover{
    color: #00bfff;
}

.container nav li:hover::after{
    width: 80%;
}

.container section{
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 100px);
    text-align: center;
    pointer-events: none;
}

.textBox h1{
    font-size: 3.4em;
}

.textBox h1 span{
    color: #00bfff;
}

.textBox p{
    font-size: 1.2em;
}

.textBox .homeBtn{
    font-family: 'Poppins';
    padding: 8px 18px;
    margin: 16px 12px;
    font-size: 26px;
    background-color: transparent;
    color: var(--i);
    outline: none;
    border: 3px solid var(--i);
    border-radius: 4px;
    cursor: pointer;
    pointer-events: all;
    transition: .3s;
    font-weight: 600;
}

.textBox .homeBtn:hover{
    background-color: var(--i);
    color: #000;
}

.bgAnimation{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(20,1fr);
    grid-template-rows: repeat(20,1fr);
    background: #1d1d1d;
    filter: saturate(2);
    overflow: hidden;
}

.colorBox{
    z-index: 2;
    filter: brightness(1.1);
    transition: 2s ease;
    position: relative;
    margin: 2px;
    background: #1d1d1d;
}

.colorBox:hover{
    background: #00bfff;
    transition-duration: 0s;
}

.backgroundAmim{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: #00bfff;
    filter: blur(60px);
    animation: animBack 6s linear infinite;
}

@keyframes animBack {
    0%{
        top: -60px;
    }
    100%{
        top: 120%;
    }
}

.input{
    height: 35px;
    padding: 10px 10px;
    margin-right: 10px;
    border-radius: 10px;
    border: #00bfff 1px solid;
    font-family: 'Poppins',sans-serif;
}


.homeBtn{
    font-family: 'Poppins';
    padding: 5px 10px;
    margin: 5px 3px;
    font-size: 18px;
    background-color: transparent;
    color: var(--i);
    outline: none;
    border: 3px solid var(--i);
    border-radius: 4px;
    cursor: pointer;
    pointer-events: all;
    transition: .3s;
    font-weight: 600;
}

.homeBtn:hover{
    background-color: var(--i);
    color: #000;
}

.judul{
    display: flex;
    flex-direction: column;
    margin-top: 10px;
    width: 90vw;
    height: 400px;
    margin-bottom: 50px;
    height: auto;
    background-color: #ffffff;
    margin: 0 auto;
    border-radius: 10px;
    border: 2px solid #00bfff;
    color: #000;
    z-index: 999;
}

.judul:hover{
    background-color: #00bfff;
    color: #fff;
    border: 2px solid white;
    transition: background-color 0.3s ease, color 0.3s ease, border 0.3s ease;
}

.judul img:hover{
    transform: scale(1.05);
    transition: transform 0.3s ease;
}
.judul h2,h4,p{
    margin-left: 20px;
    margin-right: 20px;
}

.judul p{
    margin-bottom: 20px;
}

.judul h2{
    margin-left: 20px;
    margin-right: 20px;
}

.judul img{
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.listweek{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 60px;
    width: 90vw;
    margin: 0 auto;
}

.listweek img{
    width: 100%;
    height: 50%;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.allweek{
    width: 500px;
    height: 500px;
    background-color: #ffffff;
    color: #000;
    border: 2px solid #00bfff;
    margin: 20px 20px 20px 20px;
    border-radius: 10px;
}

.allweek:hover{
    background-color: #00bfff;
    color: #fff;
    border: 2px solid white;
    transition: background-color 0.3s ease, color 0.3s ease, border 0.3s ease;
}

.allweek img:hover{
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.allweek h2{
    margin-left: 20px;
    margin-right: 20px;
}

.allweek p{
    margin-bottom: 20px;
}


@media only screen and (max-width: 600px) {
    .judul {
        margin-top: 130px;
    }
}

@media only screen and (max-width: 600px) {
    .container{
        margin-top: 50px;
    }
    .container nav h1 {
        font-size: 20px;
        margin-left: -20px;
    }

    .container nav {
        display: flex;
        flex-direction: column;
    }

    .container nav ul{
        flex-direction: column;
        width: 90vw;
        
    }
    .input{
        height: 35px;
        width: 50vw;
        padding: 10px 10px;
        margin-right: 10px;
        border-radius: 10px;
        border: #00bfff 1px solid;
        font-family: 'Poppins',sans-serif;
    }

    .listweek{
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        margin-top: 60px;
        align-items: center;
        justify-content: center;
        width: 90vw;
        margin: 0 auto;
    }

    .allweek{
        width: 90vw;
        height: auto;
        margin: 20px 20px 20px 20px;
    }
    
}

/* Preview Page */
.item{
    display: flex;
    flex-direction: row; 
}

.item-left{
    margin-left:10%;
    margin-right: 10%;
    width: 65vw;
    height: 150%;
    background-color: wheat;
    color:#000;
    border-radius: 10px;
}

.penjelasan-dalam {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.penjelasan-dalam img{
    width: 500px;
    height: 300px;
    object-fit: cover;
    margin-top: 1px;
}

.item-right{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    width: 30vw;
    height: auto;
    background-color: rgb(255, 255, 255);
    color:black;
    border-radius: 10px;
}

.item-inside{
    width: 90%;
    height: auto;
    margin-bottom: 30px;
    background-color: wheat;
    color:black;
    border-radius: 10px;
    border: 1px solid black;
}

a{
    text-decoration: none;
    color: white;
}
.item-inside:hover{
    background-color: #00bfff;
    color:white;
    border-radius: 20px;
    border: 1px solid rgb(255, 255, 255);
    transition: background-color 0.3s ease, color 0.3s ease, border 0.3s ease;
}

.item-inside img{
    width: 100%;
    height: auto;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.item-inside img:hover{
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.author{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.ayam{
    background-color:wheat;
    padding-bottom: 20px;
    color: black;
    border-radius: 10px;
    display: flex;flex-direction:column;align-items: center; justify-content: center;width:50vw;height:auto
}

.ayam img{
    width: 50%;
    height:auto;
}

.ayam p{
    margin-left:50px;
    margin-right:50px;
}

@media only screen and (max-width: 600px) {
    /* Kiri Responsif */
    .item{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center; 
        margin-top: 150px;
    }
    
    .item-left{
        width: 90vw;
        height: auto;
        background-color: wheat;
        color:#000;
        border-radius: 10px;
    }
    
    .penjelasan-dalam {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    
    .penjelasan-dalam img{
        width: 80vw;
        height: auto;
        object-fit: cover;
        margin-top: 1px;
    }

    /* Kanan Responsif */

    .item-right{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-right: 0px;
        width: 80vw;
        height: auto;
        background-color: rgb(255, 255, 255);
        color:black;
        border-radius: 10px;
    }

    /* Author */
    .author{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
    }
    
    .ayam p{
    margin-left:10px;
    margin-right:10px;
}
    
    .ayam{
        width: 90vw;
        margin-top: 130px;
    }

    .ayam img{
        width: 80vw;
        height: auto;
        object-fit: cover;
    }
}