
html{
    scroll-behavior: smooth;
    overflow-x: hidden;
}
body{
    margin: 0;
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 50px;
    background: radial-gradient(rgb(0, 22, 50), black);
    overflow-x: hidden;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: white;
    
}
html::-webkit-scrollbar{
    -webkit-appearance: none;
    width: 5px;
    background-color: rgb(0, 19, 41);
}
html::-webkit-scrollbar-thumb{
    appearance: none;
    border-radius: 10px;
    background-color: rgb(255, 255, 255);
}
.container{
    width: 100%;
    height: 500px;
    background: radial-gradient(rgb(0, 22, 50), black);
    position: relative;
    display: flex;
    flex-direction:column;
    gap: 60px;
    overflow: hidden;
    justify-content: flex-end;
    padding-left: 20px;
    /* transform-style: preserve-3d; */
}
.container::before{
    content: "";
    width: 90%;
    height: 80%;
    position: absolute;
    left: 5%;
    bottom: -30%;
    background-color: rgb(0, 11, 28);
    border-radius: 50%;
    transform: rotateX(50deg);
    box-shadow: 20px 30px 50px rgba(0, 0, 0, 0.5);
}
.navigation{
    width: 100% ;
    position: fixed;
    left: 0;
    top: 0;
    height: auto;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-around;
    overflow: hidden;
    padding: 5px;
}
.navigation nav{
    width: 100%;
    display: flex;
    height: auto;
    align-items: center;
    justify-content: space-evenly;
}
.navigation .fa-bars{
    display: none;
}
.navigation nav ul{
    display: flex;
    gap: 20px;
    list-style: none;
}
.navigation nav ul li a{
    text-decoration: none;
    color: white;
    font-size: 20px;
    font-family: Lilita one;
}
.navigation i{
    color: white;
    font-size: 30px;
    cursor: pointer;
}
.logo{
    display: flex;
    align-items: center;
    max-width:min-content;
    gap: 5px;
    border: 1px solid rgb(0, 110, 255);
    text-decoration: none;
    color: white;
    border-radius: 10px;
    background-color: rgba(0, 110, 255, 0.235);
    font-family: Orbitron;
    letter-spacing: 2px;
}
.logo img{
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: contain;
}
.logo h3{
    font-size: 13px;
}
.mobile-menu{
    width: 100%;
    height: auto;
    position: fixed;
    top: 0;
    left: 0;
    background: radial-gradient(rgb(0, 22, 50), black);
    z-index: 50;

    /*changes*/
    
    transform: translateY(-100%);
    transition: all 1s ease;
}
.mobile-menu.active{
    transform: translateY(0);
}
.mobile-menu .logo{
    width: 200px;
}
.mobile-menu nav ul{
    display: flex;
    flex-direction: column;
    gap: 40px;
    list-style: none;
}
.mobile-menu nav li a{
    text-decoration: none;
    font-size: 20px;
    letter-spacing: 3px;
    color: white;
}
.mobile-menu .fa-xmark{
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
    font-size: 30px;
}

