/* set the default value of the page */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: none;
    outline: none;
    scroll-behavior: smooth;
}

/* preloader Css */
/* .loader-wrapper {
    --line-width: 5px;
    --curtain-color: #120d34;
    --outer-line-color: #a8dadc;
    --middle-line-color: yellow;
    --inner-line-color: #ff004f;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index:1000;
  }
  
  .loader {
    display:block;
    position: relative;
    top:50%;
    left:50%;
  /*   transform: translate(-50%, -50%); */
/*     width:150px;
    height:150px;
    margin:-75px 0 0 -75px;
    border:var(--line-width) solid transparent;
    border-top-color: var(--outer-line-color);
    border-radius:100%;
    -webkit-animation: spin 2s linear infinite;
            animation: spin 2s linear infinite;
    z-index:1001;
  }
  
  .loader:before {
    content:"";
    position: absolute;
    top:4px;
    left:4px;
    right:4px;
    bottom:4px;
    border:var(--line-width) solid transparent;
    border-top-color: var(--inner-line-color);
    border-radius:100%;
    -webkit-animation: spin 3s linear infinite;
            animation: spin 3s linear infinite;
  }
  
  .loader:after {
    content:"";
    position: absolute;
    top:14px;
    left:14px;
    right:14px;
    bottom:14px;
    border:var(--line-width) solid transparent;
    border-top-color: var(--middle-line-color);
    border-radius:100%;
    -webkit-animation: spin 1.5s linear infinite;
            animation: spin 1.5s linear infinite;
  }
  
  @-webkit-keyframes spin {
    0%   { 
      -webkit-transform: rotate(0deg); 
        -ms-transform: rotate(0deg); 
            transform: rotate(0deg);
    }
    100% { 
      -webkit-transform: rotate(360deg); 
        -ms-transform: rotate(360deg); 
            transform: rotate(360deg);
    }
  }
  @keyframes spin {
    0%   { 
      -webkit-transform: rotate(0deg); 
        -ms-transform: rotate(0deg); 
            transform: rotate(0deg);
    }
    100% { 
      -webkit-transform: rotate(360deg); 
        -ms-transform: rotate(360deg); 
            transform: rotate(360deg);
    }
  }
  
  .loader-wrapper .loader-section {
    position:fixed;
    top:0;
    background:var(--curtain-color);
    width:51%;
    height:100%;
    z-index:1000;
  }
  
  .loader-wrapper .loader-section.section-left {
    left:0
  }
  .loader-wrapper .loader-section.section-right {
    right:0;
  }
  
  /* Loaded Styles */ 
/*   .loaded .loader-wrapper .loader-section.section-left {
    transform: translateX(-100%);
    transition: all 0.7s 0.3s cubic-bezier(0.645,0.045,0.355,1.000);
  }
  .loaded .loader-wrapper .loader-section.section-right {
    transform: translateX(100%);
    transition: all 0.7s 0.3s cubic-bezier(0.645,0.045,0.355,1.000);
  }
  .loaded .loader {
    opacity: 0;
    transition: all 0.3s ease-out;
  }
  .loaded .loader-wrapper {
    visibility: hidden;
    transform:translateY(-100%);
    transition: all .3s 1s ease-out;
  }   */

/* ################################################################ Preloader Css ############################################################## */

.loader {
    left: 50%;
    top: 50%;
    width: 100px;
    height: 100px;
    position: fixed;
}

.loader .loader-inner-1,
.loader .loader-inner-2,
.loader .loader-inner-3,
.loader .loader-inner-4 {
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 20px;
    position: absolute;
}

.loader .loader-inner-1:before,
.loader .loader-inner-2:before,
.loader .loader-inner-3:before,
.loader .loader-inner-4:before {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 20px;
    position: absolute;
    right: 0;
    animation-name: loading-1;
    animation-iteration-count: infinite;
    animation-direction: normal;
    animation-duration: 2s;
}

