body {
    width: 100vw;
    height: 100vh;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap');


#headline {
    display: flex;
    width: 100%;
}

#logo {
    width: 70%;
    opacity: 0;
    cursor: default;
    animation: slideright 1s ease forwards;
}


.navbar {
    width: 100%;
}

.navbar-nav {
    text-decoration: none;
    padding: 30px;
}

.navbar-nav a {
    text-decoration: none;
    color: linen;
    font-size: 1.3rem;
    font-family: math;
    transition: .3s;
    animation: slideTop .5s ease forwards;
}

.navbar-nav a:hover {
    color: rgb(82, 11, 248);
    border-bottom: 2px solid rgb(185, 9, 97);
}

.navbar-collapse {
    position: absolute;
    top: 60%;
    right: 0;
    background: transparent;
}


#main-box {
    font-family: 'Poppins', sans-serif;
    height: fit-content;
    width: 100%;
    background: linear-gradient(to right, #00c6ff, #0072ff);

    background: linear-gradient(to right, #56ccf2, #2f80ed);

    background: linear-gradient(to right, #1d2b64, #f8cdda);
}

.home-content {
    display: flex;
    height: 230px;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    margin: auto;
    margin-top: 100px;
}

#section01 {
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: 600px;
    width: 100%;

}

#section01 h2 {
    margin: auto;
    margin-top: 40px;

}

#section01 img {
    display: flex;
    margin: auto;
    margin-top: 15px;
    height: 236px;
    width: 240px;
    object-fit: cover;
    border-radius: 50%;
    opacity: 0;
    animation: zoomIn 1s ease forwards;
    animation-delay: 1s;
}


#section01 p {
    color: rgb(23, 16, 54);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.6;
    font-family: 'Poppins', sans-serif;
    text-align: justify;
    max-width: 80%;
    margin: auto;
    opacity: 0;
    animation: slideleft 1s ease forwards;
    animation-delay: 1s;
}

.home-content h3 span {
    color: aqua;
    opacity: 0;
    animation: slideBottom 1s ease forwards;
    animation-delay: .7s;
}

.home-content h1 {
    color: #fafff7;
    text-align: center;
    font-weight: 600;
    animation: slideright 1s ease forwards;
    animation-delay: 1s;
}

#section02 {
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: auto;
    width: 100%;
}

#section02 h2 {
    margin: auto;
}


.skills-title {
    font-size: 2rem;
    font-weight: 600;
}

.skill-card {
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-align: center;
    padding: 16px;
    height: 100%;
    background-color: transparent !important;
    border-radius: 14px;
    max-width: 280px;
    margin: 0 auto;
}

.skill-icon {
    width: 24px;
    height: 24px;
    margin: 0 auto 8px;
    display: block;

}

.skill-text {
    font-size: 1.1rem;
    color: black;
}


/* *********************** */
#section03 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 680px;
    width: 100%;
    background: linear-gradient(to right, #00c6ff, #0072ff);

    background: linear-gradient(to right, #56ccf2, #2f80ed);

    background: linear-gradient(to right, #1d2b64, #f8cdda);
}

#section04 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: fit-content;
    width: 100%;
}

#section04 h2 {
    margin: auto;
}

.card-title {
    text-align: center;
    font-family: cursive;
}

.project {
    display: flex;
    flex-direction: row;
    justify-content: center;
    opacity: 0;
    animation: zoomIn 1s ease forwards;
    animation-delay: 1s;
}

.button {
    display: flex;
    flex-direction: column;
    margin: auto;
}

.info {
    display: flex;
    flex-direction: column;
    margin: auto;
}

.info p {
    color: #ffff;
    font-family: cursive;
}


.contact {
    margin: auto;
    height: 60%;
    width: 60%;
    justify-content: center;
}

#section03 h2 {
    margin: auto;
    margin-top: 40px;
    color: black;

}

.contact .mail {
    color: #221c1c;
    font-size: 2vw;

}

.contact .links {
    color: #141b1a;
    padding: 0.5rem;
    padding-bottom: 1.8rem;
    font-size: 1rem;
}