.intro-message{
    max-width: 90%;
    display: flex;
    flex-direction: column;
    z-index: 2;
}
.intro-message h1 span{
    font-size: 70px;
    position: relative;
}
.intro-message a{
    width: 60%;
    padding: 10px;
    background-color: rgb(0, 22, 50);
    color: white;
    font-size: 20px;
    text-decoration: none;
    text-align: center;
    box-shadow: 10px 30px 50px rgba(0, 0, 0, 0.7)
}
main{
    padding: 30px 0;
    display: flex;
    gap: 10px;
    width: 100%;
    height: auto;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    
}
.latest-blog-post{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: rgba(0, 110, 255, 0.076);
    position: relative;
    overflow: hidden;
}
.latest-blog-post::before{
    content: "Author: Meshack Locho";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40%;
    height: 40%;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 30px;
    font-weight: bold;
    transform: translateX(-100%);
    transition: all 1s ease;
}
.latest-blog-post:hover::before{
    transform: translateX(0);
}
.first-post{
    text-decoration: none;
    color: white;
}
.latest-blog-post img{
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.posts{
    padding: 30px 0;
    display: flex;
    gap: 30px;
    width: 70%;
    height: auto;
    flex-wrap: wrap;
}
.other-posts{
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}
main .blog-post{
    max-width: 200px;
    text-decoration: none;
    color: white;
    height: 300px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    overflow: hidden;
    background-color: rgb(0, 45, 78);
    transition: all 1s ease;
    position: relative;
}
main .blog-post:hover{
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 62, 143, 0.7);
    scale: 1.01;
    text-decoration: underline;
}
main .blog-post .overlay{
    width: 100%;
    height: 200px;
    position: absolute;
    left: 0;
    top: 0;
    background-color: rgba(0, 62, 143, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 1s ease;
    transform: translateX(-100%);
}
main .blog-post .overlay i{
    font-size: 30px;
    width: 50px;
    height: 50px;
    border-right: 1px solid rgba(0, 110, 255, 0.509);
    border-top: 1px solid rgba(0, 110, 255, 0.509);
    border-bottom: 1px solid rgba(255, 255, 255, 0.509);
    border-left: 1px solid rgba(255, 255, 255, 0.509);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

main .blog-post:hover .overlay{
    transform: translateY(0);
}
main .blog-post:hover .overlay i{
    animation: breath 1s infinite linear alternate;
}
@keyframes breath{
    from{
        scale: 1;
    }
    to{
        scale: 1.1;
    }
}
main .blog-post img{
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.blog-text{
    padding-left: 10px;
}
.filters-catergories{
    width: 25%;
    height: 500px;
    position: sticky;
    top: 10px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 0 10px;
}

.filters-catergories .sect1{
    width: 100%;
    display: flex;
    gap: 10px;
}
.sect1 img{
    width: 50px;
    height: 50px;
    object-fit: cover;
}
.search-pane{
    width: 100%;
    z-index: 3;
}
.search-pane form{
    width: 100%;
    display: flex;
    align-items: center;
    gap: 5px;
}
.search-pane form input{
    padding: 10px;
    border: none;
}
.search-pane form input:focus{
    outline: rgb(0, 102, 255);
    box-shadow: 0px 0px 10px rgba(0, 62, 143, 0.7);
}
.search-pane form button{
    padding: 10px;
    background-color: rgb(0, 110, 255);
    color: white;
    border: none;
    cursor: pointer;
}
.search-res-cont{
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 70%;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
}
.search-res-cont-results{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
    gap: 30px;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
}
.search-result{
    max-width: 300px;
    height: auto;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: rgb(0, 174, 255);
}

.search-result p{
    font-size: 13px;
}
.search-result img{
    width: 100%;
    height: 200px;
    object-fit: cover;

}

.categories a{
    color: white;
    padding: 10px;
    text-decoration: none;
    background-color: rgb(0, 110, 255);
}
.bg-video{
    position: absolute;
    left: 0;
    top: 0;
    object-fit: cover;
}
@media (min-aspect-ratio: 16/9){
    .bg-video{
        width: 100%;
        height: 100%;
    }
}
@media (max-aspect-ratio: 16/9){
    .bg-video{
        width: 100%;
        height: 100%;
    }
}
.bg-overlay{
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-color: black;
    opacity: 0.7;
}
.intro-message{
    gap: 0;
}
.intro-message h3 a{
    background-color: transparent;
    box-shadow: 0 0 0;
    text-decoration: underline;
    font-size: 25px;
}
footer{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 40px 0;
    align-items: center;
    justify-content: center;
    background-color: rgb(0, 21, 49);
    color: white;
}
footer a{
    color: white;
    text-decoration: none;
}
.inner-footer{
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px 10px;
    align-items: center;
    justify-content: center;
    width: 80%;
    border: 1px solid rgb(0, 88, 203);
}
.inner-footer button{
    width: 200px;
    padding: 10px;
    background-color: rgb(0, 41, 64);
    border: none;
    cursor: pointer;
    border-radius: 5px;
    color: white;
    box-shadow: 0px 0px 50px rgba(0, 62, 143, 0.7);
}
.inner-footer form input{
    padding: 10px;
    width: 60%;
}
#mc_embed_shell{
    width: 100%;
}
#mc_embed_signup{
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 1px solid rgb(0, 110, 255);
    padding: 10px;
    border-radius: 20px;
}
#mc_embed_signup_scroll{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
#mc-embedded-subscribe-form{
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    height: auto;
}
.clear{
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 50%;
}
input[type="submit"]{
    background-color: rgb(0, 56, 112);
    margin-left: 0;
    color: white;
    cursor: pointer;
    border: none;
}
.subscription{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border: 0.1px solid rgb(0, 110, 255);
    border-radius: 20px;
    padding: 10px 0;
    align-items: center;
    justify-content: center;
}
#subscription{
    width: 50%;
}
#subscription input[type="email"]{
    width: 100%;
}
.footer-nav{
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: flex-end;
    gap: 30px;
    padding-right: 10px;
}
.footer-nav a{
    font-size: 20px;
    text-decoration: none;
    color: white;
    text-shadow: 0px 0px 5px rgb(0, 110, 255);
}
.socials{
    width: 70%;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: center;
}
.socials a{
    width: 250px;
    display: flex;
    padding: 5px 0;
    gap: 10px;
    font-family: 'Courgette', serif;
    font-size: 20px;
    letter-spacing: 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}
@media (max-width: 900px){
    .my-bg-images{
        justify-content: center;
        gap: -10px;
    }
    .navigation .fa-bars{
        display: block;
    }
    .navigation nav{
        display: none;
    }
    .container::before{
        display: none;
    }
    .filters-catergories{
        width: 100%;
    }
    .posts{
        width: 95%;
    }
    .categories{
        flex-direction: row;
        gap: 10px;
        flex-wrap: wrap;
    }
}
@media (max-width: 1000px){
    .section2{
        height: auto;
    }
}