.loader .loader-inner-1 {
    top: 0;
    left: 0;
    transform: rotate(70deg);
}

.loader .loader-inner-1:before {
    background: #06aed5;
}

.loader .loader-inner-2 {
    top: 0;
    right: 0;
    transform: rotate(160deg);
}

.loader .loader-inner-2:before {
    background: #ec008c;
}

.loader .loader-inner-3 {
    bottom: 0;
    right: 0;
    transform: rotate(-110deg);
}

.loader .loader-inner-3:before {
    background: #ffbf00;
}

.loader .loader-inner-4 {
    bottom: 0;
    left: 0;
    transform: rotate(-20deg);
}

.loader .loader-inner-4:before {
    background: #079c00;
}

@keyframes loading-1 {
    0% {
        width: 20px;
        right: 0;
    }

    30% {
        width: 120px;
        right: -100px;
    }

    60% {
        width: 20px;
        right: -100px;
    }
}

.main-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color:var(--bg-color); /* Adjust as needed */
    opacity: 0; /* Initially hidden */
    transition: opacity 1s ease-in; /* Apply transition */
}

.main-content.show {
    opacity: 1; /* Opacity set to 1 to make it visible */
}

.loaded .loader-wrapper .loader-section.section-left {
    transform: translateX(-100%);
    transition: all 0.7s 0.3s cubic-bezier(0.645,0.045,0.355,1.000);
  }
  .loaded .loader-wrapper .loader-section.section-right {
    transform: translateX(100%);
    transition: all 0.7s 0.3s cubic-bezier(0.645,0.045,0.355,1.000);
  }
  .loaded .loader {
    opacity: 0;
    transition: all 0.3s ease-out;
  }
  .loaded .loader-wrapper {
    visibility: hidden;
    transform:translateY(-100%);
    transition: all .3s 1s ease-out;
  }

/* set the color in the root such that we can use same color in all over page */
:root {
    --bg-color: #030111;
    --new-color: #120d34;
    --text-color: #fdfdfd;
    --main-color: #ff004f;
    --white-color: #fdfdfd;
    --shadow-color: rgba(0, 0, 0, 0.3);
    /* #45A29E;  */
}
.darkmode{
    --bg-color: #CFD8DC;
    --text-color:  #120202;
    --main-color:#2982f7;
    --white-color: #fdffe0;
    --shadow-color: rgba(252, 252, 252, 0.3);
}
#menu{
    font-size: 2.6rem;
    color: var(--text-color);
    display: none;
}
body {
    background: var(--bg-color);
    color: var(--text-color);
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 7%;
    background: transparent;
    display: flex;
    text-align: center;
    z-index: 200;
    transition: all ease 0.3s;
}

.header.sticky {

    background-color: var(--bg-color);
    /* Change this to your desired sticky background color */
    box-shadow: 0 .1rem 1rem var(--main-color);
    /* Add a shadow if desired */
    height: 80px;
   

}

.logo {
    text-decoration: none;
    margin-right: auto;
    /* This pushes the logo to the right side of the header. */
    font-size: 28.5px;
    color: var(--text-color);
    font-weight: 600;
    font-family: 'Abril Fatface', serif;
font-family: 'Audiowide', sans-serif;
font-family: 'Kanit', sans-serif;
font-family: 'Pacifico', cursive;
font-family: 'Proza Libre', sans-serif;
font-family: 'Roboto', sans-serif;
font-family: 'Stick No Bills', sans-serif;
font-family: 'Young Serif', serif;

    margin-top: -17px;
}
.logo span{
    color: var(--main-color);
    font-size: 42.5px;
}
.navbar a {
    text-decoration: none;
    font-size: 22.5px;
    color: var(--text-color);
    font-weight: 300;
    margin-right: 1.5rem;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    text-shadow: 0 0 30px var(--text-color);
    position: relative;
}
.header.sticky .navbar a {
    color: var(--text-color)
}
.header.sticky .navbar a.active{
    color: var(--main-color);

}
.navbar a.active::before{
    content: '';
    position: absolute;
    width: 100%;
    height: .2rem;
    background:var(--white-color);
    left: 0;
    bottom: -6px;
}
.header .sticky .navbar a::before{
    background: var(--main-color);
    opacity: .7;
}

