@import url('https://fonts.googleapis.com/css2?family=Lusitana:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rosario:ital,wght@0,300;0,400;0,500;0,600;0,700;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600&display=swap');
html {
    scroll-behavior: smooth;
}

@media (max-width: 900px) {
    section h1 {
        font-size: 40px;
    }
    section .cards {
        flex-direction: column;
    }
    section hr {
        border-bottom: 1px solid rgb(0, 0, 0);
        /* width: 600px; */
    }
}

body.home {
    opacity: 0;
    transition: opacity 3s
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* font-family: 'Montserrat', sans-serif; */
    font-family: 'Rosario', sans-serif;
    /* font-family: 'Lusitana', sans-serif; */
    line-height: 1.6;
    color: #4f4f4f;
}

.container {
    margin: 20px;
    border-radius: 10px;
}

section {
    min-height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgb(255, 255, 255);
}

figcaption {
    padding: 2px;
    font-style: italic;
    font-size: 0.75em;
}

section .cards .text-card {
    background: #2696E9;
    margin: 20px;
    padding: 20px;
}

section h1 {
    font-size: 60px;
}

section .slim {
    display: block;
    font-weight: 100;
    font-size: 4rem;
    text-align: center;
    height: 2vh;
    /* text-transform: uppercase; */
}

hr#description {
    border: 4px dotted#f9f9fa;
    border-bottom: none;
    width: 25%;
    margin: 15px 0;
}

section .cards {
    display: flex;
    width: 100%;
}

section h3 {
    font-size: 30px;
    text-align: left;
    /* text-transform: uppercase; */
    margin-bottom: 10px;
}

section .gray {
    display: inline;
    color: rgb(255, 101, 101);
}

section h4 {
    font-size: 20px;
}


/* section p {
    display: inline;
    padding: 0 20px;
} */

.header {
    width: auto;
    text-align: center;
    /* height: 5vh; */
    display: block;
}


/* 
.header .p {
    margin: auto;
} */

.reveal {
    position: relative;
    transform: translateY(150px);
    opacity: 0;
    transition: all 2s ease;
}

.reveal.active {
    transform: translateY(0px);
    opacity: 1;
}

#header p.load {
    opacity: 1;
    padding: auto;
}


/* navbar menu */

.navbar {
    display: flex;
    position: relative;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    /* background-color: #333; */
    color: #333;
}

.brand-title {
    height: 2rem;
    font-size: 1.5rem;
    margin: .5rem;
}

.navbar-links {
    height: 100%;
}

.navbar-links ul {
    display: flex;
    margin: 0;
    padding: 0;
}

.navbar-links li {
    list-style: none;
}

.navbar-links li a {
    display: block;
    text-decoration: none;
    color: #333;
    padding: 1rem;
}


/* .navbar-links li:hover {
    background-color: #555;
} */

.toggle-button {
    position: absolute;
    top: .75rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
}

.toggle-button .bar {
    height: 3px;
    width: 100%;
    background-color: #333;
    border-radius: 10px;
}

.avatar {
    width: 250px;
    /* height: auto; */
    margin: auto;
    display: flex;
    border-radius: 50%;
    padding: 20px;
}

@media (max-width: 800px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }
    .toggle-button {
        display: flex;
    }
    .navbar-links {
        display: none;
        width: 100%;
    }
    .navbar-links ul {
        width: 100%;
        flex-direction: column;
    }
    .navbar-links ul li {
        text-align: center;
    }
    .navbar-links ul li a {
        padding: .5rem 1rem;
    }
    .navbar-links.active {
        display: flex;
    }
    .avatar {
        width: 35vw;
        height: auto;
    }
}


/* Hover state for navbar */


/* Underline From Left */

.hvr-underline-from-left {
    /* display: inline-block; */
    /* vertical-align: middle; */
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    position: relative;
    overflow: hidden;
}

.hvr-underline-from-left:before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 0;
    right: 100%;
    bottom: 0;
    background: #2098D1;
    height: 4px;
    -webkit-transition-property: right;
    transition-property: right;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}

.hvr-underline-from-left:hover:before,
.hvr-underline-from-left:focus:before,
.hvr-underline-from-left:active:before {
    right: 0;
}

.footer {
    position: absolute;
    /* height: 20vh; */
    width: 100%;
    margin-top: 10px;
    background-color: #e5eff5;
    color: #96a0aa;
    padding: 2% 8%;
}

.footer p {
    font-size: .75rem;
    color: #96a0aa;
}

