*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Georgia, 'Times New Roman', Times, serif;
    scroll-behavior: smooth;
   
}

body{
    background-color: #1f1e1e;
}


section{
    padding: 100px;
}

/*parallax background Homepage*/

.btn{
    padding: 30px;
    color: #ffffff;
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 2px solid rgb(255,255,255,0.18);
    background: linear-gradient(135deg, rgb(255,255,255,0.1), rgb(255,255,255,0));
    box-shadow: 0 8px 32px 0 rgb(0,0,0,0.37);
    font-weight: 900;

}

.btn:hover{
   background: #87878770;
}

.banner{
    position: relative;
    width: 100%;
    height: 100vh;
    padding: 0px;
    overflow: hidden;

    justify-content: space-between;
    background-position: center;
    min-height: 100vh;
    background-size: cover;
    align-items: center;
}

.banner h2{
    font-size: 3em;
    color: rgb(255, 255, 255);
    font-weight: 700;
    line-height: 1.5em;
    
}
.banner h3{
    margin-top: 40px;
    font-size: 1.5em;
    color: white;
    font-weight: 500;
}

.containerParallax{
    position: absolute;
    left: -10%;
    width: 120%;
    height: 100vh;
    background-color: #1f1e1e;
}

.containerParallax #scene .layer{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
}

.containerParallax #scene .layer .layerImg{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;

    
}


header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 40px 100px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.5s;
}
header.sticky{
    /*background: linear-gradient(to right, #e818a0, #fba574);*/
    background: #743b9f;
    padding: 20px 100px;
}
header .logo{
    color: white;
    font-size: 24px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 2px;
}
header.sticky .logo{
    color: white;
}
header ul{
    position: relative;
    display: flex;
    font-weight: bold;
}
header ul li{
    position: relative;
    list-style: none;
}
header ul li a{
    position: relative;
    display: inline-block;
    margin: 0 15px;
    color: white;
    text-decoration: none;
}

/*about*/

.about{
    background-color: #151515;
}

.heading{
    color: white;
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
}
.heading h2{
    font-weight: 600;
    font-size: 30px;
    margin-bottom: 20px;
}

.contentBox{
    padding-right: 30px;
    color: white;
    
}
.contentBox h3{
    font-size: 24px;
    margin-bottom: 10px;
}


/*skillls*/
.custom{
    max-width: 1024px;
    display: grid;
    grid-template-columns: 100%;
    column-gap: 2rem;
    width: calc(100%-2rem);
    margin-left: 1rem;
    margin-right: 1rem;
}

.wrapper{
    row-gap: 2rem;
      color: white;
}

.sectionHeader{
    text-align: center;
    margin-bottom: 60px;
}

.sectionHeader h2{
    font-weight: 600;
    font-size: 30px;
    margin-bottom: 20px;
    color: white;
    padding-top: 100px;
}

.skillset{
    text-align: center;
}

.titleArea{
    font-size: 25px;
    text-transform: uppercase;
    color: white;
    margin-bottom: 50px;
}