#darkmode{
    font-size: 22.5px;
    color: var(--text-color);
    cursor: pointer;
}
.header .sticky #darkmode{
    color:var(--text-color);
    opacity: 0.9;
}

section {
    min-height: 100vh;
    /*set this height for all section*/
    padding: 10rem 5% 2rem;
}

.home {
    display: flex;
    /* border: 2px solid red; */
    align-items: center;
    /* border: 2px solid yellow; */
}

.content h3 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.9;
    font-family: "Poppins", sans-serif;
}

.content h1 {
    font-size: 2.8rem;
    font: 400;
    color: var(--main-color);
    font-family: 'Audiowide', cursive;
    text-shadow: 0 0 30px var(--main-color);
}

.content p {
    /* font-family: 'Merienda', cursive; */
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 1.4rem;
    max-width: 630px;
    margin-top: 2.5rem;
}

.content .social-icon a
 {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 3.5rem;
    height: 3.5rem;
    background: transparent;
    border: .2rem solid var(--main-color);
    border-radius: 50%;
    box-shadow: 0 .2rem .5rem var(--shadow-color);
    font-size: 1.5rem;
    color: var(--main-color);
    margin: 2.5rem 1.5rem 3rem 0;
    text-decoration: none;
    transition: all ease 1s;
}

.content .social-icon a:hover {
    background: var(--main-color);
    color: var(--text-color);
    cursor: pointer;
    transform: scale(1.1);
    box-shadow: 0 0 30px var(--main-color);
    /* box-shadow:  0 0 5px var(--main-color), 0 0 5px var(--main-color), 0 0 10px var(--main-color), 0 0 20px var(--main-color), 0 0 10px var(--main-color), 0 0 10px var(--main-color), 0 0 10px var(--main-color); */
}

.btn {
    display: inline-block;
    padding: 1.0rem 2.3rem;
    text-decoration: none;
    background: var(--main-color);
    /* border-radius: 0.2rem .5rem v; */
    border-radius: .6rem;
    width: 300px;
    height: 55px;
    /* width: 290px; */
}

.parent {
    position: relative;
    /* border: 2px solid red; */
    display: inline-block;
    overflow: hidden;
    width: 320px;
    height: 63px;

}

.bottom i {
    font-size: 38px;
}

.bottom {
    position: absolute;
    height: 80%;
    bottom: -80%;
    left: 120px;
    /* border: 2px solid red; */
    color: white;
    transition: all ease 0.5s;
}

.parent:hover .bottom {
    bottom: 0;
}

.parent:hover h5 {
    display: none;

}

.parent h5 {
    position: absolute;
    top: 0px;
    color: var(--white-color);
    font-size: 1.6rem;
    letter-spacing: .1rem;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    left: 25px;
    top: 8px;
}

.home .passion-container {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 740px;
    height: 740px;
    /* background: red; */
    overflow: hidden;
    pointer-events: none;
}

.home .passion-container .passion-box {
    position: absolute;
    top: 0;
    right: 0;
    width: 740px;
    height: 740px;
    /* background-color: yellow; */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: passionRotate 13s ease-out infinite;
}

@keyframes passionRotate {

    0%,
    20% {
        transform: rotate(0deg);
    }

    25%,
    45% {
        transform: rotate(-90deg);
    }

    50%,
    70% {
        transform: rotate(-180deg);
    }

    75%,
    95% {
        transform: rotate(-270deg);
    }

    100% {
        transform: rotate(-360deg);
    }

}

.home .passion-box .passion {
    position: absolute;
    left: 0;
    display: flex;
    align-items: center;
    flex-direction: column;
    color: var(--main-color);
    transform: rotate(calc(360deg/4 * var(--i)));
    transform-origin: 369px;
    background: var(--bg-color);
    /* */
    padding: 13px 0;
}

