@import url('https://fonts.googleapis.com/css2?family=Signika+Negative&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Outfit&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}



section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 80vh;
    background: #1f242d;
    overflow-x: hidden;
}

h1 {
    position: relative;
    font-size: 10vw;
    color: #fff;
    font-family: 'Signika Negative', sans-serif;
}

p{
    position: relative;
    font-size: 5vw;
    color:#668fe9;
    font-weight: 200;
    font-family: 'Outfit', sans-serif;
}

section .animate {
    opacity: 0;
    filter: blur(5px);
    transition: 0.5s;
}

section .animate {
    opacity: 1;
    filter: blur(0);
}

.profile-pic {
    margin-top: 5vh;
    margin-bottom: 3vh;
    width: 20vw;
    height: 20vw;
    max-width: 300px;
    max-height: 300px;
    border-radius: 50%;
    border: 3px solid white; 
    object-fit: cover;
}

.sec-1 .animate {
    transform: translateX(-150%);

}

.sec-1.show-animate .animate {
    transform: translateX(0);

}


.linkedin-button {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 20px;
    background-color: #0077b5;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-family: 'Outfit', sans-serif;
    transition: background-color 0.3s;
}

.linkedin-button:hover {
    background-color: #005983; /* Darker blue on hover */
}


.sec-2 .animate {
    transform: translateX(100%);
}

.sec-2.show-animate .animate {
    transform: translateX(0);
}

.sec-2 p {
    color: #0f0;
}

.sec-3 .animate {
    transform: scale(.3);

}

.sec-3.show-animate .animate {
    transform: scale(1);
}

.sec-3 p {
    color: rgba(255, 221, 0, 0.953);
}

.sec-4 .showRight-animate {
    position: absolute;
    top:0;
    right:0;
    width:100%;
    height: 100%;
    background: #1f242d;
    transition: 1s;
}

.sec-4.show-animate  .showRight-animate {
    width:0;
}

.sec-4 p {
    color: rgba(255, 0, 230, 0.953);
}

.sec-5 .images img {
    max-width: 30vw;
    width:100%;
    margin: 1vw 1vw;
    transform: translateX(-100%);
    transition-delay: calc(.2s * var(--i));
}

.sec-5.show-animate .images img {
    transform: translateX(0);
}


.sec-5 .images .portfolio:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}



footer {
    text-align: center;
    padding: 20px;
    background: #1e7165;
}

footer p {
    margin: 0;
    color: white;
    font-size: 18px;
}

footer p a{
    text-decoration: none;
    color: wheat;
}

@media only screen and (max-width: 768px) {

    h1 {
        font-size: 70px;
    }

    p {
        font-size: 30px;
    }

    .profile-pic {
        width: 40vh;
        height: 40vh;
    }
}


@media only screen and (max-width: 480px) {

    h1 {
        font-size: 40px;
    }

    p {
        font-size: 25px;
    }

    .profile-pic {
        width: 30vh;
        height: 30vh;
    }
}