@font-face {
    font-family: 'Audiowide';
    src: url('fonts/Audiowide-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'ConcertOne';
    src: url('fonts/ConcertOne-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'MontserratAlternates';
    src: url('fonts/MontserratAlternates-BoldItalic.ttf') format('truetype');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: #0a0f27;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
}

header {
    padding: 10px 20px;
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

#head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#options {
    display: flex;
    font-family: 'ConcertOne';
    gap: 20px;
}

#head h1 {
    position: relative;
    display: flex;
    background: linear-gradient(to bottom, #000066 0%, #00ccff 50%, white 100%);
    background-clip: text;
    color: transparent;
    font-family: 'MontserratAlternates';
    font-size: 80px;
}

#head h1::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #0a0f27;
    opacity: 0.8;
    animation: showRight 1s ease forwards;
    animation-delay: .4s;
}

#options a {
    color: white;
    text-decoration: none;
    font-size: x-large;
    margin: 0;
    cursor: pointer;
    transition: color 0.3s ease;
    opacity: 0;
    animation: slideRight 1s ease forwards;
    animation-delay: calc(.4s * var(--i));
}

#options a:hover,
#options a.active {
    color: #18ad68;
}

#contact {
    margin-top: 0px;
    min-height: 80vh;
}

html,
body {
    scroll-behavior: smooth;
    overflow: hidden;
}

#home {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
}

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

.home-content h1 {
    position: relative;
    font-size: 56px;
    font-family: 'Audiowide';
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.7vh;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 3px 3px 0 #00abf0, -3px -3px 0 #00abf0, 3px -3px 0 #00abf0, -3px 3px 0 #00abf0;
}

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

.home-content h3 {
    position: relative;
    font-size: 32px;
    font-weight: 700;
    font-family: 'Audiowide';
    letter-spacing: 0.7vh;
    color: #00abf0;
    text-shadow: 2px 2px 0 #ffffff, -2px -2px 0 #ffffff, 2px -2px 0 #ffffff, -2px 2px 0 #ffffff;
}

.home-content h3::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #0a0f27;
    opacity: 0.8;
    animation: showRight_h3 3s ease infinite;
    animation-delay: 1.4s;
}

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

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

.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: #0a0f27;
    opacity: 0.8;
    animation: showRight 1s ease forwards;
    animation-delay: 2s;
    z-index: 2;
}

.btn-box a {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 100%;
    background: #00abf0;
    border: 2px solid #00abf0;
    border-radius: 8px;
    font-size: 19px;
    font-family: 'ConcertOne';
    color: #0a0f27;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 1;
    overflow: hidden;
    transition: .5s;
}

.btn-box a:nth-child(1) {
    border: 2px solid white;
    transition: .5s;
}

.btn-box a:nth-child(1):hover {
    border: 2px solid #00abf0;
}

.btn-box a:hover {
    color: #00abf0;
}

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

.btn-box a:nth-child(2):hover {
    color: #0a0f27;
    border: 2px solid white;
}

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

.btn-box a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #0a0f27;
    z-index: -1;
    transition: .5s;
}

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

.home-img {
    position: relative;
    padding: 30px;
    margin: 30px 50px;
}

.home-img img {
    display: block;
    margin-top: 100px;
    margin-left: 60px;
    padding: 30px;
    width: 110vh;
    height: 110vh;
    animation: moveUpDown 3s ease-in-out infinite;
}

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

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

.home-sci::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #0a0f27;
    opacity: 0.8;
    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;
    text-decoration: none;
    color: #00abf0;
    z-index: 1;
    overflow: hidden;
    transition: .5s;
}

.home-sci a i {
    background: transparent;
    color: #00abf0;
}

.home-sci a:hover>i {
    color: #0a0f27;
}

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

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

#contact {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
}

.contact-content {
    background-color: white;
    padding: 20px;
    border-radius: 30px;
    box-shadow: 8px 4px 8px #00abf0;
    max-width: 800px;
    width: 450px;
    height: 75vh;
    margin: 0 auto;
    margin-top: 10vh;
    color: #333;
}