.home .passion-box .passion:nth-child(1) i {
    margin-right: 38px;
}

.home .passion-box .passion:nth-child(5) h3 {
    margin-left: 18px;
}

.home .passion i {
    font-size: 3.0rem;
}

.home .passion i h3 {
    font-size: 3.2rem;
    line-height: 1;
    font-weight: 600;
}

.passion h3 {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 22px;
    color: var(--text-color);
}

.home .circle {
    width: 610px;
    height: 610px;
    /* background: red; */
    border: 3px solid var(--main-color);
    border-radius: 50%;
    z-index: -1;
}

.home .overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-top: 370px solid var(--main-color);
    border-right: 370px solid var(--main-color);
    border-left: 370px solid transparent;
    border-bottom: 370px solid var(--main-color);
}

.my-img img {
    position: absolute;
    display: block;
    bottom: 0;
    right: 0;
    padding-left: 290px;
    width: 68%;
    height: 85%;
    pointer-events: none;
   
    /* border: 2px solid red; */
}

.my-img {
    /* overflow: hidden; */
    /* border: 2px solid red; */
    display: inline-block;

}

/*------------------------------------------------------------ ABOUT SECTION -----------------------------------------------------------*/
#about {
    /* border: 2px solid red; */
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    /* background: var(--new-color); */
    /* width: 300vh; */
    /* height: 80vh; */
    /* border: 2px solid red; */
}

#about h1 {
    display: inline-block;
    /* border: 2px solid red; */
    font-size: 67px;
    margin-bottom: 10px;
    font-family: 'Abril Fatface', cursive;
    margin-top: -60px;
    /* text-shadow: 0 0 30px var(--text-color); */
}

#about h1 span {
    color: var(--main-color);
}

.mainabout {
    /* border: 2px solid red; */
    /* margin-top: -20px; */
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    height: 100%;
    padding: 10px;

}

.mainabout .aboutphoto {
    /* border: 2px solid green; */
    height: 350px;
    width: 500px;
    /* background: red; */
    /* position: absolute; */
    /* top: -20%; */
    margin-top: -200px;

    /* top: 20%; */
    /* left: 30%; */
}

.aboutphoto .glowingcircle {
    width: 100%;
    height: 100%;
    /* background: yellow; */
    border-radius: 50%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float 4s infinite;
}

.aboutphoto .glowingcircle::after {
    content: '';
    position: absolute;
    height: 335px;
    width: 335px;
    /* background:var(--bg-color); */
    border-radius: 50%;
}

.glowingcircle .aboutimage {
    position: relative;
    width: 335px;
    height: 335px;
    /* background: red; */
    z-index: 1;
    border-radius: 50%;
    overflow: hidden;
}

.glowingcircle span {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(var(--main-color), var(--text-color));
    border-radius: 50%;
    animation: circlerotate 5s linear infinite;
}

.glowingcircle span:nth-child(1) {
    filter: blur(10px);
}


.aboutimage img {
    max-width: 335px;
    object-fit: cover;
    position: absolute;
    object-fit: cover;
    /* left: 8%; */
}

.mainabout .abouttext {
    /* border: 2px solid yellow; */
    height: 800px;
    width: 100%;
}

.abouttext {
    /* display: flex; */
    /* flex-wrap: wrap; */
    padding: 40px;
}

.firsttext {
    text-align: center;
    justify-content: center;
    align-items: center;
    /* margin: 10px; */
    font-size: 33px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;

}

.secondtext {
    /* border: 2px solid palevioletred; */
    margin: 20px;
    text-align: center;
    justify-content: center;
    align-items: center;
    font-size: 23px;
    /* display: inline-block; */
    font-family: 'Audiowide', cursive;
}

.aboutpara p {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 22px;
    padding: 0px 50px;
}

