*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
/* Header navbar section */
header{
    z-index: 1;
    position: fixed;
    background: #22242A;
    padding: 20px;
    width: calc(100% - 0%);
    top: 0;
    height: 70px;
}
.left_area h3{
    color: #fff;
    margin: 0;
    text-transform: uppercase;
    font-size: 22px;
    font-weight: 900;
}
.left_area span{
    color: #1DC4E7;
}

.sidebar{
    z-index: 1;
    top: 0;
    background: #2F323A;
    margin-top: 70px;
    padding-top: 30px;
    position: fixed;
    left: 0;
    width: 250px;
    height: calc(100% - 9%);
    transition: 0.5s;
    transition-property: left;
    overflow: auto;
}

.profile_info{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.sidebar .profile_info .profile_image{
    width: 100px;
    height: 100px;
    border-radius: 100px;
    margin-bottom: 10px;
}
.sidebar h4{
    color: #ccc;
    margin-top: 0;
    margin-bottom: 20px;
}
.sidebar a{
    color: #fff;
    display: block;
    width: 100%;
    line-height: 60px;
    text-decoration: none;
    padding-left: 40px;
    box-sizing: border-box;
    transition: 0.5s;
    transition-property: background;
}
.sidebar a:hover{
    background-color: #19B3D3;
}
.sidebar i{
    padding-right: 10px;
}

label #sidebar_btn{
    z-index: 1;
    color: #fff;
    position: fixed;
    cursor: pointer;
    left: 300px;
    font-size: 20px;
    margin: 5px 0;
    transition: 0.5s;
    transition-property: color;
}
label #sidebar_btn:hover{
    color: #19B3D3;
}
#check:checked ~ .sidebar{
    left: -185px;
}
#check:checked ~ .sidebar a span{
    display: none;
}
#check:checked ~.sidebar a{
    font-size: 20px;
    margin-left: 165px;
    width: 100%;
}
.content{
    width: (100% - 250px);
    margin-top: 60px;
    padding: 20px;
    margin-left: 250px;
    background-position: center;
    background-size: cover;
    height: 100vh;
    transition: 0.5s;
}
#check:checked ~ .content{
    margin-left: 60px;
}
#check:checked ~ .sidebar .profile_info{
    display: none;
}
#check{
    display: none;
}

.mobile_nav{
    display: none;
}
.content .card{
    padding: 50px;
    margin-bottom: 10px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Home Section */

.content::before{
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    background: url('bg1.jpg') no-repeat center center/cover;
    height: 800px;
    width: 100%;
    z-index: -1;
    opacity: .8;
}
.main{
    display: flex;
    flex-direction: column;
    /* border: 1px solid white; */
    align-items: center;
    position: absolute;
    top: 30%;
    right: 10%;

}
.headings{
    font-family: century;
    font-size: 3rem;
    text-align: center;
    margin: 40px 0px;
}
.card a{
    text-decoration: none;
    font-size: 1.5rem;
    font-family: sana-serif;
    color: #fff;
    background: #cb3467;
    opacity: 90%;
    width: 220px;
    padding: 8px 0px;
    margin-top: 40px;
    text-align: center;
    border-radius: 10px;
}
.card a span{
    position: relative;
    width: 1.5rem;
    visibility: hidden;
}
.card a span:after{
    content: '\21D3';
    font-size: 1.5rem;
    position: absolute;
    padding-left: 8px;
    animation: down 1s linear infinite;
}

@keyframes down{
    from{
        top: -10px;
        opacity: 0;
    }
    top{
        top: 10px;
        opacity: 1;
    }
}
/* Responsive CSS */

@media screen and (max-width: 780px){
    .sidebar{
        display: none;
    }
    #sidebar_btn{
        display: none;
    }
    .content{
        margin-left: 0;
        margin-top: 0;
        padding: 10px 20px;
        transition: 0s;
    }
    #check:checked ~ .content{
        margin-left: 0;
    }
    .mobile_nav{
        display: block;
        width: calc(100% - 0%);
    }
    .nav_bar{
        background: #222;
        width: (100% - 0px);
        margin-top: 70px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
    }
    .nav_bar .mobile_profile_image{
        width: 50px;
        height: 50px;
        border-radius: 50%;
    }
    .nav_bar .nav_btn{
        color: #fff;
        font-size: 22px;
        cursor: pointer;
        transition: 0.5s;
        transition-property: color;
    }
    .nav_bar .nav_btn:hover{
        color: #19B3D3;
    }
    .mobile_nav_items{
        background: #2F323A;
        display: none;
    }
    .mobile_nav_items a{
        color: #fff;
        display: block;
        text-align: center;
        letter-spacing: 1px;
        line-height: 60px;
        text-decoration: none;
        box-sizing: border-box;
        transition: 0.5s;
        transition-property: background;
    }
    .mobile_nav_items a:hover{
        background: #19B3D3;
    }
    .mobile_nav_items i{
        padding-right: 10px;
    }
    .active{
        display: block;
    }
}


