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

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

body {
    background: #081b29;
    color: #ededed;
}

.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 {
    position: relative;
    font-size: 25px;
    color: #ededed;
    text-decoration: none;
    font-weight: 600;
    z-index: 1;
}

.logo::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #091c27;
    animation: showRight 0.6s ease forwards;
    animation-delay: .4s;
}

.navbar {
    margin-left: 20px;
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    width: 80%;
    height: 80%;
    background: #091c27;
    animation: showRight 2s ease forwards;
    animation-delay: 0.5s;
}

.navbar a {
    font-size: 18px;
    color: #ededed;
    text-decoration: none;
    font-weight: 500;
    margin-left: 35px;
    transition: .3s;
}

.navbar a:hover,
.navbar a.active {
    color: #00abf0;
}

.home {
    height: 100vh;
    /* background: url('ProfilePic1.jpg') no-repeat; */
    display: flex;
    align-items: center;
    padding: 0 10%; 
}

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

.home-content h1 {
    position: relative;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
}

.home-content h1::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 105%;
    background: #0a1c27;
    animation: showRight 1s ease forwards;
    animation-delay: 1s;
}

.home-content h3 {
    position: relative;
    font-size: 32px;
    font-weight: 600;
    color: #00abf0;
}

.home-content h3::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #0a1c27;
    animation: showRight 1s ease forwards;
    animation-delay: 1.6s;
}

.home-content p {
    position: relative;
    font-size: 16px;
    margin: 20px 0 20px;
}

.home-content p::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #0a1c27;
    animation: showRight 1s ease forwards;
    animation-delay: 1.8s;
}

.home-content .btn-box {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 345px;
    height: 50px;
}

.home-content .btn-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #0a1c27;
    animation: showRight 1s ease forwards;
    animation-delay: 2.0s;
    z-index: 2;
}

.btn-box a {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 300px;
    height: 100%;
    background: #00abf0;
    border: 2px solid #00abf0;
    border-radius: 8px;
    font-size: 19px;
    color: #081b29;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 1;
    transform: 0.5s;
}

.btn-box a:hover {
    color: #00abf0;
    box-shadow: 0 0 10px #5cdbbc;
}

.btn-box a:nth-child(2) {
    background-color: transparent;
    color: #00abf0;
}

.btn-box a:nth-child(2):hover {
    color: #081b29;
}

.btn-box a:nth-child(2)::before {
    background: #00abf0;
}

.btn-box a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    border-radius: 8px;
    background: #081b29;
    z-index: -1;
    transition: 0.5s;
}

.btn-box a:hover::before {
    width: 100%;
}

.home-sci {
    position: absolute;
    bottom: 40px;
    width: 150px;
    display: flex;
    justify-content: space-between;
}

.home-sci::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #0a1c27;
    animation: showRight 1s ease forwards;
    animation-delay: 2.5s;
    z-index: 2;
}

.home-sci a {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid #00abf0;
    border-radius: 50%;
    font-size: 20px;
    color: #00abf0;
    text-decoration: none;
    z-index: 1;
    overflow: hidden;
    transition: 0.5s;
}

.home-sci a:hover {
    color: #081b29;
}

.home-sci a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #00abf0;
    z-index: -1;
    transition: 0.5s;
}


.home-sci a:hover::before {
    width: 100%;
}

/* .home-imgHover {
    position: absolute;
    top: 0;
    right: 30px;
    width:500px;
    height: 100%;
    background: transparent;
    transition: 3s;
}

.home-imgHover:hover {
    background: #081b29;
    opacity: .8;
} */

.imgProp {
    opacity: 20%;
    display: grid;
    position: absolute;
    left: 30vw;
    top: 0%;
    background: transparent;
    overflow: hidden;
}

.imgProp::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #0a1c27;
    animation: showRight 1s ease forwards;
    animation-delay: 3s;
    z-index: 2;
}

.fullscreen-image {
    height: 100vh;
    object-fit: cover;
    overflow: hidden;
}

.about, .portfolio, .contact {
    height: 100vh;
    display: flex;
    padding: 80px 10%;
    justify-content: center;
}

.about-content {
    align-items: center;
    max-width: 60vw;
    margin-top: 20vh;
    overflow-x: hidden;
    scrollbar-width: thin;
}

.about-content p {
    padding: 10px 0px;
}

.heading {
    position: absolute;
    text-align: center;
    height: 10vh;
    font-size: 3.5rem;
    color: #00abf0;
}

.project-group {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10vh;
    max-width: 80vw;
    justify-content: center;
    padding: 20px 20px;
    overflow-x: hidden;
    scrollbar-width: thin;
    
}

.project-group img {
    width: 300px;
    height: 200px;
}

.portfolio-project {
    width: 300px;
    height: 260px;
    margin: auto;
    min-width: 320px;
}

.portfolio-project a {
    text-decoration: none;
}

.portfolio-project h2 {
    color: #fff;
    font-size: 1.5rem;
}

.contact .contact-box {
    margin:auto;
    padding:auto;
}

/* KEYFRAMES ANIMATION */
@keyframes showRight {
    100% {
        width: 0%;
    }
}