@import url('https://fonts.googleapis.com/css2?family=Cascadia+Code:ital,wght@0,200..700;1,200..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #FAF3E1;
}
body::-webkit-scrollbar {
    display: none;
}
header {
    position: relative;
    height: 3rem;
    z-index: 1;
}
.navbar {
    display: flex;
    padding: .4rem;
    width: 100%;
    position: fixed;
    background: #F5E7C6;
    color: #FA8112;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 7px 6px rgb(97, 90, 90);
    font-family: sans-serif;
}

.navbar h1 {
    margin-left: 8rem;
}

.navbar2 {
    display: flex;
    width: 100%;
    position: fixed;
    background: #F5E7C6;
    color: #FA8112;
    justify-content: center;
    align-items: center;
    box-shadow: 0 7px 6px rgb(97, 90, 90);
    font-family: sans-serif;
}
.logo {
    width: 5rem;
    margin-left: 1rem;
}
#icon {
    display: none;
}
.Kerko {
    margin-right: 2rem;
    width: 10rem;
    border: 3px solid #FA8112;
    border-radius: 5px;
    font-weight: bold;
    padding: .2rem;
    font-family: 'Courier New', Courier, monospace;
    padding: .4rem .4rem .4rem 1rem;
}
.input i {
    position: relative;
    top: 8px;
    font-size: 1.5rem;
}
.kategorite {
    margin-top: 4rem;
    flex: 1;
}
.kategori-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 4rem;

}
.kategori {
    font-family: sans-serif;
    font-size: 2rem;
    color: #FA8112;
    text-align: left;
}
.kategori h4 {
    margin-top: 3.5rem;
    margin-left: 3rem;
}
.videot {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 3rem;
    justify-items: center;
    color: #222222;
}
.videot img {
    width: 25rem;
    border: 2px solid #FA8112;
    border-radius: 10px;
    transition: all 1s ease;
    cursor: pointer;
}
.videot img:hover {
    filter: blur(2px);
}
.video {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    justify-items: center;
    grid-gap: 5rem;
}
video {
    width: 60rem;
    height: auto;
    margin-top: 5rem;
    border: 5px solid #F5E7C6;
    border-radius: 10px;
}
.btn{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 5rem;
}
.btn a {
    padding: 1rem;
    width: 20rem;
    border-radius: 10px;
    border: 1px solid black;
    background-color: #F5E7C6;
    color: #222222;
    font-size: 1.5rem;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    cursor: pointer;
    transition: all 1s ease;
    text-align: center;
    text-decoration: none;
}
.btn a:hover {
    transform: scale(1.1);
}
footer {
    height: 4rem;
    width: 100%;
    background: #222222;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 5rem;
}
.img-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 10px;
    background-color: #F5E7C6;
    padding: 1rem;
    border-radius: 10px;
    position: relative;
    cursor: pointer;
    font-size: 1rem;
    color: black;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    text-align: center;
}
.img-container img {
    object-fit: cover;
    transition: all 1s ease;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    transition: all 0.5s ease;

}
.overlay-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -95%);
    color: #fff;
    font-size: 3em;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.img-container:hover img {
    filter: blur(2px);
}
.img-container:hover .overlay {
    background-color: rgba(0, 0, 0, 0);
}
.img-container:hover .overlay-icon {
    opacity: 1;
}
.kerko {
    display: none;
    margin-right: 1rem;
    width: 10rem;
    border: 3px solid #CC6333;
    border-radius: 5px;
    font-weight: bold;
    padding: .2rem;
    font-family: 'Courier New', Courier, monospace;
    padding: .4rem .4rem .4rem 1rem;
}
.mobile-input {
    position: fixed;
}
.video-container {
    flex: 1;
}
@keyframes appear {
    from {
        opacity: 0;
        transform: translateX(-450px);  
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.kategori {
    animation: appear linear;
    animation-timeline: view();
    animation-range: entry 0 cover 21%;
}
@keyframes open {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
body {
    animation: open 1s linear;
}
@keyframes slideIn {
    from {
        transform: translateY(-80px);
    }
    to {
        transform: translateY(0);
    }
}
header {
    animation: slideIn 1s linear;
}
@media (max-width: 1400px) {
    .videot {
        grid-gap: 1rem;
    }
}
@media (max-width: 1350px) {
    .videot {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 3rem;
    }
}
@media (max-width: 1000px) {
    .videot {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 1rem;
    }
    #video {
        width: 50rem;
    }
}
@media (max-width: 900px) {
    .videot {
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 3rem;
    }
    #video {
        width: 40rem;
    }
   .kategori {
    animation: appear linear;
    animation-timeline: view();
    animation-range: entry 0 cover 13%;
    }
}
@media (max-width:790px) {
    .btn a {
        padding: .5rem;
        width: 10rem;
    }
}
@media (max-width: 720px) {
    .input input {
        display: none;
    }
    .videot img {
        width: 23rem;
    }
    .logo {
        margin-left: 0;
    }
    .kategori h4 {
        margin-left: 1rem;
    }
    .input i {
        display: none;
    }
    #icon {
        display: flex;
        margin-right: 1rem;
        position: relative;
        top: 0;
        cursor: pointer;
        font-size: 2rem;
    }
    .navbar h1 {
        margin-left: 0;
    }
    .mobile-input {
        position: static;
    }
}
@media (max-width: 650px) {
    #video {
        width: 30rem;
    }
}
@media (max-width: 500px) {
    #video {
        width: 25rem;
    }
    .btn {
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 1rem;
    }
}
@media (max-width: 400px) {
    #video {
        width: 20rem;
    }
}
@media (max-width: 340px) {
    #video {
        width: 15rem;
    }
}