.secondtext span {
    color: var(--main-color);
    text-shadow: 0 0 30px var(--main-color);
}
.abouttext .parent {
    left: 30%;
    top: 30px;
}

.education-section {
    /* border: 2px solid red; */
    position: relative;

}

.education-section h1 {
    /* border: 2px solid red; */
    position: relative;
    top: -120px;
    left: 24%;
}





















@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
        /* Adjust the floating height as needed */
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes circlerotate {
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(360deg);
    }

}



.experience {
    padding: 50px 0;
    overflow-x: hidden;
    margin-top: -100px;
}

.experience .content {
    text-align: center;
    left: 100px;
    position: relative;
}

.experience .content h1 {
    font-size: 2em;
    color: #fff;
}

.experience .content ul {
    padding: 50px 0;
    list-style-type: none;
}

.experience .content ul li {
    background: #f9f9f9;
    position: relative;
    margin-left: 20px;
    width: 5px;
    padding-bottom: 40px;
}

.experience .content ul li:last-child {
    padding-bottom: 7px;
}

.experience .content ul li:before {
    content: "";
    background: var(--main-color);
    position: absolute;
    left: 50%;
    top: 0;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border: 4px solid #f9f9f9;
}

.emperience img {
    border-radius: 50%;
    box-shadow: 0 0 5px #ffa500;
}
.experience-content img{
    box-shadow: 5px 5px 10px #888888;
}
.experience .content ul li .hidden {
    opacity: 0;
    margin-left: 10vw;
}

.experience .content ul li .experience-content {
    background: #f9f9f9;
    box-shadow: inset 0 0 30px var(--main-color);
    position: relative;
    top: 7px;
    left: 48px;
    width: 500px;
    padding: 20px;
    text-align: center;
    -webkit-border-radius: 0 5px 5px;
    -moz-border-radius: 0 5px 5px;
    border-radius: 0 5px 5px;

    /* left: -67px; */

}

.experience .content ul li .experience-content h2 {
    font-size: 1.5em;
    color: #3c3c3c;
    padding-bottom: 10px;
    font-family: 'Audiowide', cursive;
}

.experience img {
    clip-path: circle(40%);
    box-shadow: 0 0 30px var(--main-color);
    filter: blur();
}

.experience .content ul li .experience-content .experience-time {
    color: var(--text-color);
    background-color: #199264;

    border-radius: 6px;
    height: 20px;
    /* width: 190px; */
    width: 80%;
    text-align: center;
    justify-content: center;
    display: inline-block;
    align-items: center;
    font-size: 1.1em;
    padding-bottom: 10px;
}

.experience .content ul li .experience-content p {
    color: #1a1a1a;
    font-size: 0.95em;
}

.experience .content ul li .experience-content:before {
    content: "";
    background: #f9f9f9;
    position: absolute;
    top: 0;
    left: -35px;
    width: 35px;
    height: 5px;
}

.experience {
    /* border: 2px solid red; */
    width: 800px;
}

/*--------------------------------------------------- skill section------------------------------------------------------------------------------- */
#skill {
    position: relative;

}

#skill h1 {
    margin-bottom: 20px;
}

.mainphoto {
    align-items: center;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    min-height: 100vh;

}

.mainphoto h1 {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    display: inline-block;
    font-size: 56px;
    text-decoration: dotted;


}

.mainskill-container {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    margin: auto;
    /* border: 2px solid yellow; */
    width: 80%;
    height: 73vh;
    align-items: center;
    justify-content: space-between;
}

.box {
    position: relative;
    margin: 50px;
}

.box .text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.box .text h2 {
    font-size: 38px;
    font-weight: 400;
    letter-spacing: 1px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: var(--text-color);
}

.box .text small {
    font-size: 18px;
    display: block;
    color: var(--text-color);
}

.circle {
    width: 110px;
    height: 110px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 50px;
    /* border: 2px solid red; */
    font-weight: 600;
    color: var(--text-color);
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 22px;
    position: relative;
    z-index: 1;
}