#top-icon {
    cursor: pointer;
    margin: 5px;
}

.social-icons {
    margin: 20px 10px;
    color: #96a0aa;
}

.social-icons:hover {
    color: #4BD8ED;
}


/*typewriter */

.writer {
    /* margin: 100px auto; */
    justify-content: center;
    align-items: center;
    /* background: #393E46; */
    /* background-image: linear-gradient(to left, #499DC2, #025984); */
    background-image: linear-gradient(to right, #4BD8ED, #427EEB);
    /* height: 30vh; */
    text-align: center;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    /* border-bottom-right-radius: 40px;
    border-bottom-left-radius: 40px; */
}

.writer p {
    /* height: 50vh; */
    /* height: auto; */
    font-size: 2rem;
    padding: 100px 0;
    font-weight: bold;
    letter-spacing: 0.1rem;
    text-align: center;
    /* overflow: hidden; */
    margin: 0;
    color: #EEEEEE;
}

.writer p span.typed-text {
    font-weight: normal;
    /* color: #00ADB5; */
    color: #F1D011;
}

.writer p span.cursor {
    display: inline-block;
    background-color: #ccc;
    margin-left: 0.1rem;
    width: 3px;
    animation: blink 1s infinite;
}

.writer p span.cursor.typing {
    animation: none;
}

@keyframes blink {
    0% {
        background-color: #ccc;
    }
    49% {
        background-color: #ccc;
    }
    50% {
        background-color: transparent;
    }
    99% {
        background-color: transparent;
    }
    100% {
        background-color: #ccc;
    }
}

@media (max-width: 900px) {
    .writer p {
        font-size: 1rem;
        padding: 50px 0;
    }
}

.project-img-l {
    margin-right: 30px;
    max-width: 100%;
    height: auto;
    float: left;
    position: relative;
}

.project-img-r {
    display: inline;
    margin: 20px 0px 0px 30px;
    max-width: 100%;
    height: auto;
    float: right;
    /* position: relative; */
}

.project-img-ctr {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    text-align: center;
}

.card-shadow {
    margin: 20px auto;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

.card-shadow:hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

.content {
    /* max-width: 100%; */
    margin: 50px;
    /* width: 90vw; */
}

#about.content {
    width: 50vw;
}


/*Image hover effect */

.image {
    position: relative;
    /* width: 100%; */
}

.image__img {
    display: block;
    width: 100%;
}

.image__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    font-family: 'Quicksand', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s;
}

.return-top {
    width: 100%;
    text-align: right;
    /* position: relative; */
    /* margin-top: 10px;
    margin-left: 93vw; */
}


/* 
.image__overlay--blur {
    backdrop-filter: blur(5px);
} */


/* 
.image__overlay--primary {
    background: #009578;
} */

.image__overlay>* {
    transform: translateY(20px);
    transition: transform 0.25s;
}

.image__overlay:hover {
    opacity: 1;
}

.image__overlay:hover>* {
    transform: translateY(0);
}

.image__title a {
    color: white;
    text-decoration: none;
    font-size: 2em;
    font-weight: bold;
    /* cursor: pointer; */
}

.image__title a:hover {
    color: #4BD8ED;
}

.image__description {
    font-size: 1.25em;
    margin-top: 0.25em;
    color: white;
}


/* Arrow */

.arrows {
    width: 60px;
    height: 100px;
    position: absolute;
    left: 50%;
    margin-left: -30px;
    bottom: 20px;
}

.arrows path {
    stroke: #2994D1;
    fill: transparent;
    stroke-width: 1px;
    animation: arrow 2s infinite;
    -webkit-animation: arrow 2s infinite;
}

@keyframes arrow {
    0% {
        opacity: 0
    }
    40% {
        opacity: 1
    }
    80% {
        opacity: 0
    }
    100% {
        opacity: 0
    }
}

@-webkit-keyframes arrow
/*Safari and Chrome*/

{
    0% {
        opacity: 0
    }
    40% {
        opacity: 1
    }
    80% {
        opacity: 0
    }
    100% {
        opacity: 0
    }
}

.arrows path.a1 {
    animation-delay: -1s;
    -webkit-animation-delay: -1s;
    /* Safari & Chrome */
}

.arrows path.a2 {
    animation-delay: -0.5s;
    -webkit-animation-delay: -0.5s;
    /* Safari & Chrome */
}

.arrows path.a3 {
    animation-delay: 0s;
    -webkit-animation-delay: 0s;
    /* Safari & Chrome */
}


/* header crve */