/* About Section */
#about{
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding: 20px;
    margin: 50px;
    padding-left: 15%;
    padding-right: 15%;
}
#pic{
    display: flex;
}
#pic img{
    width: 575px;
    height: 400px;
    border: 2px solid black;
    border-radius: 50%;
    opacity: 90%;
}
#intro{
    display: flex;
    flex-direction: column;
    text-align: justify;
    padding: 10px;
}
#intro h2{
    font-size: 2rem;
    margin-bottom: 20px;
}


/* Contact Section */
#contact{
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 20px;
}
.form{
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    align-items: center;
    margin: 20px 0px;
}
.input{
    padding: 12px;
    margin: 15px;
    width: 30%;
    border: none;
    outline: none;
}
#msg{
    width: 20%;
    padding: 10px;
    margin: 15px;
    border: none;
    outline: none;
}
#send{
    padding: 10px;
    width: 10%;
    font-size: 1.5rem;
    margin: 40px;
    font-family:serif;
    background-color: #2464ee;
    color: white;
    border-radius: 20px;
    border: none;
    outline: none;
}
#send:hover{
    cursor: pointer;
    box-shadow: 0 0 10px white;
}

/* Portfolio Section */
#portfolio{
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.9); 
    color: white;
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid rgba(255, 255, 255, 0.866);
}
.slider{
    width: 575px;
    height: 600px;
    border-radius: 10px;
    overflow: hidden;
}
.slides{
    width: 500%;
    height: 500px;
    display: flex;
}
.slides input{
    display: none;
}
.slide{
    width: 20%;
    transition: 2s;
}
.slide img{
    width: 575px;
    height: 600px;
}

/* css for manual slide navigation */

.navigation-manual{
    position: absolute;
    width: 550px;
    margin-top: 10px;
    display: flex;
    justify-content: center;
}
.manual-btn{
    border: 2px solid #FF00FF;
    padding: 5px;
    border-radius: 10px;
    cursor: pointer;
    transition: 1s;
}
.manual-btn:not(:last-child){
    margin-right: 30px;
}
.manual-btn:hover{
    background: #FF00FF;
}

#radio1:checked ~ .first{
    margin-left: 0;
}
#radio2:checked ~ .first{
    margin-left: -20%;
}
#radio3:checked ~ .first{
    margin-left: -40%;
}
#radio4:checked ~ .first{
    margin-left: -60%;
}

/* css for automatic navigation */


.navigation-auto{
    position: absolute;
    display: flex;
    width: 550px;
    margin-top: 510px;
    justify-content: center;
}

.navigation-auto div{
    border: 2px solid #FF00FF;
    padding: 5px;
    border-radius: 10px;
    transition: 1s;
}
.navigation-auto div:not(:last-child){
    margin-right: 30px;
}

#radio1:checked ~ .navigation-auto .auto-btn1{
    background: #FF00FF;
 
}
#radio2:checked ~ .navigation-auto .auto-btn2{
    background: #FF00FF;
    
}
#radio3:checked ~ .navigation-auto .auto-btn3{
    background: #FF00FF;
  
}
#radio4:checked ~ .navigation-auto .auto-btn4{
    background: #FF00FF;

}

/* Slide text */
/* footer section */
#footer{
    background-color: white;
}
.slidetext{
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    font-size: 15px;
    color: black;
}
.copyright{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

.social{
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.social a{
    height: 70px;
    width: 70px;
    background-color: #f5f6fa;
    border-radius: 50px;
    text-align: center;
    line-height: 79px;
    margin: 10px;
    box-sizing: 1px 4px 2px 2px;
}
.social a i{
    font-size: 28px;
    transition: all 0.3s linear;
}
.social a:hover i{
    transform: scale(1.4);
}
.fa-facebook{
    color: #0097e6;
}
.fa-instagram{
    color: #e84393;
}
.fa-youtube{
    color: #e84118;
}