.circle .points {
    width: 3px;
    height: 15px;
    background: #0007;
    position: absolute;
    border-radius: 3px;
    transform: rotate(calc(var(--i)*var(--rot))) translateY(-100px);

}

.points.marked {
    animation: glow 0.04s linear forwards;
    animation-delay: calc(var(--i)*0.05s);
}
.mainphoto {
    margin-top: 0px;
}

.container {
    display: flex;
    width: 90vw;
    margin-top: 12px;
}

.panel {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 73vh;
    width: 58vh;
    border-radius: 50px;
    flex: 0.5;
    position: relative;
    transition: flex 0.5s ease-in;
    color: #fff;
    cursor: pointer;
    margin: 10px;
    filter: grayscale(100%);
    box-shadow: 0 0 5px var(--text-color);

}

.panel h3 {
    position: absolute;
    font-size: 20px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    bottom: 20px;
    left: 20px;
    opacity: 0;
    color: white;
    text-shadow: 0 0 5px #ffa500, 0 0 15px #ffa500, 0 0 20px #ffa500, 0 0 40px #ffa500, 0 0 60px #ff0000, 0 0 10px #ff8d00, 0 0 98px #ff0000;
}

.panel.active {
    flex: 1;
    filter: grayscale(0%);
}

.panel.active h3 {
    opacity: 1;
    transition: opacity 0.4s ease-in 0.4s;
}

@media(max-width:480px) {
    .container {
        width: 100vw;
    }

    .panel:nth-of-type(4),
    .panel:nth-of-type(5) {
        display: none;
    }
}
@keyframes glow {
    0% {
        background: #0007;
        box-shadow: none;
    }

    100% {
        background: var(--bgColor);
        box-shadow: 0 0 10px var(--bgColor);
    }
}
/*##################################################### Project section ######################################################################## */
.projectdiv{
    border: 2px solid red;
    height: 80vh;
    justify-content: center;
    display: flex;
}