.contact a {
    text-decoration: none;
    color: #05050c;
    padding: 0.5rem;
    transition: .5s ease;
    opacity: 0;
    animation: slideleft 1s ease forwards;
}

.contact .mail a {
    color: rgb(132, 10, 214);
}

.contact a:hover {
    color: rgb(51, 7, 247);
}

.linkSize {
    width: 100%;
    display: inline-flex;
    justify-content: space-around;
}

.linkSize a {
    height: 4vw;
    width: 5vw;
    font-size: 50px;
}


/* Media Queries */

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

    #main-box {
        height: fit-content;
        width: fit-content;
    }

    .navbar-nav a {
        text-decoration: none;
        color: black;
        font-size: 1rem;
        font-family: math;
        transition: .3s;
        animation: slideTop .5s ease forwards;
    }

    #section01 {
        display: flex;
        justify-content: center;
        flex-direction: column;
        height: 640px;
        width: 100%;
    }

    #section01 p {
        font-size: 15px;
        text-align: center;
    }

    #section01 img {
        display: flex;
        margin: auto;
        margin-top: 15px;
        height: 50vw;
        width: 50vw;
        object-fit: cover;
        border-radius: 50%;

    }

    #section03 {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 400px;
        width: 100%;
    }

    .linkSize a {
        height: 3vw;
        width: 4vw;
        font-size: 30px;
    }

    .contact .mail {
        font-size: 16px;
    }

}


@media only screen and (min-width: 10px) and (max-width:335px) {

    #main-box {
        width: fit-content;
    }

    .home-content {
        text-align: center;
        color: white;
        margin-top: 10%;
        width: 329px;
    }

    .contact .mail {
        font-size: 15px;
    }


}

/* Animations */

@keyframes slideright {
    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 slideleft {
    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;
    }
}

.home-content {
    text-align: center;
    color: white;
    margin-top: 10%;
}

.home-content h4 {
    font-size: 1.8rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeIn 1.5s ease-in-out;
}

.home-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 10px rgba(255, 255, 255, 0.5);
    animation: slideIn 1s ease-in-out;
}

.home-content h3 {
    font-size: 2.2rem;
    font-weight: 500;
    margin-top: 10px;
}

.Multiple-Text {
    font-size: 2.5rem;
    font-weight: bold;
    animation: textColorChange 6s infinite alternate;
}

@keyframes textColorChange {
    0% {
        color: #ff7e5f;
    }

    25% {
        color: #00c6ff;
    }

    50% {
        color: #38ef7d;
    }

    75% {
        color: #ff5e62;
    }

    100% {
        color: #feb47b;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .home-content h4 {
        font-size: 1.5rem;
    }

    .home-content h1 {
        font-size: 2.8rem;
    }

    .home-content h3 {
        font-size: 1.8rem;
    }

    .Multiple-Text {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {

    .home-content h4 {
        font-size: 1.2rem;
    }

    .home-content h1 {
        font-size: 2.2rem;
    }

    .home-content h3 {
        font-size: 1.2rem;
    }

    .Multiple-Text {
        font-size: 1.2rem;
    }
}

@media screen and (min-width: 2560px) {

    html,
    body {
        font-size: 20px !important;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        font-size: 2.5rem !important;
        line-height: 1.3 !important;
    }

    .home-content h1 {
        font-size: 4.5rem !important;
    }

    .home-content h3 {
        font-size: 2.5rem !important;
    }

    .home-content h4 {
        font-size: 2rem !important;
    }

    .nav-link,
    p,
    .card-text,
    .skill-text,
    .mail,
    .links {
        font-size: 1.6rem !important;
    }

    .btn {
        font-size: 1.4rem !important;
        padding: 0.75rem 1.5rem !important;
    }

    .skill-card,
    .card {
        transform: scale(1.2) !important;
    }

    .card {
        width: 22rem !important;
    }

    .linkSize i {
        font-size: 2.5rem !important;
    }

    .section h2 {
        font-size: 3rem !important;
    }
}