@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

@keyframes appear { /* appear is the name of the animation we are making */
  from {
    opacity: 0;
    scale: 0.5;
  }
  to {
    opacity: 1;
    scale: 1;
  }
}

.profile-section {
    display: flex;
    justify-content: center;
    padding: clamp(50px, 7vw, 200px);
    margin-top: 10%;
    background-color: rgba(88, 88, 88, 0.2);
}

.me-container {
    display: flex;
    gap: 50px;
    align-items: center;
    max-width: 1400px;
    width: 100%;
    justify-content: space-around;
}

.me-description {
    display: flex;
    flex-direction: column;
}

.profile-section h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: aliceblue;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.profile-section p {
    font-size: clamp(1rem, 2.5vw, 1.8rem);
    width: 100%;
    max-width: 800px;
    color: aliceblue;
    font-family: 'Montserrat', sans-serif;
    line-height: 38px;
}

.profile-section a {
    background-color: rgb(26, 26, 26);
    padding: 20px;
    font-size: clamp(1.2rem, 2vw, 1.3rem);
    border-radius: 2px;
    width: 200px;
    text-align: center;
    text-decoration: none;
    color: aliceblue;
    font-family: Montserrat, sans-serif;
    margin-top: 20px;
}

.profile-section a:hover {
    background-color: #A074C8;
    transition: background-color 0.3s;
    cursor: pointer;
}

.profile-section h2 {
    font-size: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    color: aliceblue;
    font-family: 'Montserrat', sans-serif;;
}

.profile-pic {
    width: clamp(400px, 10vw, 800px);
    aspect-ratio:  2 / 2;
    flex-shrink: 0;  /* Prevent image from stretching/shrinking */
}

.profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 200px;
}

.about-container {
    width: 80%;
    max-width: 1000px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-self: center;
    margin: 120px 0;
    padding: 10px 0;
}

.about-container h1 {
    font-size: 3.6rem;
    font-family: 'Montserrat', sans-serif;
    margin: 20px 0;
    color: aliceblue;
}

.skills-line {
    width: 100%;
    overflow: hidden;
    padding: 15px;
    margin-top: 120px;
}

.skill-item {
    color: aliceblue;
}


.scroll-track {
    display: flex;
    gap: 60px;
    animation: scroll 10s linear infinite;
}


.scroll-track img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}


@keyframes scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

@media screen and (width <=1100px) {
    @keyframes scroll {
        0% { transform: translateX(100%); }
        100% { transform: translateX(-200%); }
    }

    .me-container {
        display: flex;
        flex-direction: column;
    }

    .about-container h1 {
        font-size: 2.5rem;
    }

    .profile-pic {
        width: clamp(250px, 40vw, 800px);
    }

    .profile-pic img {
        height: 60%;
    }

    .profile-section p {
        font-size: 1.4rem;
    }
}

.skill-details {
    display: flex;
    justify-content: space-around;
    justify-self: center;
    text-align: center;
    flex-wrap: wrap;
    width: min(90%, 1200px);
    margin: 0 auto;
}

.skill-details img {
    width: 80px;
    height: auto;
}

.skill-details h3,
.skill-details p {
    color: aliceblue;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    line-height: 1.6rem;
}


.skill-box {
    padding: 30px;
    margin: 40px 40px;
    width: 300px;
    border-radius: 2px;
    outline: solid 2px aliceblue;
    transition: transform 0.3s ease, box-shadow 0.3s ease, outline 0.2s ease;
    background-color: rgba(58, 58, 58, 0.300);
}

.skill-box:hover {
    transform: translateY(-12px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    outline: solid aliceblue 2px;
}

.git-icon {
    background-color: rgba(240, 248, 255, 0.9);
    border-radius: 40px;
}