@import url('https://fonts.googleapis.com/css2?family=Dancing+Script&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}



body {
    background: #1f242d;
    color: #fff;
}

@media only screen and (max-width: 600px) {
   

                          
}







.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10%;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background-color: #181b22;   
}

.logo {
    font-size: 25px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    cursor: default;
    opacity: 0;
    animation: slideRight 1s ease forwards;
}

.navbar ul{
    display: flex;

}

.navbar li{
    list-style: none;
}

.navbar a {
    transition: .5;
    display: inline-block;
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin-left: 35px;
    opacity: 0;
    animation: slideTop 1s ease forwards;
    animation-delay: calc(.2s * var(--i));

}

.navbar a:hover {
    color: #ff004f;
    transition: .5s;
}

.toggle-button{
    position: absolute;
    top: 1,4rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
}

.toggle-button .bar{
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 10px;
}

@media screen and (max-width: 725px) {
    .toggle-button {
        display: flex;
    }

    .navbar{
        display: none;
        width: 100%;
    }
    .header{
        flex-direction: column;
        align-items: flex-start;
    }
    .navbar ul{
        width: 100%;
        flex-direction: column;
    }
    .navbar li {
        text-align: center;
    }
    .navbar li a{
        padding: 1rem 1rem;
    }
    .navbar.active {
        display: flex;
    }

}

/*Home content*/

.home-content {    
    max-width: 1000px;

}

.home-content h3 {
    font-size: 42px;
    font-weight: 700;
    opacity: 0;
    animation: slideBottom 1s ease forwards;
    animation-delay: .7s;
}

.home-content h3:nth-of-type(2) {
    margin-bottom: 30px;
    animation: slideTop 1s ease forwards;
    animation-delay: .7s;
}

.home-content h1 {
    font-size: 86px;
    font-weight: 700;
    margin: -3px 0;
    opacity: 0;
    animation: slideRight 1s ease forwards;
    animation-delay: 1s;
}

.home-content p {
    font-size: 32px;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: 1s;
}

.home-content h3 span {
    color: #ff004f;
}

.home {
    background: #1f242d;
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 70px 10% 0;
}

.quote {
    font-size: 24px;
    font-weight: 100;
}

.social-media a {
    display: inline-flex;
    width: 60px;
    height: 60px;
    background: transparent;
    border: 2px solid #ff004f;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #ff004f;
    margin: 30px 15px 30px 0;
    transition: .5s ease;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: calc(.2s * var(--i));
    margin-bottom: 50px;

}

.social-media a:hover {
    background: #ff004f;
    color: #1f242d;
    box-shadow: 0 0 20px #ff004f;
}

.btn {
    text-decoration: none;
    color: white;
    border: 1px solid #ff004f;
    border-radius: 3px;
    padding: 15px;
    transition: .3s;
    font-weight: bold;
    opacity: 0;
    animation: slideTop 1s ease forwards;
    animation-delay: 2s;
}

.btn:hover {
    background-color: #ff004f;
    color: #1f242d;  
}

@media only screen and (max-width: 600px) {
    .home {
        margin-top: 60px;
        margin-bottom: 100px;

    }
    
    .home-content p {
        font-size: 32px;
        
    }

    .home-content h1 {
        font-size: 66px;
        font-weight: 300;
        margin: -3px 0;
        
    }

    .home-content h3 {
        font-size: 42px;
        font-weight: 600;
    }
    .home-content a{
        width: 50px;
        height: 50px;
    }
  }

/*About content*/

.about-left p{
font-size: 2px;
}

.about-content {
    background-color: #1f242d;
    border: 4px solid white;
    border-right-style: none;
    border-left-style: none;
    padding-top: 100px;
    padding-bottom: 100px;
    justify-content: center;
    
}

.about-content h3{
    align-items: center;
    padding: 30px 10% 0;
    font-size: 32px;
    font-weight: 700;
    
}
.about-content p{
    font-size: 25px;
    position: relative;
    align-items: center;
    padding: 30px 10% 0;
    
    
}
#about {
    background: #262c37;
    padding: 70px 10% 0;
    color: #fff;
    position: relative;
    width: 100%;
    display: flex;
    margin-bottom: 0px;
    padding-bottom: 220px;
}