.contact-name {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid black;
    box-shadow: 8px 4px 8px black;
    max-width: 800px;
    width: 350px;
    height: 10vh;
    margin: 0 auto;
    margin-top: 10px;
    color: #333;
    display: flex;
    align-items: center;
}

.contact-mail {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid black;
    box-shadow: 8px 4px 8px black;
    max-width: 800px;
    width: 350px;
    height: 10vh;
    margin: 0 auto;
    margin-top: 10px;
    color: #333;
    display: flex;
    align-items: center;
}

.sendbtn-box {
    background-color: transparent;
    position: relative;
    margin: 0 auto;
    margin-top: 7vh;
    margin-left: 32vh;
    display: flex;
    width: 345px;
    height: 50px;
}

.sendbtn-box button {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-family: 'ConcertOne';
    width: 150px;
    height: 100%;
    background: #00abf0;
    border: 3px solid black;
    box-shadow: 8px 4px 8px black;
    border-radius: 8px;
    font-size: 19px;
    color: black;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 1;
    overflow: hidden;
    transition: .5s;
}

.sendbtn-box button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: white;
    z-index: -1;
    transition: .5s;
}

.sendbtn-box button:hover {
    color: black;
}

.sendbtn-box button:hover::before {
    width: 100%;
}

.contact-name input {
    background-color: transparent;
    border: none;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    color: #333;
    font-size: 24px;
}

input,
textarea {
    font-family: 'ConcertOne';
}

.contact-name input:focus {
    outline: none;
}

.contact-mail input {
    background-color: transparent;
    border: none;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    color: #333;
    font-size: 20px;
}

.contact-mail input:focus {
    outline: none;
}

.contact-description {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid black;
    box-shadow: 8px 4px 8px black;
    max-width: 800px;
    width: 350px;
    height: 30vh;
    margin: 0 auto;
    margin-top: 10px;
    color: #333;
}

.contact-description textarea {
    background-color: transparent;
    border: none;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    color: #333;
    font-size: 16px;
    margin: 0;
    padding: 0px;
    vertical-align: top;
    resize: vertical;
}

.contact-description textarea:focus {
    outline: none;
}

#skills {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 10%;
}

.skill-content {
    display: flex;
    flex-direction: column;
    position: relative;
    max-width: 100%;
}

.skill-content::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #0a0f27;
    opacity: 0.8;
    animation: showRight 1s ease forwards;
    animation-delay: .4s;
}

#skills .skill-content h2 {
    font-family: 'Audiowide';
    margin-bottom: 2%;
    background: linear-gradient(to bottom, #e3f2fd 0%, #64b5f6 50%, #1976d2 100%);
    background-clip: text;
    color: transparent;
    font-size: 10vh;
}

.skill-icon {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 20px;
    position: relative;
}

.skill {
    height: 15vh;
    width: 15vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: .5s;
    background-color: transparent;
    border-radius: 30px;
    overflow: hidden;
}

.skill-icon::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #0a0f27;
    opacity: 0.8;
    animation: showRight 1s ease forwards;
    animation-delay: .4s;
}

.skill::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #0a0f27;
    opacity: 0.8;
    animation: showRight 1s ease forwards;
    animation-delay: .4s;
}

.skill-icon .skill i {
    display: flex;
    border-radius: 10px;
    padding: 5px;
    justify-content: center;
    align-items: center;
    height: 10vh;
    width: 10vh;
    background-color: transparent;
    color: #00abf0;
    font-size: 10vh;
    overflow: hidden;
    transition: .5s;
}

.skill-icon .skill h3 {
    background-color: transparent;
    color: #00abf0;
    font-size: 20px;
    font-family: 'ConcertOne';
    transition: .5s;
}

.skill-icon .skill:hover {
    background-color: #00abf0;
    border: 3px solid white;
    border-radius: 30px;
}

.skill-icon .skill:hover>i {
    color: #0a0f27;
}

.skill-icon .skill:hover>h3 {
    color: #0a0f27;
}

#about {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
    padding-left: 10px;
}

