@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;400;700&family=Poppins:wght@100;400;600&display=swap');


*{
  font-family: 'Poppins', sans-serif;  
}

html{
    scroll-behavior: smooth;
}

body{
overflow-x: hidden;
}

header{
    position: fixed;
}

i,input{
    font-size: 30px;
}

p{
    font-weight: 400;
    letter-spacing: .5px;
    font-size: 15px;
}

header{
    z-index: 100;
}

h1,h2,h3,a,ul li h3 button input{
 font-family: 'Montserrat', sans-serif;
}

.logo{
    font-family: 'Montserrat', sans-serif;
    font-size: 35px;
}

.logo em{
    color: white;
     font-size: 30px;
}

.menu{
    transform: scaleX(-1);
    position: relative;
}

.menu::before{
    position: absolute;
    width: 3.5rem;
    height: 3.5rem;
    z-index: -1;
    content: '';
    transform: scale(0);
    transform-origin: center;
    border-radius: 50%;
    left: 8px;
    top: 8px;
    transition: transform .5s  ease-in-out;
    background-color:rgba(239, 68, 68, var(--tw-bg-opacity));
}

.menu:hover::before{
    transform: scale(100%);
}

nav{
 width: 300px;
 transition: left 2s ease-in;
}

nav ul li a{
  font-weight: 700;
  font-size: 30px;
  width: 100%;
  height: 100%;
}


nav.active{
    right: 2rem;
}

.profile-pic{
top: -100px;
width: 220px;
height: 220px;
}

.profile-pic::before{
   position: absolute;
    width: 100%;
    height: 100%;
    content: '';
    transform-origin: center;
    border-radius: 50%;
    left: 0;
    top: 0;
    transition: animation 1s ease-in;
    animation: grow 1s infinite linear;
    background-color:rgba(239, 68, 68, var(--tw-bg-opacity));
}

.profile-pic:hover::before{
    animation: none;
}

.profile-pic img{
    width: 200px;
    height: 200px;
    border-radius: 50%;
    z-index: 10;
}

.info{
    width: 100%;
    max-width: 310px;
}
#home{
    position: relative;
    z-index: 1;
}

.name{
    margin-top: -100px;
    height: fit-content;
}

.name h1{
    font-size: 30px;
}

@keyframes grow {
    0%{
        opacity: 1;
        transform: scale(100%);
    }
    25%{
        opacity: .75;
        transform: scale(105%);
    }
    50%{
        opacity: .5;
        transform: scale(110%);
    }
    100%{
    opacity: 0;
    transform: scale(115%);
    }
}

.icons a i{
    transition: all 200ms ease-in;
}

.icons a i:hover{
    color: white;
    transform: scale(110%);
}

#about h1 i,
#skills h1 i{
font-size: 40px;
}

#about h1 strong,
#skills h1 strong,
#resume h1 strong,
#portfolio h1 strong,
#sayhi h1 strong{
    font-size: 40px;
    margin-top: 20px;
}

.interests ul{
    flex-wrap: wrap;
}

.interest{
    height: 100px;
    width: 45%;
}

.types .bar::after{
 content: '';
 background-color: white;
 width: var(--skill);
 height: 100%;
 position: absolute;
 left: 0;
 top: 0;
 border-top-left-radius: inherit;
  border-bottom-left-radius: inherit;
}

.html{
 --skill:90%
}

.ps{
--skill:69%
}

.ai{
 --skill:79%   
}

.wf{
 --skill:60%   
}

.js{
--skill:70%
}

.gs,.fx{
   --skill:80%  
}

.cr{
  --skill: 99%
}

.sect{
    width: 270px;
    position: relative;
}

.sect::before{
  width: 50px;
  height: 3px;
  content: '';
  position: absolute;
  background-color: rgba(239, 68, 68, var(--tw-bg-opacity));
  top: 50%;
  right: -50px;  
}

.sect::after{
  width: 10px;
  height: 10px;
  border-radius: 80%;
  content: '';
  position: absolute;
  background-color: rgba(239, 68, 68, var(--tw-bg-opacity));
  top: 49%;
  right: -52px; 
  z-index: 10; 
}

.sec{
position: relative;
}

.sec::after{
  width: 2px;
  height: 100%;
  content: '';
  position: absolute;
  background-color: rgba(31, 41, 55, var(--tw-bg-opacity));
  top: 0;
  right: 12px;     
}

.project{
background-color: rgba(17, 24, 39, var(--tw-bg-opacity));
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.project a{
max-height: 200px;
}

.project a img{
    transition: transform 500ms ease;
}
.project a img:hover{
transform: scale(150%);
}

.categories button{
    isolation: isolate;
    position: relative;
}

.categories button::before{
   background-color:  rgba(239, 68, 68, var(--tw-bg-opacity)); 
   transform: scale(0,1);
   content: '';
   width: 105%;
   height: 108%;
   position: absolute;
   top: -1px;
   left: -2px;
   z-index: -1;
   transform-origin: left;
   transition: transform 200ms ease;
}

.categories button:hover::before{
   transform: scale(1,1);
}

.categories button:hover{
   color: white;
}

.categories button.active{
    background-color:  rgba(239, 68, 68, var(--tw-bg-opacity));
    color: rgba(255, 255, 255, 0.678);
    border: none;
}

.form-group input:focus,.form-group textarea:focus{
  outline:none;
  background-color: rgba(248, 113, 113, var(--tw-bg-opacity));
}


