/*
pink: ##C25EB6
dark: #6A6788
purple: ##9C98CE
light: #D5D2E5

font-family: 'Pacifico', cursive;
font-family: 'Roboto Slab', serif;
*/
a {
    text-decoration: none;
}

/*Navbar*/
.navbar {
    padding: 0 0 3.5rem 0;
}

.nav-item {
    padding: 0 18px;
}

.nav-link {
    font-size: 1.2rem;
    font-weight: 300;
}

.nav-item a:hover {
    color: #c25eb6 !important;
}

.nav-link:hover {
    color: #c25eb6 !important;
}

.navbar-brand {
    font-family: "Roboto Slab", serif;
    font-size: 2rem;
    font-weight: 400;
    color: #d5d2e5 !important;
}

/*Title*/
#title {
    color: #d5d2e5;
    background-color: #9c98ce;
    text-align: center;
}

.title-image {
    width: 15%;
    padding-bottom: 3%;
}

.title-text {
    font-family: "Pacifico", cursive;
    font-size: 4.3rem;
    text-align: center;
}

.title-subtitle {
    font-family: "Roboto Slab", serif;
    font-weight: 300;
    padding-top: 2%;
    text-align: center;
    width: 500px;
    margin: 0 auto;
    height: 85px;
}

.typing {
    border-right: 2px solid #d5d2e5; /* Cursor effect */
    white-space: nowrap;
    overflow: hidden;
    animation: typing 2s steps(30, end), forwards, blink-caret 0.5s step-end infinite;
}


@keyframes typing {
    from {
        width: 1ch;
    }
    to {
        width: 37ch;
    }
}

@keyframes blink-caret {
    20% {
        border-color: transparent;
    }
}

/*About*/
#about {
    background-color: #d5d2e5;
    color: #9c98ce;
    padding: 3% 15% 6% 15%;
}

.profile-image {
    width: 68%;
    border-radius: 100%;
    margin-top: 25%;
    margin-left: 10%;
    border: solid 5px;
}

.image-col {
    text-align: center;
}

.about-title {
    font-family: "Roboto Slab", serif;
    font-weight: 700;
    font-size: 4.3rem;
    padding-bottom: 0;
    margin: 0;
}

.subheading {
    font-family: "Roboto Slab", serif;
    font-weight: 300;
    padding: 0 0 4% 0;
}

.about-text {
    font-family: "Roboto Slab", serif;
}

/*Projects*/
#projects {
    color: #d5d2e5;
    background-color: #9c98ce;
    padding: 3% 15% 6% 15%;
}

.projects-title {
    font-family: "Roboto Slab", serif;
    font-weight: 700;
    font-size: 4.3rem;
    padding-bottom: 0;
    margin: 0;
}
.width-container {
    max-width: 1400px;
    margin: 0 auto;
}

.right-align {
    text-align: right;
}

.weather-img {
    width: 400px;
    margin: 5px;
    border: solid 2px #d5d2e5;
    border-radius: 8px;
}

.weather-floating-text {
    position: relative;
    width: 300px;
    top: 200px
}

.img-one {
    position: relative;
    left: -100px;
    bottom: 575px;
}

.img-two {
    position: relative;
    left: -360px;
    bottom: 612px;
}

.img-three {
    position: relative;
    left: -100px;
    bottom: 655px;
}

.img-four {
    position: relative;
    left: -360px;
    bottom: 702px;
}

.weather-text {
    font-family: "Roboto Slab", serif;
    font-size: 1.2rem;
}

.weather-bottom-row {
    flex-direction: row;
}

.project-title {
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 15px;
}

.img-container {
    height: 400px;
}

.library-img {
    width: 400px;
    margin: 5px;
    border: solid 2px #d5d2e5;
    border-radius: 8px;
}

.library-img-two {
    position: relative;
    left: -350px;
    bottom: 612px;
}

/*Contact*/
#contact {
    background-color: #d5d2e5;
    color: #9c98ce;
    padding: 4% 15% 0.5% 15%;
    font-family: "Roboto Slab", serif;
}

.contact-title {
    font-family: "Roboto Slab", serif;
    font-weight: 700;
    font-size: 4.3rem;
    padding-bottom: 0;
    margin: 0;
}

.left-align {
    text-align: left;
}

.feature-icon {
    color: #6a6788;
    margin-bottom: 1rem;
}

.feature-icon:hover {
    color: #c25eb6;
}

h4 {
    color: #9c98ce;
}

.feature-box {
    text-align: center;
    padding: 10% 0 0 0;
}

.copyright {
    padding: 16% 0 0 0;
    text-align: center;
}

/*Media*/
@media (max-width: 1028px) {
    .profile-image {
        width: 68%;
        border-radius: 100%;
        border: solid 5px;
        margin: 2%;
    }

    .weather-bottom-row {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 1510px) {
    .weather-floating-text {
        position: static;
        margin: 0 auto;
        width: 600px;
    }
    .project-title {
        text-align: center;
    }

    .img-one, .img-two, .img-three, .img-four, .library-img-two {
        position: static;
        display: flex;
        justify-content: center;
    }

    .img-container {
        height: fit-content;
        align-items: center !important;
    }
}

/*back to top button*/
#btn-back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
}

.btn-light {
    background-color: #6a6788 !important;
}