@media only screen and (max-width: 600px) {
   #about{
    padding: 0px;
    
   }
   .about-content{
    border: 4px solid #181b22; ;
    border-right-style: none;
    border-left-style: none;
    background: #262c37;

   }

                          
}

/*Card*/

#skills {
    justify-content: center;
    text-align: center;
    margin-bottom: 40px;
    color: #1f242d;
    padding-top: 80px;
    
}
#card-section {
    gap: 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 800px;
    margin: 0 auto;
    padding: 10px;
    
  }
  .test {
    background-image: url(cool-background.png);
    height: 700px;
  }
  .card {
    
    flex-basis: calc(33.33% - 10px);
    margin-bottom: 20px;
    text-align: center;
    background-color: #1f242d;
    color: #fff;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
  }

  .card p{
    font-weight: bold;
    
  }
  
  .card img {
    size: 20px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 100px;
  }
.card:hover {
  transform: scale(1.08);
  transition: transform .3s;
}

@media only screen and (max-width: 600px) {
    .card {
        padding: 5px;
        padding-bottom: 50px;
        
    }

    .card p {
        font-size: 80%;
        
    }

}



/*Contact*/


#contact {
    background: #1f242d;
    padding-bottom: 10px;
    padding-top: 10px;
}

.container {
    margin-top: 270px;
    margin-bottom: 100px;
    display: flex;
    justify-content: space-between;
}

.contact-left{
    flex-basis: 35%;
    margin-left: 20%;
}
.contact-left a{
    text-decoration: none;
    color: #fff;  
}

.test2 a:hover{
    color: #ff004f;
}
.contact-right{
    flex-basis: 60%;
    margin-right: 20%;
}

.contact-left p{
    margin-top: 30px;
}
.contact-left p i{
    color: #ff004f;
    margin-right: 15px;
    font-size: 25px;
}

.social-icons{
    margin-top: 90px;
    margin-bottom: 30px;
}

.social-icons a {
    text-decoration: none;
    font-size: 30px;
    margin-right: 15px;
    color: #ababab;
    display: inline-block;
    transition: transform 0.5s;
}
.social-icons a:hover{
    color: #ff004f;
    transform: translateY(-5px);
}


.contact-right form{
    width: 100%;
}
form input, form textarea {
    width: 100%;
    border: 0;
    outline: none;
    background: #262626;
    padding: 15px;
    margin: 15px 0px;
    color: #fff;
    font-size: 18px;
    border-radius: 6px;
}




textarea {
    resize: none;
  }
.button .btn3, .btn2{
    background-color: #1f242d;
    text-decoration: none;
    color: white;
    border: 1px solid #ff004f;
    border-radius: 3px;
    padding: 10px;
    transition: .3s;
    font-weight: bold;
}

.btn3:hover , .btn2:hover{
    background-color: #ff004f;
    color: #1f242d;
}

footer {
    background-color: #191d26;
    padding: 40px;
}

.copyright p{
    justify-content: center;
    text-align: center;
    color: grey;
    opacity: .9;
}

.popup {
    position: fixed;
    bottom: 150px;
    left: 50%;
    transform: translateX(-50%);
    padding: 20px;
    background-color: green;
    color: white;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

@media only screen and (max-width: 600px){

    #contact {
        margin-top: 100px;
    }

    .container{
        display: inline;
    }
    .contact-left p, .btn3{
        display: none;
    }
    .contact-right{
        display: flex;
        justify-content: center; 
    }
}

@media only screen and (max-width: 600px) {
    form {
        padding-left: 100px;
    }
    
  }

/* KEYFRAMES ANIMATION */
@keyframes slideRight {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideLeft {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideTop {
    0% {
        transform: translateY(100px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideBottom {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes zoomIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes floatImage {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-24px);
    }

    100% {
        transform: translateY(0);
    }
}