@import url('https://fonts.googleapis.com/css2?family=Lobster&family=Poppins:wght@200;300;400;700&display=swap');
:root {
    --red: #E6122F;
    --white: #FFFFFF;
    --active: #D92525;
    --title : #8C031C;
    --text: #9c9999;
    --back-ground: #1F2024;
    --border: #bbb2bd;
    --main: rgb(241, 241, 241);
    --black: #000;
}
.dark-theme {
    --red: #E6122F;
    --white: #443f3f;
    --active: #D92525;
    --title : #D91807;
    --text: #fff6f6;
    --back-ground: #f5f6f7;
    --border: #F2F2F2;
    --main: rgb(39, 33, 33);
    --black: rgb(243, 234, 234);
}
body {
    line-height: 1.5;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    background-color: var(--white);
    cursor: none;
}
html {
    scroll-behavior: smooth;
}
* {
    margin: 0;
    padding: 0;
    outline: none;
    text-decoration: none;
    box-sizing: border-box;
}

.icon, .iconAside {
    margin-left: 20px;
    display: block;
    color: var(--back-ground);
    border-bottom: 1px solid var(--border);
    padding: 5px 15px;
}

::before, ::after {
    box-sizing: border-box;
}
ul {
    list-style: none;
}
.scrollBtn {
    font-size: 40px;
    position: fixed;
    z-index: 1002;
    bottom: 20px;
    text-align: end;
    width: 100vw;
    padding-right: 20px;
    color: var(--black);
}
/* Section */
section {
    min-height: 100vh;
    display: block;
    background-color: var(--main);
    padding: 0 30px;
    opacity: 1;
}
.main-content {
    padding-left: 270px;
}
.hidden {
    display: none !important;
}
.padd-15 {
    padding-left: 15px;
    padding-right: 15px;
}
.container {
    max-width: 1100px;
    width: 100%;
    margin: auto;
}
.section .container {
    padding-top: 60px;
    padding-bottom: 70px;
}
.section-title {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 60px;
}
.section-title h2 {
    font-size: 40px;
    font-weight: 700;
    color: var(--title);
    position: relative;
}
.section-title h2::before {
    content: '';
    height: 4px;
    width: 50px;
    background-color: var(--back-ground);
    position: absolute;
    top: 100%;
    left: 0;
}
.section-title h2::after {
    content: '';
    height: 4px;
    width: 25px;
    background-color: var(--back-ground);
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
}
.row {
    display: flex;
    flex-wrap: wrap;
    margin:0 -15px;
    position: relative;
}
.btn {
    font-size: 16px;
    font-weight: 500;
    padding: 12px 35px;
    border-radius: 40px;
    border: none;
    display: inline-block;
    white-space: nowrap;
    background-color: var(--active);
    color: white;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: scale(1.05);
}
.inner-cursor {
    position: fixed;
    left: 10px;
    width: 20px;
    height: 20px;
    transform: translate(-50%, -50%);
    background-color: var(--text);
    mix-blend-mode: difference;
    border-radius: 50%;
    pointer-events: none;
    transition: width 0.5s, height 0.5s;
    z-index: 100;
}
.inner-cursor.grow {
    width: 35px;
    height: 35px;
    transition: width 0.5s, height 0.5s;
    z-index: 100;
}
/* Aside */
.aside {
    width: 270px;
    position: fixed;
    left: 0;
    top: 0;
    padding: 30px;
    height: 100%;
    border-right: 1px solid var(--border);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.logo img{
    width: 5rem;
    position: absolute;
    top: 50px;
}
.logo-mobile img {
    width: 5rem;
}
.mobile-nav {
    background-color: var(--main);
    box-shadow: 2px 5px 8px var(--main);
    /* display: flex; */
    display: none;
    position: fixed;
    z-index: 1;
    width: 10rem;
    /* border: 2px solid pink; */
}
.nav-toggle {   
    background-color: var(--main);
    color: var(--black);
    height: 40px;
    padding-left: 30px;
    position: fixed;
    z-index: 1;
    width: 100vw;
    box-shadow: 2px 5px 8px var(--main);
    /* border: 2px solid pink; */
}
.outer-cursor {
    position: fixed;
    left: 10px;
    width: 35px;
    height: 35px;
    transform: translate(-50%, -50%);
    border: 1px solid var(--text);
    mix-blend-mode: difference;
    border-radius: 50%;
    pointer-events: none;
    z-index: 100;
    /* transition: 0.1s; */
}
.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: var(--white);
    /* border-right: 1px solid var(--border); */
    overflow-x: hidden;
    transition: 0.5s;
  }
  
  .overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: center;
    margin-top: 20px;
  }
  .overlay-content .icon {
    position: relative;
    top: 25%;
    left: 35%;
    border: none;
  }
  .overlay a  {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: var(--text);
    display: block;
    transition: 0.5s;

  }
  
  .overlay a:hover, .overlay a:focus {
    color: var(--back-ground);
  }
  
  .overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
  }
.aside .nav li {
    margin-bottom: 20px;
    display: block;
}
.aside .nav li a {
    font-size: 16px;
    font-weight: 600;
    display: block;
    color: var(--back-ground);
    border-bottom: 1px solid var(--border);
    padding: 5px 15px;
}

