/* reset code */

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style-type: none;
    outline: none;
    font-weight: 400;
}

/* adjust html page */

html{
    background-color: black;
    scroll-behavior: smooth;
    font-size: 62.5%;
    font-family: "Roboto", sans-serif;;
}

body{
    width: 100%;
    max-width: 100%;
    margin: auto;
    box-shadow: 0.1rem 0.1rem 0.1rem #c4c4c4 , -0.1rem 0rem 0.1rem #c4c4c4;
}

.btn{
    background-color: rgb(230, 159, 8);
    border: none;
    border-radius: 0.6rem;
    cursor: pointer;
    font-size: 1.6rem;
    padding: 1rem 0;
    box-shadow: 0.1rem 0.1rem 0.1rem #222;
    text-transform: uppercase;
}

.section-heading {
    font-size: 6rem;
    text-align: center;
    font-family: "Italiano", cursive;
    color : white;
    text-shadow: 0 0 25px orange;
    transition: all 0.3s;
}

.section-heading:hover{
    transform: scale(1.1);
}

.section-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}

img{
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Header Style */

header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: black;
    color : white;
    padding : 2rem 1rem;
    position: sticky;
    top:0;
    z-index: 10;
    min-height: 5vh;
}

#menu_bar{
    display: none;
}

.logo-figure{
    border : 1px solid #fff;
}

.logo{
    font-size: 4rem;
    transition: all 0.4s;
}

.logo:hover{
    transform: scale(1.1)
}

nav ul{
    display: flex;
    gap : 2rem;
}

nav ul li{
    padding : 1rem;
    transition: all 0.4s;
}

nav ul li:hover{
    background-color: brown;
    border-radius: 0.6rem;
}

.nav_link{
    font-size: 1.8rem;
    color : white;
    cursor: pointer;
}

/* Blog Banner */


.container .text{
    position: relative;
    color : #4070F4;
    font-size: 4rem;
    font-weight: 600;
    
}

.container .text.first-text{
    color: #fff;
    margin-left: 2rem;
}

.text.sec-text::before{
    content: "";
    position: absolute;
    top:0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: black;
    border-left: 2px solid red;
    animation: animate 4s steps(12) infinite;
}

@keyframes animate {
    40%,60%{
        left: 100%;
    }
    100%{
        left: 0%;
    }
}


.banner{
    padding : 5rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 10vh;
    margin-top: 40rem;
}


.banner_heading{
    display: inline-block;
    color : #fff;
    padding : 1rem;
    margin-bottom: 2rem;
    font-size: 4rem;
}

.bannner_description{
    font-size: 4rem;
    color: white;
    margin-top: 4rem;
    margin-bottom: 3rem;
    width: 120%;
}

.bannner_description::selection{
    color : orange;
}

.banner article{
    flex-basis: 50%;
    margin: 1rem;
}

.banner aside{
    flex-basis: 50%;
    text-align: center;
}

.blog_photo{
    width: 70rem;
    height: 55rem;
    animation: lapanimate 3.5s ease 1s infinite;
    margin-top: -50rem;
}

.banner article{
    margin-top: -30rem;
}

.yellow-text{
    color : orange;
}

.banner_description2{
    font-size: 2.5rem;
    color : white;
    margin : 2rem 0;
}

.explore-btn{
    background-color: #22a419;
    color :white;
    font-size: 2.4rem;
    padding: 2rem;
    border-radius: 0.9rem;
    width: 26rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
    cursor: pointer;
}

.explore-btn:hover{
    box-shadow: 0 0 30px green;
    border: none;
}

.apply-btn{
    background-color: #e33437;
    color :white;
    font-size: 2.4rem;
    padding: 2rem;
    border-radius: 0.9rem;
    width: 26rem;
    margin-right: 2rem;
    cursor: pointer;
}

.apply-btn:hover{
    box-shadow: 0 0 25px red;
    border: none;
}



.container-icons{
    height : 40vh;
    margin-top : 4rem;
    display: flex;
    justify-content: flex-start;
    gap : 10rem;
}

.container-websites{
    display: flex;
    gap:1rem;
}

.container-users{
    display: flex;
    gap:1rem;
    justify-content: center;
}

.website-icon{
    font-size: 4rem;
}
.user-icon{
    font-size: 4rem;
}

.website-icon:hover{
    color : bisque;
}

.container-text{
    color : white;
    display: flex;
    flex-direction: column;
    font-size: 1.5rem;
    font-weight: 1400;
    gap:0.5rem;
}
.container-text p{
    font-weight: 700;
}