.linearArea{
    position: relative;
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.topic{
    text-transform: uppercase;
    color: white;
    font-weight: 700;
    margin-bottom: 20px;
}

.percent{
    color: white;
    font-weight: 700;
}

.bar{
    position: absolute;
    bottom: -0.75rem;
    height: 0.75rem;
    background: linear-gradient(45deg, #743b9f, #b880e2);
    border-radius: 50px;
    
}

.bar-1{width: 50%;}
.bar-2{width: 65%;}
.bar-3{width: 35%;}
.bar-4{width: 25%;}
.bar-5{width: 70%;}
.bar-6{width: 50%;}
.bar-7{width: 20%;}
.bar-8{width: 20%;}

@media screen and (min-width: 786px){
    .wrapper{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 1024px){
    .custom{
        margin-left: auto;
        margin-right: auto;
    }
}



/*private section*/

.private{
    background-color: #151515;
}

.private a{
    color: #b880e2;
    text-decoration: none;
    
}

.heading.white{
    color: white;
}

.card{
    display: grid;
    grid-template-columns: 300px;
    grid-template-rows: 210px 210px 80px;
    grid-template-areas: "image" "text";

    font-family: 'Courier New', Courier, monospace;
    text-align: center;
}

.cardImage{
    grid-area: image;
    border-radius: 15px;
    background-size: cover;
    width: 120px;
    height: 110px;
}

.cardText{
    grid-area: text;
    margin: 25px;
    text-align: justify;
    line-height: 22px;
}
.cardText h2{
    text-align: center;
}

.private .card{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: row;

}

.private .card .cardBox{
    padding: 40px 20px;
    
    background: linear-gradient(135deg, rgb(255,255,255,0.1), rgb(255,255,255,0));
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 2px solid rgb(255,255,255,0.18);

    color: white;
    max-width: 340px;
    margin: 40px;
    text-align: center;
    transition: 0.5s;
    box-shadow: 0 8px 32px 0 rgb(0,0,0,0.37);
}

.private .card .cardBox a{
    color: white;
    text-decoration: none;
    cursor: pointer;
}

.private .card .cardBox:hover{
    background: #87878770;
      
}
.private .card .cardBox img{
    max-width: 130px;
}
.private .card .cardBox h2{
    font-size: 20px;
    font-weight: 600;
    padding-top: 10px;
    padding-bottom: 20px;
}





/*cards effects in Project section*/
.environ{
    background-color: #1f1e1e;
    background-image: url(../media/img/ParallaxHomePage/contact.jpg);
    
}

.heading.white{
    color: white;
}

.card{
    display: grid;
    grid-template-columns: 300px;
    grid-template-rows: 210px 210px 80px;
    grid-template-areas: "image" "text";

    font-family: 'Courier New', Courier, monospace;
    text-align: center;
}

.cardImage{
    grid-area: image;
    border-radius: 15px;
    background-size: cover;
    width: 120px;
    height: 110px;
}

.cardText{
    grid-area: text;
    margin: 25px;
    text-align: justify;
    line-height: 22px;
    color: white;
}
.cardText h2{
    text-align: center;
    color: white;
}


.environ .card{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: row;

}

.environ .card .cardBox{
    padding: 40px 20px;
    
    background: linear-gradient(135deg, rgb(255,255,255,0.1), rgb(255,255,255,0));
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 2px solid rgb(255,255,255,0.18);

    color: white;
    max-width: 340px;
    margin: 40px;
    text-align: center;
    transition: 0.5s;
    box-shadow: 0 8px 32px 0 rgb(0,0,0,0.37);
}

.environ .card .cardBox a{
    color: #b880e2;
    text-decoration: none;
    cursor: pointer;
}

.environ .card .cardBox:hover{
    background: #87878770;
      
}
.environ .card .cardBox img{
    max-width: 130px;
}
.environ .card .cardBox h2{
    font-size: 20px;
    font-weight: 600;
    padding-top: 10px;
    padding-bottom: 20px;
}


/*contact*/
.contact{
  background: #1f1e1e; 
  background-image: url(../media/img/ParallaxHomePage/contact.jpg); 
}
.contactInfo{
    min-width: 40%;
}
.contactInfo h3{
    color: white;
    font-size: 20px;
    
    margin-bottom: 20px;
    font-weight: 900;
}
.contactInfo h2{
    color: white;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 10px;
}
.contactInfoBox{
    position: relative;
}
.contactInfoBox .box{
    color: white; 
    margin-bottom: 20px;  
}

.text .socialmedia{
    color: #b880e2;
    text-decoration: none;
    font-weight: bold;
}

.contact .cardText{
    text-align: center;
}


.contact .card{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: row;

}

.contact .card .cardBox{
    padding: 40px 20px;
    
    background: linear-gradient(135deg, rgb(255,255,255,0.1), rgb(255,255,255,0));
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 2px solid rgb(255,255,255,0.18);

    color: white;
    max-width: 340px;
    margin: 40px;
    text-align: center;
    transition: 0.5s;
    box-shadow: 0 8px 32px 0 rgb(0,0,0,0.37);
}

.contact .card .cardBox a{
    color: #b880e2;
    text-decoration: none;
    cursor: pointer;
    font-weight: 900;
}

.contact .card .cardBox:hover{
    background: #87878770;
      
}

.contact .card .cardBox img{
    max-width: 245px;
}
.contact .card .cardBox h2{
    font-size: 20px;
    font-weight: 600;
    padding-top: 10px;
    padding-bottom: 20px;
}





/*Code for responsive behaviour*/
@media (max-width: 991px){
    header,
    header.sticky{
        padding: 20px 50px;
        z-index: 1000;
    }
    .menu{
        position: fixed;
        top: 75px;
        left: -100%;
        display: block;
        padding: 100px 50px;
        text-align: center;
        width: 100%;
        height: 100%;
        background: white;
        transition: 0.5s;
        z-index:999 ;
        border-top: 1px solid rgba(0,0,0,0.2);
    }
    .menu.active{
        left: 0;
        
    }
    header ul li a{
        color: #111;
        padding: 10px;
    }
    .toggle{
        width: 40px;
        height: 40px;
        background: url(../media/img/burgermenu.png);
        background-position: center;
        background-repeat: no-repeat;
        background-size: 30px;
        cursor: pointer;

    }
    .toggle.active{
        background: url(../media/img/close.png);
        background-position: center;
        background-repeat: no-repeat;
        background-size: 25px;
        cursor: pointer
    }
 
    section{
        padding: 100px 50px;
    }


    .banner{
        padding: 80px 0px 100px;
    }
    .banner h2{
        font-size:1.5em ;
    }
    .banner h3{
        font-size:1em ;
    }



    .btn{
        margin-top: 10px;
        padding: 10px 20px;
        font-size: 16px;
    }
    .heading h2{
        font-size: 24px;
    }
    .contentBox h3{
        font-size: 20px;
    }
    .content{
        flex-direction: column;
    }
    .w50{
        margin-bottom: 20px;
    }
    .university .content .universityBox{
        margin: 10px;
    }
    .comic .content .comicBox{
        width: 100%;
        padding: 10px;
    }
    .artGallery .content .projectBox{
        max-width: calc(100% - 20px);
        padding: 40px 20px;
        margin: 10px;
        background: rgb(42, 42, 42);
    }
    .artGallery .content .projectBox h3{
        margin-top: 20px;
    }
}

@media (max-width: 600px){
    header,
    header.sticky{
        padding: 20px 20px;
        z-index: 1000;
    }



    .banner{
        padding: 80px 0px 100px;
        
    }


    section{
        padding: 100px 20px;
    }
}
