@import url(https://fonts.googleapis.com/css?family=Poppins:100,100italic,200,200italic,300,300italic,regular,italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic);

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'poppins', sans-serif;
}

body {
    background: #1f242d;
    color: #fff;
}

.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;
}

.logo {
    font-size: 25px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    cursor: default;
    opacity: 0;
    animation: slideRight 1s ease forwards;
}

.port-header {
    position: fixed;
    margin-left: 520px;
    margin-top: 20px;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10%;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: top 0.3s; /* Add smooth transition */
}

.port-header.hide-header {
    top: -100px; /* Move header out of view */
}


/*.navbar {
    margin-left: auto;
}*/

.navbar a{
    display: inline-block;
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin-left: 35px;
    opacity: 0;
    animation: slideTop 1s ease forwards;
    transition: .3s;
    animation-delay: calc(.2s * var(--i));
}

.navbar a:hover,
.navbar a.active {
    color:#0ef
}

.home {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 70px 10% 0;
}

.home-content{
    max-width: 600px;
    margin-top: 95px;
}

.home-content h3 {
    font-size: 32px;
    font-weight: 700;
    opacity: 0;
    animation: slideBottom 1s ease forwards;
    animation-delay: .5s;

}

.home-content h3:nth-of-type(2) {
    margin-bottom: 30px;
    animation: slideTop 1s ease forwards;
    animation-delay: .5s;
}

.home-content h3 span {
    color:#0ef;
}

.home-content h1 {
    font-size: 56px;
    font-weight: 700;
    margin: -3px 0;
    opacity: 0;
    animation: slideRight 1s ease forwards;
    animation-delay: .2s;
}

.home-content p {
    font-size: 16px;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: 1s;
}

.portfolio {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 70px 10% 0;
}

.portfolio-content p {
    text-align: justify;
    letter-spacing: 1px;
    line-height: 28px;
    font-size: 18px;
    margin-bottom: 45px;
}

.portfolio-content {
    max-width: 570px;
    margin-top: 95px;
}

.portfolio-content h1 {
    font-size: 50px;
    font-weight: 600px;
    margin-bottom: 30px;
}

.elev {
    font-size: 50px;
    font-weight: 600px;
    margin-bottom: 30px;
    margin-left: 540px;
    margin-top: 40px;
}

.youtube-portelev {
    display: flex;
    justify-content: flex-end; /* Align to the right */
    align-items: center;
    width: 60%; /* Set width to 60% of the viewport width */
    margin-left: 17%; /* Adjust margin for spacing */
}

.youtube-portelev iframe {
    width: 150%; /* Make the iframe fill its container */
    height: 530px; /* Automatically adjust height */
}


.portfolio-content h2 {
    font-size: 21px;
    font-weight: 600px;
    margin-bottom: 30px;
}

.slide {
    display: inline-block;
    padding: 12px 28px;
    background: #0ef;
    border-radius: 40px;
    box-shadow: 0 0 10px #0ef;
    text-decoration: none;
    font-size: 16px;
    color: #1f242d;
    letter-spacing: 1px;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 50px;
    margin-left: 140px;
}

.youtube-port{
    margin-bottom: 400px;
}

.Bio {
    width: 100%;
    padding: 78px 0px;
}

.prof {
    display: inline-block;
    padding: 12px 28px;
    background: #0ef;
    border-radius: 40px;
    box-shadow: 0 0 10px #0ef;
    text-decoration: none;
    font-size: 16px;
    color: #1f242d;
    letter-spacing: 1px;
    font-weight: 600;
    margin-top: -8px;
    margin-bottom: 50px;
    margin-left: 182px;
}

.elevback{
    display: inline-block;
    padding: 12px 28px;
    background: #0ef;
    border-radius: 40px;
    box-shadow: 0 0 10px #0ef;
    text-decoration: none;
    font-size: 16px;
    color: #1f242d;
    letter-spacing: 1px;
    font-weight: 600;
    margin-top: 50px;
    margin-bottom: 50px;
    margin-left: 260px;
}

.elevback:hover{
    background-color: #fff;
}

.main {
    width: 1130px;
    max-width: 95%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.home-img img {
    max-width: 400px;
    margin-right: -6px;
    margin-top: 60px;
    border-radius: 200px;
}

.main img {
    height: auto;
    width: 420px;
    margin-top: 0px;
    margin-bottom: 390px;
    margin-left: -150px;
}

.Bio-text {
    width: 550px;
}

.Bio-text h1{
    color:#0ef;
    font-size: 80px;
    text-transform: capitalize;
    margin-bottom: 20px;
}

.Bio-text p {
    text-align: justify;
    letter-spacing: 1px;
    line-height: 28px;
    font-size: 18px;
    margin-bottom: 45px;
}

.back-button {
    display: inline-block;
    padding: 12px 28px;
    background: #0ef;
    border-radius: 40px;
    box-shadow: 0 0 10px #0ef;
    text-decoration: none;
    font-size: 16px;
    color: #1f242d;
    letter-spacing: 1px;
    font-weight: 600;
    margin-top: 30px;
    margin-left: 110px;
    margin-bottom: -120px;
}

.back-button:hover {
    background-color: #fff;
}

.prof:hover {
    background-color: #fff;
}


.social-media a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid #0ef;
    border-radius: 50%;
    font-size: 20px;
    color: #0ef;
    text-decoration: none;
    margin: 30px 15px 30px 0;
    transition: .5s ease;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: calc(.2s * var(--i));
}

.social-media a:hover {
    background: #0ef;
    color: #1f242d;
    box-shadow: 0 0 20px #0ef;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background: #0ef;
    border-radius: 40px;
    box-shadow: 0 0 10px #0ef;
    text-decoration: none;
    font-size: 16px;
    color: #1f242d;
    letter-spacing: 1px;
    font-weight: 600;
    opacity: 0;
    animation: slideTop 1s ease forwards;
    animation-delay: 1.6s;
}

.firstbio {
    margin-bottom: 20px;
}

.secondbio {
    margin-bottom: 20px;
}

.zero {
    margin-bottom: 20px;
}

.thirdbio {
    margin-bottom: 20px;
}

.container {
    max-width: 600px;
    margin: 100px auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.container h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #0ef;
}

.contact-info {
    border-top: 1px solid #ccc;
    padding-top: 20px;
}

.contact-item {
    margin-bottom: 20px;
}

.contact-item span {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    color: #0ef;
}

.contact-item a {
    color: #555;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* KEYFRAMES ANIMATION */
@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: translateX(100px);
        opacity: 0;
    }
    
    100% { 
        transform: translateX(0);
        opacity: 1;
    }
}