@import url("https://fonts.googleapis.com/css2?family=Comfortaa:wght@300&display=swap");

body {
    background-color: #ece8d9;
    font-family: "Comfortaa", cursive;
    transition: 2s;
    color: #494949;
}

/* DARK - LIGHT MODE*/
.night-toggle {
    width: 33px;
    height: 33px;
    right: 20px;
    top: 40px;
    position: absolute;
}

.night-toggle:hover {
    cursor: pointer;
}

.moon {
    background-color: transparent;
    box-shadow: -6px 1px 0 3px #163b5c;
    border-left: 3px solid #1a2e47;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    margin-left: 8px;
    margin-top: 0px;
    transition: 2s;
}

.sun {
    background-color: #f3e964;
    box-shadow: 2px 0px 0px 1px #c9a557;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    transition: 2s;
}

/* SECTIONS */
.white-section {
    padding-top: 15px;
    padding-bottom: 10px;
}

.section-color {
    transition: all 1.2s ease-in;
    background-color: #fffdf6;
}

/* NAVIGATION */
nav {
    display: flex;
    justify-content: space-evenly;
    height: 90px;
    font-weight: bold;
    align-items: center;
}

.navigation {
    font-size: 1.2rem;
    text-decoration: none;
    color: #494949;
    transition: font-size 0.4s, color 1.2s ease-in !important;
}

.navigation:hover {
    font-size: 1.3rem;
}

/* ABOUT ME */
.row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.column1 {
    flex: 50%;
    text-align: center;
    padding-top: 10%;
    padding-bottom: 10%;
    padding-left: 10%;
    padding-right: 10%;
}

.column1 h1 {
    font-size: xx-large;
}

.column1 p {
    font-size: large;
}

.column2 {
    flex: 50%;
    text-align: center;
    justify-content: center;
    align-items: center;
    padding-top: 1%;
    padding-bottom: 1%;
}

.column2 img {
    width: 80%;
    border-radius: 2%;
}

/* PROJECT TITLE AND DESCRIPTION */
.projects h1 {
    font-family: "Comfortaa", cursive;
    font-size: xx-large;
    text-align: center;
    align-items: center;
}

.projects h2 {
    font-family: "Comfortaa", cursive;
    text-align: center;
    align-items: center;
}

.projects p {
    font-family: "Comfortaa", cursive;
    font-size: large;
    text-align: center;
    align-items: center;
}

/* FOOTER */
footer {
    /* background-color: white; */
    display: flex;
    padding-top: 20px;
    padding-bottom: 20px;
    flex-direction: row;
    width: 100%;
}

footer p {
    font-family: "Comfortaa", cursive;
    text-align: center;
    align-items: center;
}

.footer1 {
    width: 50%;
    margin-top: 30px;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.footer2 {
    width: 50%;
    text-align: center;
    justify-content: center;
    align-items: center;
}

i {
    font-size: 1.4rem;
    color:#494949;
    transition: 0.6s;
}

i:hover {
    font-size: 1.6rem;
}

/* ARROW */

#arrow-up-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

#arrow-up-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #494949;
    text-decoration: none;
    opacity: 0.5;
    transition: opacity 0.2s;
}

#arrow-up-link:hover {
    opacity: 1;
}

.fa-arrow-up {
    color: #ece8d9;
    font-size: 20px;
}

/* MORE BUTTON */
#load-more-button {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 120px;
    height: 40px;
    border-radius: 10px;
    background-color: #494949;
    color: #ece8d9;
    text-decoration: none;
    opacity: 0.5;
    transition: opacity 0.2s, font-size 0.4s;
    margin: 10px;
    cursor: pointer;
}

#load-more-button:hover {
    opacity: 1;
    font-size: 1.1rem;
}

@media screen and (max-device-width: 560px) {
    nav {
        padding-right: 50px;
    }

    .navigation {
        font-size: 1rem;
    }

    .row {
        flex-direction: column;
    }

    .column1 {
        flex: 100%;
    }

    .column2 {
        flex: 100%;
        padding-bottom: 20px
    }

    footer {
        flex-direction: column;
    }

    .footer1 {
        margin-top: 10px;
        width: 100%;
    }

    .footer2 {
        margin-top: 20px;
        width: 100%;
    }
}