/*@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&family=Poppins:wght@200;300;400;500;600;700&display=swap');*/

@import url('/css/blog.css');

body{
    --fire:#eb3000;
    --water:#082032;
    --sand:#2C394B;
    padding: 0;
    margin: 0;
    font-family: "Poppins";
    background: var(--sand);
}
p{
    margin: 0;
}
.container{
    max-width: 1920px;
    margin: auto;
    height: 100%;
}
nav{
    display: flex;
    width: 100%;
    height: 100px;
    background: var(--fire);
    align-items: center;
    justify-content: space-between;
}
.searchbox{
    margin-left: auto;
}
.searchbox #openSearch{
    width: 50px;
    height: 50px;
    border-radius: 50px;
    border:none;
    cursor: pointer;
}
.searchbox .search{
    display: none;
    position: absolute;
    width: 500px;
    height: 100px;
    right: 50px;
    margin-top: 20px;
    text-align: center;
    background: var(--sand);
    box-shadow: 5px 5px 20px 0px;
    border-radius: 20px;
    overflow: hidden;
    z-index: 9;
}
.searchbox .search input{
    width: 100%;
    height: 50%;
    border: none;
    padding: 0px 10px;
    outline: none;
    font-family: 'Poppins';
    font-size: 20px;
    box-sizing: border-box;
}
.searchbox .search button{
    width: 100px;
    height: 30px;
    border-radius: 20px;
    border:none;
    margin:10px auto;
    background: var(--fire);
    color:white;
    font-family: 'Poppins';
    cursor: pointer;
}
.main{
    margin: 20px auto;
}
section{
    margin-bottom: 80px;
}
.logo{
    display: flex;
    align-items: center;
    color: white;
    margin-left: 10px;
}
#logo-text{
    font-family: "Outfit";
    font-size: 30px;
}
#logo{
    width: 70px;
    height: 70px;
    margin: auto 20px;
}
.main-menu{
    margin-right: 10px;
}
.main-menu ul{
    display: flex;
    list-style: none;
}
.main-menu ul li{
    font-size: 20px;
    margin: auto;
    margin-right: 30px;
}

.nav-links{
    text-decoration: none;
    color: white;
}
#sub-btn{
    font-family: "Poppins";
    background: var(--water);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
}
.more-menu{
    display: none;
}
.more-menu #open-btn{
    padding: 10px;
    margin: auto 20px;
}
.side{
    position: fixed;
    opacity: 0;
    width: 100vw;
    height: 100vh;
    top: 0px;
    right: -100vw;
    z-index: 10;
    overflow: hidden;
    color:white;
    background: linear-gradient(to top, black, var(--water));
    transition: all 0.2s ease-in;
}
.side ul{
    padding: 0;
    text-align: center;
    list-style: none;
    font-size: 20px;
}
.side ul li{
    margin: 50px auto;
}
.side ul li:first-of-type{ 
    text-align: end;
    margin: 20px;
}
.show{
    opacity: 1;
    right: 0;
}
.main{
    min-height: 500px;
}
.footer{
    width: 100%;
    height: auto;
    background: var(--water);
    padding: 50px 0px;
}
.footer .socials{
   display: flex;
   justify-content: center;
   flex-direction: column;
   align-items: center;
}
.socials img{
    width: 80px;
}
.socials .divider{
    width: 200px;
    margin-top: 10px;
    height: 1px;
    background: var(--fire);
}
.socials .social-links{
    display: flex;
    width: 150px;
    margin: 20px 0px 50px 0px;
    justify-content: space-between;
    
}
.socials .social-links a{
    color: whitesmoke;
    cursor: pointer; 
}
.footer .links{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    color:white;
}
.footer .links ul{
    width: 100px;
    list-style: none;
    margin: auto 30px;
    padding: 0;
    text-align: center;
}
.footer .links li{
    margin: 10px;
}
.footer .links li:first-of-type{
    font-weight: 500;
    color: white;
}
.footer .links li a{
    text-decoration: none;
    color: var(--fire);
    font-weight: 300;
}
.footer .copyright{
    text-align: center;
    font-family: 'Outfit';
    color: white;
    margin-top:25px;
}
.cat-tag{
    width: 200px;
    background: var(--water);
    padding: 10px 0px;
    border-radius: 20px;
    text-align: center;
    color: white;    
    margin: auto;
}
.cat-tag::after{
    display: block;
    position: absolute;
    margin: auto;
    margin-top: 25px;
    left: 0px;
    right: 0px;
    content: "";
    width: 50%;
    background: var(--fire);
    height: 2px;
}
.cards{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    width: 270px;
    height: 300px;
    font-family: "Outfit";
    text-align: center;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    margin: auto;
    margin-top: 50px;
    box-shadow: 2px 5px 15px 0px rgba(0, 0, 0, 0.5);
    user-select:none;
}
.cards:hover{
    scale: 1.1;
    transition: 0.3s ;
}
.card-links{
    position: absolute;
    width: 100%;
    height: 100%;
}

.cards img{
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.cards .card-title{
    margin: 0px 15px;
}
.cards .card-cat{
    font-family: "Poppins";
    font-size: 12px;
    font-weight: 300;
    margin-bottom: 10px;
}
.swiper{
    width: 100%;
    height: 400px;
}
.swiper-button-next, .swiper-button-prev{
    color: white !important;
}
.tutorials{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 90%;
    margin:auto;
}
.page-nav{
    display: flex;
    justify-content: center;
}
.page-nav a{
    background: var(--fire);
    width: 100px;
    text-decoration: none;
    text-align: center;
    color:white;
    margin: 20px;
    padding: 5px;
    border-radius: 20px;
}

.tutorials .cards{
    margin: 50px;
}
.more-btn{
    display: block;
    width: 30%;
    margin:auto;
    background: none;
    color: white;
    border: 1px solid white;
    border-radius: 20px;
    cursor: pointer;
}
.more-btn a{
    text-decoration: none;
    color: white;
    display: block;
    padding: 10px;
}
.more-btn:hover{
    scale: 1.01;
}
.rev-gallery{
    display: grid;
    grid-template-columns: auto auto;
    justify-content: center;
    gap: 50px 20px;
    margin: 50px;
}
.review{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 400px;
    height: 300px;
    background:white;
    text-align: center;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}
.r0{
    grid-column: 1/3;
    width: 100%;
    height: 500px;
}
.rev-link{
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.review img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.rev-text{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: "Outfit";
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to top,#000, transparent);
    color: white;
}
.rev-cat{
    font-size: 15px;
    font-weight: lighter;
    margin: auto;
    margin-top: 90px;
    border: 1px solid white;
    width: 100px;
    padding: 5px;
    background: rgba(0, 0, 0, 0.5);
}
.review .rev-title{
    margin: 10px 10px 30px 10px;
}
@media screen and (max-width:1024px) {
    .searchbox .search{
        max-width: 90%;
        right: 5%;
    }
    #logo-text{
        display:none;
    }
    .main-menu{
        display: none;
    }
    .more-menu{
        display:block;
    }
    .tutorials .cards{
        margin:50px 20px;
    }
    .rev-gallery{
        grid-template-columns: repeat(auto-fit, min(300px));
        justify-items: center;
    }
    .review{
        width: 300px;
    }
    .r0{
        grid-column: auto;
        height: 300px;
    }
}