body, html {
  scroll-behavior: smooth;
}

* {box-sizing: border-box}

.about-section {
    font-family: 'inter', sans-serif;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.about-title {
    font-size: 1.7rem;
    text-align: center;
    color: var(--text-color2);
    margin-bottom: 0;
    font-family: 'inter', sans-serif;
}

.about-title span {
    margin-left: 0.5rem;
    color: var(--nav-color);
    font-weight: 900;
}

.about-description {
    font-size: 1.3rem;
    text-align: center;
    width: 95%;
    margin-top: 1rem;
    color: var(--paragraph-color);
    margin-bottom: 0;
}

.about-content1 p {
  font-size: 1.2rem;
  margin-left: 1rem;
  margin-top: 0;
  color: var(--paragraph-color);
  width: 90%;
  line-height: 1.4;
}

.about-skill-bars h1 {
    font-size: 1.3rem;
    margin-left: 1rem;
    color: var(--text-color2);
}

.about-skill-bars p {
    font-size: 0.937rem;
    margin-bottom: 0;
}

.container {
    width: 98%;
    background-color: rgb(184, 178, 178);
    margin-left: 0.5rem;
    margin-top: 0;
    margin-bottom: 1rem;
    border-radius: 2rem;
}

.skills {
    font-size:0.7rem;
   text-align: right; 
   padding-top: -10px;
   padding-bottom: -10px;
   color: white;
   background-color: var(--nav-color);
   border-radius: 2rem;
}

@keyframes Htmlbar {
  from {width: 0%;}
  to {width: 98%;}   
}

@keyframes cssbar {
  from {width: 0%;}
  to {width: 98%;}   
}

@keyframes jsbar {
  from {width: 0%;}
  to {width: 78%;}   
}

@keyframes phpbar {
  from {width: 0%;}
  to {width: 58%;}   
}

@keyframes sqlbar {
  from {width: 0%;}
  to {width: 85%;}   
}

@keyframes graphicsbar {
  from {width: 0%;}
  to {width: 75%;}   
}

.html {
    width: 98%; 
    background-color: var(--nav-color);

    animation-name: Htmlbar;
    animation-duration: 6s;
    animation-delay: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}
.css {
    width: 98%; 
    background-color: var(--nav-color);

    animation-name: cssbar;
    animation-duration: 6s;
    animation-delay: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}
.js {
    width: 78%; 
    background-color: var(--nav-color);

    animation-name: jsbar;
    animation-duration: 6s;
    animation-delay: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}
.php {
    width: 58%; 
    background-color: var(--nav-color);

    animation-name: phpbar;
    animation-duration: 6s;
    animation-delay: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}
.sql {
    width: 85%; 
    background-color: var(--nav-color);

    animation-name: sqlbar;
    animation-duration: 6s;
    animation-delay: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

.graphic {
    width: 75%; 
    background-color: var(--nav-color);

    animation-name: graphicsbar;
    animation-duration: 6s;
    animation-delay: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}


.about-content2 {
    display: flex;
    flex-direction: column;
    padding: 15px;
    row-gap: 2rem;
}

.about-content2-card {
    display: flex;
    flex-direction: row;
    align-items: start;
    border: none;
    padding-top: 1rem;
    border: 1px solid rgb(224, 221, 221);
    border-radius: 1rem;
    transition: transform 1s ease-in-out;
}

.about-content2-card:hover {
    transform: scale(1.1, 1.1);
    box-shadow: 1px 1px 20px 10px var( --about-content2-card-color); 
}

.about-content2-card i {
    color: var(--nav-color);
    border: none;
    padding: 10px;
    border-radius: 0.3rem;
    background-color: var( --about-content2-card);
    margin-left: 1rem;
    margin-right: 0.6rem; 
}

figure {
    color: var(--text-color2);
    margin-left: 0;
    margin-top: -15px;
}

figure h2 {
    font-size: 1.2rem;
    color: var(--text-color2);
}

figure p {
    color: var(--paragraph-color);
    line-height: 1.4;
}





/*Responsive Design*/
@media (min-width: 480px) { 
  
}

/* Large phones and small tablets */
@media (min-width: 600px) { 
  .about-title {
    font-size: 2.5rem;
  }
}

/* Tablets portrait */
@media (min-width: 768px) {
 
 }

/* Tablets landscape and small laptops */
@media (min-width: 992px) {
    .about-section {
     display: grid;
     grid-template-columns: 1fr 1fr;
    }

    .about-content2-card {
        width: 90%;
        margin-left: 2rem;
    }

    .about-title {
     font-size: 3.5rem;
    }
 }

/* Desktops */
@media (min-width: 1200px) {
    
 }

/* Large desktops */
@media (min-width: 1440px) {
  
 }

/* Extra large screens */
@media (min-width: 1920px) {
   
 }


