*{
    font-family: ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;
    margin: 0;
    background-color: #f6eee3;
}

#about, #projects, #contact {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    padding: 0;
}
#contact .column-2 {
    display: flex;
    flex-direction: column;
}
.profile-intro {
    width: 70%;
}
.profile-intro p {
    font-size: 1.2em;
    line-height: 2em;
}
.sidebar {
    display: flex;
    position: fixed;
    z-index: 3;
    top: 0;
    left: 0;
    height: 100vh;
    width: 25%;
    text-align: center;
    align-items: center;
    justify-content: center;
}
.sidebar ul {
    list-style: none;
    padding: 0;
}
.column-2 {
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    width: 75%;
    height: 100vh;
}

.column-2 img {
    width: 30%;
}

#about .column-2 {
    display: flex;
    flex-direction: column;
    gap: 10em;
}

#about .column-2, #projects .column-2, #contact .column-2 {
    margin-left: 25%;
}
.logos {
    display: flex;
    gap: 10em;
}
.logos img {
    width: 6em;
    filter: grayscale(100%);
    mix-blend-mode: luminosity;
    aspect-ratio: 3/2;
    object-fit: contain;
    transition: filter 300ms;
}
.logos img:hover {
    filter: grayscale(0);
    mix-blend-mode: unset;
    transition: filter 300ms;
}
.sidebar h1 {
    margin-bottom: 1em;
}
#projects .column-2 {
    display: flex;
    flex-direction: column;
    gap: 1em;
}
.projects-gallery {
    display: flex;
    flex-direction: row;
    gap: 1em;
    padding-left: 1em;
    padding-right: 1em;
}
.projects-gallery img {
    width: 100%;
}
.sidebar-nav li {
    padding-bottom: 0.5em;
}
.sidebar-nav li a {
    text-decoration: none;
    color: gray;
}
.projects-gallery img {
    filter: grayscale(100%);
    transition: filter 300ms, border-radius 300ms, transform 300ms;
}
.projects-gallery img:hover {
    filter: grayscale(0);
    transform: scale(1.05);
    transition: filter 300ms, border-radius 300ms, transform 300ms;
}
.projects-gallery-img {
    overflow: hidden;
    border-radius: 1em;
}
.projects-gallery-img:hover {
    border-radius: 1em;
}
form {
    display: flex;
    flex-direction: column;
    row-gap: 2em;
    margin-top: 2em;
}
form input {
    height: 3em;
    border-radius: 1em;
    padding-left: 1em;
    border: 2px solid gray;
}
form textarea {
    border-radius: 1em;
    border: 2px solid gray;
    padding: 1em;
}

/* Preloader */
/* .preloader {
    height: 100vh;
    display: flex;
    align-items: center;
    z-index: 9;
}
@keyframes rotate {
    0% {
        transform: rotate(0deg);
   }
    50% {
        transform: rotate(180deg);
   }
    100% {
        transform: rotate(360deg);
   }
}
@keyframes rotate2 {
    0% {
        transform: rotate(0deg);
        border-top-color: rgba(0, 180, 54, 0.5);
   }
    50% {
        transform: rotate(180deg);
        border-top-color: rgb(0, 133, 29);
   }
    100% {
        transform: rotate(360deg);
        border-top-color: rgba(0, 180, 54, 0.5);
   }
}
* {
    box-sizing: border-box;
}
.loader {
    position: relative;
    margin: 75px auto;
    width: 150px;
    height: 150px;
    display: block;
    overflow: hidden;
}
.loader div {
    height: 100%;
}
.loader4, .loader4 div {
    border-radius: 50%;
    border: 2px solid transparent;
    padding: 4px;
    animation: rotate2 4s infinite linear;
}
div:hover {
    animation-play-state: paused;
}
.loader, .loader * {
    will-change: transform;
} */
/* for mobile */
@media only screen and (max-width: 767px) {
    .logos {
        display: flex;
        flex-direction: column;
    }
    .sidebar {
        display: none;
    }
    #about .column-2, #projects .column-2, #contact .column-2 {
        margin-left: unset; 
    }
    .profile-intro {
        width: unset;
    }
    .profile-intro p {
        font-size: 1em;
    }
    #about .column-2 {
        gap: 5em;
    }
    form {
        width: 100%;
    }
    .logos {
        flex-direction: row;
        gap: 1em;
    }
    .logos img {
        width: 3em;
    }
    .projects-gallery {
        flex-direction: column;
    }
    #projects .column-2, section#projects {
        height: auto;
    }
}
/* for tablet */
@media only screen and (min-width: 768px) and (max-width: 1024px) { 
    .sidebar {
        display: none;
    }
    .logos {
        display: flex;
        flex-direction: row;
        gap: 2em;
    }
    #about .column-2, #projects .column-2, #contact .column-2 {
        margin-left: unset;
    }
    .profile-intro {
        width: 100%;
    }
    form {
        width: 100%;
    }
}