@keyframes lapanimate {
    0%,100% {
        transform: translateY(0);
    }
    50%{
        transform: translateY(-10rem)
    }

}



/* Projects Section */

#blog-about{
    background-color: rgba(0, 0, 0, 0.863);
    height: 90rem;
}

.cards{
    display: flex;
    align-items: center;
    gap : 1rem;
}

.card{
    flex : 1;
    border-radius: 0.6rem;
    background-color: black;
    padding : 3rem 1rem;
    margin : 2rem;
    display: flex;
    gap : 0.6rem;
    flex-direction:column;
    align-items: center;
    transition: all 0.3s;
    color: white;
}

.card_heading{
    font-size: 3rem;
}

.card_description{
    padding : 0.4rem 0;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.6rem;
}

.card:hover{
    transform: scale(1.1);
    box-shadow: 0 0 25px orange
}

.card_btn{
    width: 80%;
    font-size: 2rem;
}

/* Services Section */

#services{
    background-color: rgba(0, 0, 0, 0.863);
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    gap : 5rem;
    height : 100rem;
    color: white;
}

.services-container{
    display: flex;
    justify-content: space-between;
    gap: 4rem
}

.service{
    border : 2px solid #969696;
    height : 40vh;
    width: 30vw;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    padding : 1rem 0 0;
    text-align: center;
    background-color: #fff;
    color : black;
    border-radius: 0.7rem;
    transition: all 0.3s;
    position: relative;
}

.service::after{
    content: "";
    position: absolute;
    width: 80%;
    height: 100%;
    background-color: black;
    box-shadow: 0 0 30px 30px orange;
    animation: rotateservice 4s linear infinite;
    z-index: -1;
}

.service::after{
    content: '';
    position: absolute;
    inset: 10px;
    background-color: black;
    border-radius: 16px;
}

@keyframes rotateservice {
    0%{
        transform: rotate(0deg);
    }
    100%{
        transform: rotate(360deg);
    }
}



.service-button,.service-price:not(sub),.service-header,.service-user,.service-storage,.service-access{
    width:100%;
    height: 100%;
    font-size: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}



.service-price{
    font-size: 3.6rem !important ;
    color : red;
    background-color: hsla(0, 0%, 59%,0.5);
    
}

.service-price sub{
    font-size: 2rem;
}

.service-header{
    font-size: 3rem;
    font-weight: 700;
}

.service-button{
    height: 75%;
    background-color: black;
    color: white;
}

.service-button:hover{
    background-color: orange;
}

.service-access,.service-user{
    border-bottom: 1px solid #969696 ;
}

/* About Section */

#blog-posts{
    background-color: rgba(0, 0, 0, 0.863);
    min-height: 100rem;
}

.blog-posts{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 2rem;
    
    color: #fff;
}

.blog-post{
    width: 70%;
    display: flex;
    margin: 1rem 0;
    box-shadow: 0.1rem 0.1rem 0.1rem #c4c4c4 , -0.1rem 0rem 0.1rem #c4c4c4;
    transition: all 0.3s;
}

.blog-post:hover{
    transform: scale(1.1);
}

.blog-post_aside{
    flex:1;
}

.blog-post_content{
    flex: 2;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    margin-left: 2rem;
    gap: 1rem;
}

.blog-post_heading{
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.blog-post_subheading{
    font-size: 2rem;
}

.blog-post_description{
    font-size: 1.6rem;
    text-align: justify;

}

.blog-post_btn{
    width: 30%;
}

/* Contact Section */

form{
    box-shadow: 0.1rem 0.1rem 0.1rem #c4c4c4 , -0.1rem 0rem 0.1rem #c4c4c4;
    padding: 8rem 1rem 4rem;
    color : #fff;
    margin: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    min-height: 65vh;
    min-width: 40vw;
}

#contact-section{
    background-color: rgba(0, 0, 0, 0.863);
    min-height: 100vh;
}