.about-img {
    position: relative;
    justify-content: center;
    margin: 30px 0px;
}

.about-img img {
    display: block;
    margin-top: 100px;
    padding: 30px;
    padding-left: 0px;
    width: 80vh;
    height: auto;
    animation: moveUpDown 3s ease-in-out infinite;
}

.about-img::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #0a0f27;
    opacity: 0.8;
    animation: showRight 1s ease forwards;
    animation-delay: 2s;
    z-index: 1;
}

.about-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    align-items: center;
    padding: 20px;
    background-color: #0a0f27;
    border: 3px solid white;
    box-shadow: 8px 4px 8px #00abf0;
    border-radius: 30px;
    height: auto;
    width: 300vh;
    margin-top: 10vh;
    max-width: 800px;
    overflow: hidden;
}

.about-content::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #0a0f27;
    opacity: 0.8;
    animation: showRight 1s ease forwards;
    animation-delay: 2s;
    z-index: 1;
}

.about-content h1 {
    font-family: 'Audiowide';
    font-size: xx-large;
    background: linear-gradient(to bottom, #e3f2fd 0%, #64b5f6 50%, #1976d2 100%);
    background-clip: text;
    color: transparent;
}

.about-content h3 {
    font-family: 'Audiowide';
    font-size: x-large;
    color: #18ad68;
}

.about-content p {
    font-size: 16px;
    font-family: 'ConcertOne';
}

#more-text {
    margin-top: 20px;
}

#read-more-btn {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-family: 'ConcertOne';
    width: 150px;
    height: 50px;
    margin-top: 20px;
    background: #0a0f27;
    border: 3px solid #00abf0;
    box-shadow: 8px 4px 8px white;
    border-radius: 20px;
    font-size: 19px;
    color: #00abf0;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
}

#projects {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
}

.project-content {
    display: flex;
    flex-direction: column;
    position: relative;
}

.project-content::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #0a0f27;
    opacity: 0.8;
    animation: showRight 1s ease forwards;
    animation-delay: .4s;
}

.project-content h2 {
    margin-bottom: 5vh;
    background: linear-gradient(to bottom, #e3f2fd 0%, #64b5f6 50%, #1976d2 100%);
    background-clip: text;
    color: transparent;
    font-size: 10vh;
    font-family: 'Audiowide';
}

.project-box {
    display: flex;
    flex-direction: row;
    gap: 40px;
}

.project {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: url('images/cse_login.png');
    background-repeat: no-repeat;
    background-size: cover;
    border: 3px solid #00abf0;
    box-shadow: 8px 4px 8px white;
    border-radius: 30px;
    height: 50vh;
    width: 40vh;
    overflow: hidden;
    transition: transform 0.5s ease-out;
    transform: scale(1);
    opacity: 0;
    animation: slideRight 1s ease forwards;
    animation-delay: calc(.4s * var(--i));
}

.project h2,
.project h3 {
    background-color: transparent;
    color: transparent;
    opacity: 0;
    font-size: 30px;
    font-family: 'ConcertOne';
    transition: color 0.3s;
}

.project a {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    color: transparent;
    margin-top: 25vh;
    text-decoration: none;
    height: 6vh;
    width: 30vh;
    border: 5px solid transparent;
    font-weight: 200;
    font-family: 'ConcertOne';
    border-radius: 20px;
    opacity: 0;
}

.project::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0a0f27;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.project:hover::before {
    opacity: 0.8;
}

.project:hover>h2,
.project:hover>h3 {
    color: #ffffff;
    opacity: 1;
}

.project:hover>a {
    color: white;
    border-color: white;
    opacity: 1;
}


/* KEYFRAMES ANIMATIONS */

@keyframes showRight {
    100% {
        width: 0;
    }
}

@keyframes showRight_h3 {
    100% {
        width: 0;
        opacity: 0.8;
        background-color: #0a0f27;
    }
}

@keyframes slideRight {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0px);
        opacity: 1;
    }
}

@keyframes moveUpDown {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(20px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes popOut {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.1);
    }
}