*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Verdana', sans-serif;
    list-style: none;
}

body{
    background: rgba(84, 110, 255, 0.979);
    color:rgb(0, 0, 0);
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

#header{
    width: 100%;
    background:-moz-linear-gradient(0deg,rgb(18, 50, 196) 0%, rgb(42, 102, 231) 50%, rgb(71, 19, 214) 100%);
    background-size: cover;
    background-position: center;
}



.container{
    padding: 20px;
}

.container p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color:#fff;
    font-size: 20px;
    font-weight: 200px;
}

.index-container {
    position: relative;
}

nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
nav ul li{
    display: inline-block;
    list-style: none;
    margin: 5px 5px;
    position: relative;
}

nav ul li a{
    color:rgb(55, 212, 255);
    text-decoration:none;
    font-size: 18px;
}

nav ul li a::after{
    content: '' ;
    width: 0;
    height: 3px;
    background: orange;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;
}

nav ul li a:hover::after{
    width: 100%;
}


/*-----index------*/
.index-content{
    max-width: 800px;
}

.index-content h2{
    font-size: 80px;
    color: white;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.index-content h2 span{
    font-size: 80px;
    color:rgb(236, 126, 0);
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.index-content h3{
    font-size: 13px;
    color: white;
}

.index-content p{
    font-size: 18px;
    line-height: 1.2;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: white;
}





/*----------Carousel---------*/
.carousel {
    margin-top: 120px;
    max-width: 700px;
    display: flex;
    overflow: hidden;
    overflow-x: auto;
    padding: 20px 0;
    pointer-events: none;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.group {
    display: flex;
    width: max-content;
    animation: scroll 13s linear infinite;
    gap: 4px;
}

.card {
    flex: 0 0 auto;
    width: 300px;
    height: 500px;
    padding: 40px;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    border-radius: .2em;
    text-align: center;
    align-content: center;
    
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}


/*------------about------------*/
.about{
    width: 100%;
    min-height: 100vh;
    background: url(images/purple_blue_glowing_light_abstraction_4k_8k_hd_abstract-5120x2880.jpg);
    display: flex;
    align-items: center;
    gap: 10em;
    padding: 80px 10%;
}

.about-content{
    max-width: 800px;
}
.row{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.title {
    font-size: 76px;
    color:#fff;
    font-weight: 500;
    font-family: 'Gill Sans','Trebuchet MS', sans-serif;
}
.sub-title{
    font-size: 50px;
    color: rgb(255, 123, 0);
    font-weight: 500;
    font-family: 'Gill Sans','Trebuchet MS', sans-serif;
}

.caption{
    font-size: 20px;
    color:#ffffff;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif
}

.about-content h2{
    font-size: 80px;
    color: white;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
.about-content h2 span{
    font-size: 80px;
    color:rgb(236, 126, 0);
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
.about-content h3{
    font-size: 13px;
    color: white;
}
.about-content p{
    font-size: 18px;
    line-height: 1.2;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: white;
}
.about-img img{
    border-radius: 10%;
    width: 500px;
    padding: 10px;
}



/*----------Contact----------*/
.contact-left{
    flex-basis: 25%;
}
.contact-right{
    flex-basis: 50%;
}
.contact-left h2{
    font-size: 20px;
    color: white;
}
.contact-left p{
    margin-top: 30px;
    font-size: 20px;
    color: white;
}

.fa-envelope{
    color: orange
}
.social-icons{
    margin-top: 30px;
}
.social-icons a{
    text-decoration: none;
    font-size: 30px;
    color: rgb(59, 59, 58);
    margin-right: 15px;
    display: inline-block;
    transition: transform 0.5s;
}
.social-icons a:hover{
    color: yellow;
    transform: translateY(-5px);
}
.btn{
    display: block;
    background: orange;
    width: fit-content;
    border: 1px solid orange;
    padding: 14px 50px;
    border-radius: 6px;
    text-decoration: none;
    color: white;
}
.contact-right form {
    width: 100%;
}
form input, form textarea{
    width: 100%;
    border: 0px;
    outline: none;
    background: #262626;
    padding: 15px;
    margin: 15px 0;
    color: #fff;
    font-size: 18px;
    border-radius: 10px;
}
form .btn{
    padding: 14px 60px;
    font-size: 15px;
    margin-top: 20px;
    cursor: pointer
}

#msg{
    color: white;
    margin-top: 20px;
    display: block;
}

/*-----------Art-----------*/
.portfolio{
    padding: 50px 0;
}
.art-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 2fr));
    align-items: center;
    grid-gap: 2.5rem;
    margin-top: 30px;
}
.artwork{
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.artwork img{
    width: 100%;
    border-radius: 10px;
    display: block;
    transition: transform 0.5s;
}
.layer {
    width: 100%;
    height: 0.1;
    border-radius: 10px;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 40px;
    text-align: center;
    transition: height 0.5s;
}
.layer h5{
    font-size: 20px;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 20px;
    color: white;
}
.layer figcaption{
    font-size: 20px;
    line-height: 1.2;
    color: white;
}
.layer a{
    margin-top: 20px;
    color:rgb(250, 183, 58);
    text-decoration: none;
    font-size: 18px;
    line-height: 60px;
    background: white;
    width: 60px;
    height:60px;
    border-radius: 50%;
    text-align: center;
}
.layer i{
    color: var(--main-color);
    margin-top: 20px;
    font-size: 20px;
    background: var(--text-color);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
}
.artwork:hover img{
    transform: scale(1.025);
}

.content{
    background: var(--second-bg-color);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 2.5rem;
}

/*-------------css for small screen------------*/
@media only screen and (max-width: 600px){

   .about-content{
    margin-top: 100%;
    font-size: 30px;
   }
   .about-content h2{
    font-size: 30px;
   }
   .about-content h2 span{
    font-size: 30px;
   }
   .about-content p{
    font-size: 14px;
   }
   .sub-title{
    font-size: 90px;
   }
   .about-img img{
    border-radius: 30%;
    padding: 10px;
    width: 100px;

   }

}