@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bungee&display=swap');

:root {
    --main-clr: #63cdda;
    --secondary-clr: #3dc1d3;
    --text-clr: #141414;
    --white-clr: #ffffff;
    --grey-clr: #999;
    --grey-clr2: #74808a;
}

::selection {
    background-color: var(--secondary-clr);
    color: #ffff;
}

/* General Settings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
}

html,
body {
    height: 100vh;
}

body {
    background-color: var(--white-clr);
}

a {
    text-decoration: none;
    color: var(--main-clr);
}

a:hover {
    color: var(--secondary-clr);
}

.container {
    padding: 20px;
    max-width: 75%;
    margin: 0 auto;
}

.page-title {
    font-size: 1.6em;
    margin: 1rem 0 .5rem;
}

.page-subtitle {
    font-size: 1.225em;
    margin: 1.5rem 0 .25rem;
}

/* Header & Nabigation */
header {
    padding: 10px 20px;
    -webkit-box-shadow: 0px 12px 10px -16px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 12px 10px -16px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 12px 10px -16px rgba(0, 0, 0, 0.75);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
}

.nav-logo {
    font-size: 1.5rem;
    color: var(--text-clr);
}

.nav-menu {
    display: flex;
    gap: 20px;
    list-style: none;
}

.nav-menu a {
    color: var(--text-clr);
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--secondary-clr);
}

.active {
    color: var(--main-clr);
}



/* Home Content */
.home-container {
    height: 70%;
    width: 100%;
}

.home-intro {
    max-width: 800px;
    margin: 20px auto;
    padding: 0 20px;
    text-align: center;
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.home-name {
    font-size: 2rem;
}

.title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    font-style: italic;
}

.home-greeting {
    color: var(--main-clr);
    font-size: 1.15rem;
    margin-bottom: 10px;
    opacity: 0;
}

.cursor {
    display: block;
    position: absolute;
    height: 1.15rem;
    top: 0;
    right: -5px;
    width: 2px;
    background-color: var(--main-clr);
    z-index: 1;
    -webkit-animation: flash 0.5s none infinite alternate;
    animation: flash 0.5s none infinite alternate;
}

@-webkit-keyframes flash {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes flash {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.home-bio {
    font-size: 1rem;
    margin-bottom: 20px;
}

.social-links {
    list-style: none;
    justify-content: center;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.social-links li a {
    color: var(--text-clr);
    font-size: 1.325rem;
}

.social-links li a:hover {
    color: var(--secondary-clr);
}


/* Research Content */
.research-interest {
    margin-left: 30px;
}


/* About Content */
.educ-card {
    margin-left: 30px;
}

.educ-card ul li {
    margin: 10px 0;
}

.educ {
    font-weight: bold;
}

.educ-time {
    float: right;
}

.cv-card {
    padding: 10px;
    margin: 20px 0;
    background-color: #3dc1d3;
    border-radius: .3em;
    text-align: center;
}

.cv-card a {
    color: var(--white-clr);
}


/* Contact Content */
.contact-column {
    display: flex;
    gap: 45px;
    justify-content: center;
}

.contact-socials {
    list-style: none;
}


/* Blog Content */
.blog-posts {
    margin-top: 1rem;
}

.bcard-content {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.bcard-title {
    font-size: 1.25rem;
    line-height: 1.75rem;
    color: var(--text-clr);
    margin-bottom: .25rem;
}

.bcard-date {
    color: var(--grey-clr);
    margin-bottom: .5rem;
}

.bcard-description {
    color: #222222;
} 

.bcard-hr {
    height: 1px;
    border: 0;
    background-color: #e5e7eb;
}


/* Post Content */
.post-title {
    margin-top: 1rem;
    font-size: 28px;
}

.post-date {
    color: var(--grey-clr);
    margin-bottom: 1.5rem;
}

.post-hr {
    height: 2px;
    width: 3rem;
    background-color: var(--text-clr);
    border: 0;
    margin: 2em 0;
}

.post-p {
    margin-bottom: 1.25rem;
}

.post-quotes {
    padding-left: .25rem;
    color: var(--grey-clr2);
}

.post-tags {
    margin: 1.5em 0;
}

.next-post {
    border-radius: 0.2em;
    padding: 1.45em !important;
    -webkit-box-shadow: 0 3px 20px rgba(8, 11, 80, .1);
    -moz-box-shadow: 0 3px 20px rgba(8, 11, 80, .1);
    box-shadow: 0 3px 20px rgba(8, 11, 80, .1);
    margin-bottom: 1.75em;
}

.next-post h3 {
    margin-bottom: .5rem;
}

.next-post p {
    font-weight: bold;
    color: #3dc1d3;
}

/* 404 Content */
.notf-title {
    text-align: center;
    font-family: 'Bungee', sans-serif;
}

.notf-text {
    margin: 17px 0;
}

.notf-back {
    margin: 20px 0;
    text-align: center;
}

/* Back to top button */
#back-to-top-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 26px;
    width: 50px;
    height: 50px;
    background-color: #fff;
    color: #333;
    cursor: pointer;
    outline: none;
    border: 3px solid #333;
    border-radius: 50%;
    transition-duration: 0.2s;
    transition-timing-function: ease-in-out;
    transition-property: background-color, color;
}

#back-to-top-btn:hover,
#back-to-top-btn:focus {
    background-color: #333;
    color: #fff;
}

/* Footer */
footer {
    margin-top: 20px;
    padding-bottom: 1rem;
    text-align: center;
}

.footer-note {
    color: var(--grey-clr);
}


/* -- Animations Section -- */
.btnEntrance {
    animation-duration: 0.5s;
    animation-fill-mode: both;
    animation-name: btnEntrance;
}

/* fadeInUp */
@keyframes btnEntrance {
    from {
        opacity: 0;
        transform: translate3d(0, 100%, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.btnExit {
    animation-duration: 0.25s;
    animation-fill-mode: both;
    animation-name: btnExit;
}

/* fadeOutDown */
@keyframes btnExit {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
        transform: translate3d(0, 100%, 0);
    }
}


/* -- Responsive Section -- */
/* - Mobile - */
@media only screen and (max-width: 480px) {
    .container {
        padding: 10px;
        max-width: 90%;
    }

    .nav-logo {
        display: none;
    }

    .nav-menu a {
        text-align: center;
    }

    .home-name {
        display: inline-block;
    }

    .contact-column {
        display: inline-block;
    }

    .adress,
    .tel-email,
    .social {
        margin: 20px 0;
    }
}


/* - Tablet - */
@media only screen and (max-width: 600px) {}


/* - Laptop & Desktop - */
@media only screen and (min-width: 768px) {
    #back-to-top-btn {
        font-size: 18px;
        width: 32px;
        height: 32px;
        bottom: 6px;
        right: 6px;
    }
}

@media only screen and (min-width: 992px) {
    #back-to-top-btn {
        font-size: 22px;
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
    }
}