.mywork h2 {
	margin-bottom: 4rem;
}
.mywork{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.mywork-container {
	display:flex;
    width: 100%;
	/* grid-template-columns: repeat(3, 5fr); */
	align-items: center;
    justify-content: center;
    flex-wrap: wrap;
	gap: 5.0rem;
    
    margin-top: 42px;
}
.mywork-container .mywork-box {
	position: relative;
	border-radius: 2rem;
	box-shadow: 0 0 1rem var(--bg-color);
	overflow: hidden;
	display: flex;
}




.book {
    position: relative;
    
    border-radius: 10px;
    width: 360px;
    height: 350px;
    background-color: whitesmoke;
    -webkit-box-shadow: 1px 1px 12px #000;
    box-shadow: 1px 1px 12px #000;
    -webkit-transform: preserve-3d;
    -ms-transform: preserve-3d;
    transform: preserve-3d;
    -webkit-perspective: 2000px;
    perspective: 2000px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: #000;
    box-shadow: inset 0 0 30px var(--main-color);
    
  }
  
  .cover {
    top: 0;
    position: absolute;
    /* position: relative; */
    background-position: cover;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    cursor: pointer;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    -webkit-transform-origin: 0;
    -ms-transform-origin: 0;
    transform-origin: 0;
    -webkit-box-shadow: 1px 1px 12px #000;
    box-shadow: 1px 1px 12px #000;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
  .cover img  {
    height: 100%;
    width: 100%;
  }
  .cover-heading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white; /* Change the color as needed */
    text-align: center;
    font-size: 24px; /* Adjust font size as needed */
    font-family: 'Young Serif', serif;
    background-color:var(--main-color);
    height: 50px;
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cover-border{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white; /* Change the color as needed */
    text-align: center;
    height: 90%;
    width: 90%;
    border: 6px solid white;
    border-radius: 9px;

}
  .book:hover .cover {
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    -webkit-transform: rotatey(-80deg);
    -ms-transform: rotatey(-80deg);
    transform: rotatey(-80deg);
  }
  
  p {
    font-size: 20px;
    font-weight: bolder;
  }



.mywork-box img {
	width: 100%;
	height: 23rem;
	transition: .5s ease;
}
.mywork-box:hover img {
	transform: scale(1.1);
}
.mywork-box .mywork-layer {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 80%;
	/* background: linear-gradient(rgba(0, 0, 0, .1), var(--main-color)); */
	display: flex;
	justify-content: center;
	flex-direction: column;
	text-align: center;
	padding: 0 4rem;
	transform: translateY(110%);
	transition: .5s ease;
    /* border: 2px solid red; */
}
.mywork-box:hover .mywork-layer {
	transform: translateY(-10%);
}
.mywork-layer h4 {
	font-size: 1.4rem;
    font-weight: 600;
	/* filter: drop-shadow(0px 0px 4px #000); */
    color: var(--main-color);
    font-family: 'Young Serif', serif;
    

}
.mywork-layer p {
	font-size: 1.2rem;
	margin: .3rem 0 1rem;
	filter: drop-shadow(0px 0px 4px #000);
    color: var(--white-color);
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    /* border: 2px solid yellow; */
}
.mywork-layer a {
	display: flex;
	justify-content: center;
	align-items: center;
	/* margin-left: 37%; */
	width: 4rem;
	height: 4rem;
	background: rgba(0, 0, 0, 0.3);
	border-radius: 50%;
    background: var(--main-color);
    color: var(--white-color);
    border: 0.2rem solid var(--main-color);
    box-shadow: 0 0.2rem 0.5rem var(--main-color);
    /* border: 2px solid yellow; */
    /* background-image: radial-gradient( circle at 50% 50%, #379ad6a0 0%, transparent ); */
}

.mywork-layer a i {
	font-size: 1.5rem;
	color: var(--inner-line-color);
    /* border: 2px solid yellow; */
}
.used_skills {
    width:100%;
    height: 100%;
    /* border: 2px solid yellow; */
    display: flex;
    justify-content: center;
    align-items: center;
}
.used_skills img {
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	border-style: double;
	margin-top: 1rem;
	margin-left: 1rem;
    
}
.show_more button {
	display: inline-block;
	padding: 1rem 2.8rem;
	background: var(--main-color);
	border-radius: 4rem;
	margin-left: 43%;
	margin-top: 3rem;
	box-shadow: 0 0 1rem var(--main-color);
	font-size: 1.6rem;
	color: var(--white-color);
	letter-spacing: .1rem;
	font-weight: 600;
	transition: .5s ease;
    border-radius: 22px;
}
.link{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 10%;
    /* border: 2px solid red; */
    background: rgba(255, 255, 255, 0.3);
    border-radius: 12px;
}
.show_more button:hover {
	box-shadow: none;
}
@media (max-width: 617px) {
	.mywork-container {
		grid-template-columns: 1fr;
	}
	.skills .container {
		margin-left: 0px;
		margin-right: 0px;
		left: 0;
		width: 580px;
	}
	.skills .container .name {
		font-size: 10px;
	}
}
/*############################################## Contact section################################################################################ */
#contact .container{
    border: 2px solid var(--main-color);
    border-radius: 22px;
}
#contact .form-group{
    width: 800px;
    padding:20px;
    
}
.form-group h3{
    display: inline-block;
    margin-left: 30%;
    font-size: 34px;
    text-decoration: underline;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 37px;

    
}
.form-group .form-row{
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.form-group .form-row .col{
    position: relative;
    width: 100%;
    padding: 0 10px;
    margin: 30px 0px 10px;
    transition: 0.5s;
}
.form-group .form-row .inputbox,
.form-row .col  .textarea
{
    position: relative;
    width: 100%;
    height: 40px;
    color: var(--text-color);
}
.form-group .form-row .inputbox input,
.form-row .col  .textarea textarea
{
    position: absolute;
    width: 100%;
    height: 100%;
    background: transparent;
    font-size: 18px;
    padding: 0 10px;
    z-index: 1;
    outline: none;
    box-shadow: none;
    border: none;
    color: var(--text-color);
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 21px;

}
.form-group .form-row .text{
    position: absolute;
    top: 0;
    left: 0;
    line-height: 40px;
    display: block;
    transition: 0.5s;
    pointer-events: none;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 20px;
}
.form-group .form-row .text::after{
    content: '*';
    color: #ff0000;
    font-size: 23px;
}
.form-group .inputbox input:focus + .text,
.form-group .inputbox input:valid + .text{
    top: -35px;
    left: -10px;
}
.form-group .form-row .inputbox .line,
.form-row .col  .textarea .line{
    position: absolute;
    bottom: 0;
    display: block;
    width: 100%;
    height: 2px;
    background: var(--main-color);
    transition: 0.5s;
    border-radius: 2px;
    pointer-events: none;
}
.form-group .form-row .inputbox input:focus ~ .line,
.form-group .form-row .inputbox input:valid ~ .line{
    height: 100%;

}
 .form-row .col  .textarea{
    position: relative;
    width: 100%;
    height: 100px;
    padding: 10px 0;
}
 .form-row .col  .textarea textarea{
    height: 100%;
    resize: none;
}
.form-group .form-row  textarea:focus + .text,
.form-group .form-row  textarea:valid + .text{
    top: -35px;
    left: -10px;
}
.form-group .form-row  textarea:focus ~ .line,
.form-group .form-row  textarea:valid ~ .line{
    height: 100%;

}
.form-group .btn{
    color: var(--text-color);
    font-size: 20px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    margin-left: 30%;
    margin-top: 31px;
    width: 250px;
}
.address{
    width: 600px;
    display: flex;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
    background: var(--main-color);
    border-radius: 22px;
    
} 
.address h2{
    display: inline-block;
    font-size: 34px;
    text-decoration: underline;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: var(--text-color);
    font-weight: 600;
    margin-top: 20px;
}
.addressmain{
    display: flex;
    padding: 30px;
}
.addresssubmain{
    width: 400px;
    display: flex;
    flex-wrap: wrap;
    padding: 0px;
}
.addressmain .bx{
    font-size: 39px;
}
.addressmain h3{
    font-size: 23px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
.address .addresscontainer{
    width: 380px;
    height: 120px;
    padding: 30px;
}
.addressmain .addressicon{
    width: 100px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.addressboxicon{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 3.5rem;
    height: 3.5rem;
}
.addressboxicon a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 3.5rem;
    height: 3.5rem;
    background: transparent;
    border: .2rem solid var(--main-color);
    border-radius: 50%;
    box-shadow: .8rem .8rem .5rem var(--shadow-color),
    .8rem .8rem .5rem var(--shadow-color);
    font-size: 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    transition: all ease 1s;
}
.addressboxicon a:hover{
    box-shadow: 0 .2rem .10rem var(--shadow-color);
    transform: scale(1.2);
}
/* ############################################### footer section##################################################################################### */

footer{
    height: 10vh;
    background: var(--main-color);
    color: var(--text-color);
    display: flex;
    /* flex-wrap: wrap; */
    justify-content: space-between;
    align-items: center;
    padding: 2rem 7%;
}
footer .foottext{
    font-size: 20px;
    color: var(--text-color);
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    text-decoration: none;
    font-weight: 600;
}
.foottext i{
    font-size: 22px;
}
.foottext a{
    text-decoration: none;
    color: var(--text-color);
}
footer .uparrow i{
    font-size: 30px;
    color: var(--main-color);
    background-color: var(--text-color);
    border-radius: 8px;
    animation:shake 3s  infinite; 
}
@keyframes shake {
    0%, 100% {
      transform: translateX(0);
    }
    25% {
      transform: translateX(-5px);
    }
    50% {
      transform: translateX(5px);
    }
    75% {
      transform: translateX(-5px);
    }
  }
  
  