.form-control{
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.form-control label{
    font-size: 2.5rem;
    flex : 0.3;
}

.form-control > input,textarea{
    flex: 0.7;
    width: 40rem;
    padding : 2rem 1rem;
    border: none;
    border-radius: 0.6rem;
}

textarea{
    resize: none;
    height: 12vh;
}

.form-btn{
    display: flex;
    justify-content: center;
}

.contact_btn{
    width: 30%;
}

/* footer */

.footer{
    position: relative;
    bottom: 0;
    width: 100%;
    padding: 40px 0;
    background-color: black;
}

.footer .social{
    text-align: center;
    padding-bottom: 24px;
    color : rgb(253, 250, 250);
}

.footer .social a{
    font-size: 24px;
    color : white;
    width : 40px;
    height: 40px;
    line-height: 42px;
    border : 2px solid orangered;
    display: inline-block;
    border-radius: 45%;
    margin : 0 8px;
    box-shadow: inset 0 0 10px orangered,
    0 0 10px orangered;
    transition: 0.3s ease;
}

.footer .social a:hover{
    transform: scale(1.2) translateY(-10px);
    color : orangered;
    border : 2px solid orangered;
}

.footer ul{
    margin-top: 0;
    padding: 0;
    font-size: 18px;
    margin-bottom: 0;
    line-height: 1.6;
    text-align: center;
}

.footer ul li a{
    color : white;
    border : 3px solid transparent;
    transition: 0.3s ease;
}

.footer ul li a:hover{
    color : orangered;
}

.footer ul li{
    display:inline-block;
    padding : 0 15px;
}

.footer .copyright{
    margin-top: 15px;
    text-align: center;
    font-size: 20px;
    color : white;
}

.contact-form form input[type="submit"]{
    margin-left : 3rem;
}

/* Responsiveness */

@media screen and (max-width: 992px) {
    .banner{
        flex-direction: column;
        width: 100%;
        min-height: auto;
    }
    .container{
        width:100vw;
        text-align: center;
    }
    .bannner_description{
        text-align: center;
        width: 150%;
    }
    
    .blog_photo{
        height: 25rem;
        object-fit: contain;
    }

    .buttons{
        display: flex;
        flex-direction: column;
    }

    .banner_description2{
        text-align: center;
    }

    .banner article{
        width: 50%;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 5rem;
    }
}

@media screen and (max-width: 768px) {
    html{
        font-size : 55.5%;
    }

    body{
        width : 130rem;
    }

    .banner{
        flex-direction: column;
        height: 100%;
    }
    .banner article{
        width: 80%;
    }
    .cards{
        flex-direction: column;
        width: 100%;
        height: 200rem;
        justify-content: center;
        align-items: center;
    }

    .card_heading{
        text-align: center;
    }
    #blog-about{
        min-height: 250rem;
    }

    .services-container{
        flex-direction: column;
        min-height: 50rem;
    }

    .service{
        height: 30rem;
        width: 80vw;
    }

    .service::after{
        content: "";
        position: absolute;
        width: 80%;
        height: 100%;
        background-color: black;
        box-shadow: 0 0 30px 30px orange;
        animation: rotateservice 4s linear infinite;
        z-index: -1;
    }

    .blog-post{
        width: 80%;
        flex-direction: column;
    }
    #contact-section{
        min-height: auto;
    }
}

@media screen and (max-width: 600px) {
    html{
        font-size: 48.5%;
    }

    header{
        flex-direction: column;
    }

    #menu_bar{
        display: block;
        margin: 2rem 0;
    }

    .hidden{
        display: none;
    }

    nav ul{
        flex-direction: column;
        padding-left: 2.5rem;
    }
    .banner{
        min-height: auto;
    }
    .blog_photo{
        max-width: 100%;
    }

    .container .text{
        width:100vw;
        text-align: left;
        font-size: 3rem;
    }
    .container{
        text-align: center;
    }

    .card_btn{
        width:100%;
    }

    #blog-about{
        min-height: 200rem;
    }

    .cards{
        flex-direction: column;
        width: 90%;
    }

    .card{
        height : 50rem;
    }

    .service::after{
        content: "";
        position: absolute;
        width: 80%;
        height: 100%;
        background-color: black;
        box-shadow: 0 0 30px 30px orange;
        animation: rotateservice 4s linear infinite;
        z-index: -1;
    }

    .services-container{
        width: 100%;
        flex-direction: column;
        min-height : 70rem;
        justify-content: center;
        align-items: center;
    }

    .service{
        width:80%;
    }

    .archieves_lists{
        width: 90%;
        flex-direction: column;
        flex-wrap: wrap;
    }
    
    .blog-post{
        width: 90%;
    }
    form{
        width: 90%;
    }
    .form-control{
        flex-direction: column;
    }
    .form-control > input,textarea{
        margin-bottom: 0.5rem;
    }
    .footer{
        flex-direction: column;
    }

}

@media screen and (min-width : 993px) and (max-width:1000px) {
    .container .text{
        width:100vw;
        text-align: left;
        font-size: 2rem;
    }
    .container{
        text-align: center;
    }
}