.aside .nav li a i, .overlay-content a i {
    margin-right: 15px;
}
/* Home */
.home {
    min-height: 100vh;
    display: flex;
}
.home .home-info {
    flex: 0 0 60%;
    max-width: 60%;
}
h3.hello {
    font-size: 28px;
    margin: 15px 0;
    color: var(--black);
}
h3.hello span {
    font-family: 'Lobster', cursive;
    font-size: 30px;
    font-weight: 700;
    color: var(--red);
}
h3.profession {
    font-size: 30px;
    margin: 15px 0;
    color: var(--black);
}
.typing {
    color: var(--red);
}
.home-info p {
    margin-bottom: 70px;
    font-size: 20px;
    color: var(--text);
}
.home .home-img {
    flex: 0 0 40%;
    max-width: 40%;
    text-align: center;
    position: relative;
}
.home .home-img-sm {
display: none;
}
.home .home-img img{
    height: 300px;
    width: 300px;
}

/* About */
.about .about-content {
    flex: 0 0 100%;
    max-width: 100%;
}

.about .about-content .about-text {
    flex: 0 0 100%;
    max-width: 100%;
    color: var(--black);
}

.about .about-content .about-text h3 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--black);
}
.about .about-content .about-text span {
    color: var(--red);
}

.about .about-content .about-text p {
    font-size: 16px;
    line-height: 25px;
    color: var(--text);
}
.about .about-content .personal-info {
    flex: 0 0 60%;
    max-width: 60%;
    margin-top: 40px;
    color: var(--black);
}
.about .about-content .personal-info .info-item {
    flex: 0 0 50%;
    max-width: 50%;
}
.about .about-content .personal-info .info-item p {
    font-weight: 600;
    padding: 10px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--border);
}

.about .about-content .personal-info .info-item p span {
    font-weight: 400;
    color: var(--text);
    margin-left: 4px;
    display: inline-block;
}
.about .about-content .personal-info .buttons {
    margin-top: 30px;
}
.about .about-content .personal-info .btn {
    margin: 10px 15px 0 0;   
}
.about .about-content .skills {
    flex: 0 0 40%;
    max-width: 40%;
    margin-top: 40px;
    color: var(--black);
}
.about .about-content .skills .skill-item h5 {
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
}
.about .about-content .skills .skill-item h5 i{
    color: var(--red);
    
}

/* Portfolio */
.portfolio .container {
    padding-bottom: 40px;
}
.portfolio .portfolio-heading {
    flex: 0 0 100%;
    max-width: 100%; 
    margin-bottom: 40px;
}
.portfolio .portfolio-heading h2 {
    color: var(--text);
    font-weight: 500;
}

 .portfolio .portfolio-item {
     flex: 0 0 33.33%;
     max-width: 33.33%;
     margin-bottom: 30px;
 }
 .portfolio .portfolio-item-inner {
     /* border: 6px solid var(--border); */
     border-radius: 10px;
     overflow: hidden;
 }
 .portfolio .portfolio-img:hover {
    transform: scale(1.05);
 }
 .portfolio .portfolio-img img {
    width: 100%;
    display: block;
}
/* Contact */
.contact-title {
    text-align: center;
    color: var(--red);
    font-size: 25px;
    margin-bottom: 20px;
    margin-top: 10px;
}
.contact-subtitle {
    display: flex;
    justify-content: space-evenly;
    text-align: center;
}

.contact-subtitle .icon {
    display: inline-block;
}

.contact-subtitle .contact-info-item .icon i {
    font-size: 25px;
    color: var(--red);
}
.contact-subtitle .contact-info-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin: 15px 0 5px;
}
.contact-subtitle .contact-info-item p {
    font-size: 15px;
    line-height: 25px;
    font-weight: 400;
}
.form-container {
    margin: auto;
  }
form {
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    padding: 2vw 4vw;
    width: 30rem;
    border-radius: 10px;
  } 
  
  form h3 {
    margin-bottom: 20px;
  }
  
  form input, form textarea {
    border: 0;
    margin: 10px 0;
    padding: 20px;
    outline: none;
    background-color: #f5f5f5;
    font-size: 16px;
  }
  @media (max-width:1004px) {
      .aside {
          left: -270px;
      }
      .mobile-nav {
        display: block;
    }
    
      .main-content {
          padding-left: 0;
      }
      .about .about-content .personal-info .info-item p span {
          display: block;
          margin-left: 0;
      }
      
    
  }
  @media (max-width:740px){
    .home .home-img img{
        width: 200px;
        height: 200px;
    }
    .inner-cursor, .outer-cursor {
        display: none;
    }
    .overlay a {font-size: 20px}
    .overlay .closebtn {
    font-size: 40px;
    top: 15px;
    right: 35px;
    }
  }
  @media (max-width:452px) {
    .home .home-img img{
        display: none;
    }
    .home .home-img-sm {
        display: block;
    }
    .home .home-img-sm img{
        margin-left: 30px;
        width: 200px;
        height: 200px;
    }
    .about .about-content .personal-info .info-item {
        flex: 0 0 100%;
        max-width: 100%;
        
    }
       .about .about-content .personal-info,
       .about .about-content .skills,
       .portfolio .portfolio-item,
       .home .home-info{
           flex: 0 0 100%;
           max-width: 100%;
       }  
       form {
           width: 20rem;
       }
       .contact .contact-subtitle {
        flex-direction: column;
        
    }
    .contact .contact-subtitle .contact-info-item {
        margin-bottom: 20px;
    }
  }
  
 