/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins: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&display=swap');

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    scroll-behavior: smooth;
}

/* Scroll Bar */

/* ::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

::-webkit-scrollbar-track {
    background: var(--d-background);
}

::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background: var(--d-text);
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
} */

/* End Scroll Bar */

:root {
    --d-background: #09090b;
    --background: #fafafa;
    --d-text: #fafafa;
    --text: #09090b;
    --o-text: #b1b1b1;
    --border: #ffffff33;
}

body {
    color: var(--d-text);
    background-color: var(--d-background);
    transition: 1s cubic-bezier(0.05, 1, 0.1, 1);
}

.bodyBright {
    color: var(--d-text);
    background-color: var(--background);
}

/* Snack Bar */

.snackbar {
    display: none;
    position: fixed;
    padding: 0.5rem 0.5rem;
    bottom: 0px;
    width: 100%;
    /* background-color: #75ff98; */
    background-color: rgba(92, 92, 92, 0.2);
    backdrop-filter: blur(20px);
    z-index: 1;
    animation: snackbar 0.3s ease 1 forwards;
}

.snackbar .container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.snackbar .snackbarTitle {
    color: var(--d-text);
    margin: 0.5rem;
    align-self: center;
    font-size: 18px;
}

.snackbar .snackbarTitleBright {
    color: var(--text);
}

.snackbar .btnSnackbar {
    align-self: center;
    margin: 0.5rem;
    cursor: pointer;
    color: var(--d-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: .5rem 1rem;
    color: var(--d-text);
    background: var(--d-background);
    border-radius: 6px;
}

.snackbar .btnSnackbar:hover {
    background-color: rgb(37, 37, 37);
}

@keyframes snackbar {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* EndSnack Bar */

/* Nav Bar */

nav {
    font-size: 16px;
    margin: 1rem 1rem;
    text-align: center;
}

nav a {
    margin: 2rem 1rem;
    color: var(--o-text);
    text-decoration: none;
}

nav a:hover {
    color: var(--d-text);
}

.navBright a {
    color: var(--text);
}

.navBright a:hover {
    color: var(--o-text);
}

/* End Nav Bar */

/* Hero Section */

.hero {
    padding: 6rem 0px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.heroBright h1 {
    color: var(--text);
}

.heroBright p {
    color: var(--text)
}

.hero .title {
    margin: 0.5rem 0rem;
    font-size: 48px;
    text-align: center;
}

.hero .description {
    margin: 0.5rem 0rem;
    font-size: 18px;
    max-width: 650px;
    text-align: center;
}

/* End Hero Section */

/* Generic */

.btn-container {
    margin: 1rem 0rem;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn {
    cursor: pointer;
    color: var(--d-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: .5rem 1rem;
    color: var(--text);
    background: var(--background);
    border-radius: 6px;
    transition: 1s cubic-bezier(0.05, 1, 0.1, 1);
}

.btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.btnBright {
    color: var(--d-text);
    background-color: var(--d-background);
}

.btnBright:hover {
    background-color: rgb(66, 66, 66);
}

.btn-s {
    cursor: pointer;
    color: var(--d-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: .5rem 1rem;
    color: var(--d-text);
    background: var(--d-background);
    border: 1px solid var(--border);
    border-radius: 6px;
}

.btn-s:hover {
    background-color: var(--border);
    border: 1px solid transparent;
}

.btn-sBright {
    color: var(--text);
    background: transparent;
    border: 1px solid var(--o-text);
}

.btn-sBright:hover {
    background: var(--o-text);
}

/* End Generic */

/* Project Section */

.projects {
    display: flex;
    flex-direction: column;
    max-width: 1920px;
    width: 80%;
    margin: auto;
}

.projects .navigation {
    margin: 0.5rem 0rem;
}

.navigation a {
    cursor: pointer;
    color: var(--o-text);
    float: left;
    padding: .4rem .8rem;
    transition: 1s cubic-bezier(0.05, 1, 0.1, 1);
    border-radius: 20px;
}

.navigation a:hover {
    color: var(--d-text);
}

.navigationBright a {
    color: var(--text);
}

.navigationBright a:hover {
    color: rgb(141, 141, 141);
}

.navigationBright h1 {
    color: var(--text);
}

.navActiveText {
    color: var(--d-text) !important;
    background-color: var(--border);
    transform: scale(1.1);
}

.navActiveTextBright {
    color: var(--d-text) !important;
    background-color: black;
    transform: scale(1.1);
}

.project {
    display: none;
    margin: 1rem 0rem;
    margin-bottom: 0rem;
    border: 1px solid var(--border);
    padding: 1rem;
    /* height: 800px; */
    border-radius: 10px;
    animation: fadeIn .5s ease 1 forwards;
}

.projectBright {
    border: 1px solid var(--o-text);
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: scale(0.98);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.project iframe {
    height: 500px;
    overflow: hidden;
    border-radius: 5px;
}

.projectShow {
    display: block;
}

.projectInfo {
    padding: 1rem;
    color: var(--d-text);
    display: flex;
    flex-direction: row;
    gap: 1rem;
    /* border: 1px solid var(--border); */
    border-radius: 5px;
}

.projectInfoBright {
    color: var(--text);
}

.projectInfo div {
    margin: auto;
}

.projectInfo img {
    height: 10rem;
    width: 10rem;
    margin: auto;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.13);
}

.projectInfo iframe {
    width: 100%;
}

.projectInfo .date {
    margin: 0.5rem;
    color: grey;
}

.projectInfo .description {
    margin: 0.5rem 0rem;
}

.projectInfo .btn-container {
    margin: 0 0 0.5rem 0;
}

.imageSlider {
    display: flex;
    white-space: nowrap;
    overflow-x: scroll;
    flex-direction: row;
    gap: 1rem;
}

.imageSlider img {
    cursor: zoom-in;
    border-radius: 5px;
    width: 20%;
    transition: 1s cubic-bezier(0.05, 1, 0.1, 1);
}

.imageEnlarge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transform: scale(1.3);
    cursor: zoom-out;
    box-shadow: 0px 0px 500px black, 0px 0px 500px black, 0px 0px 500px black;
}

/* End Project Section */

/* About Section */

.about {
    margin: auto;
    margin-top: 3rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-evenly;
    padding: 1rem 1rem;
    width: 90%;
}

.about .card {
    padding: 1rem;
    color: var(--d-text);
    border-radius: 10px;
    border: 0.5px solid var(--border);
    transition: 0.8s cubic-bezier(0.05, 1, 0.1, 1);
}

.about .card:hover {
    transform: scale(1.05);
    box-shadow: 0px 10px 80px rgba(0, 0, 0, 0.4);
}

.cardC1 {
    background: linear-gradient(90deg, rgb(108, 199, 112) 0%, rgb(105, 197, 133) 100%);
}

.cardC2 {
    background: linear-gradient(90deg, rgb(107, 158, 192) 0%, rgb(110, 118, 192) 100%);
}

.cardC3 {
    background: linear-gradient(90deg, rgb(168, 98, 141) 0%, rgb(202, 105, 105) 100%);
}

.aboutTitle {
    margin-top: 4rem;
    text-align: center;
    font-size: 42px;
    color: var(--d-text);
}

.aboutTitleBright {
    color: var(--text);
}

.about .card h1 {
    font-size: 32px;
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 1rem;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.4);
}

.about .card p {
    padding: 1rem;
    font-size: 18px;
    max-width: 400px;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

/* End About Section */

/* inspiration Section */

.inspiration {
    width: 80%;
    margin: auto;
    padding: 6rem 0px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    text-align: center;
}

.inspirationBright {
    color: var(--text);
}

/* End inspiration Section*/

/* Footer */

footer {
    margin-top: 1rem;
    padding: 0.5rem 0rem;
    width: 100%;
    color: var(--d-text);
    text-align: center;
    background-color: var(--d-background);
    transition: 1s cubic-bezier(0.05, 1, 0.1, 1);
}

.footerBright {
    color: var(--text);
    background-color: var(--background);
}

/* End Footer */

/* Media Query */

@media (max-width: 975px) {
    .imageSlider img {
        width: 30%;
    }
}

@media (max-width: 675px) {
    .hero {
        margin-left: 2rem;
        margin-right: 2rem;
    }

    .imageSlider {
        flex-direction: column;
    }

    .imageSlider img {
        width: 100%;
    }

}

@media (max-width: 475px) {
    .hero {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .projectInfo {
        flex-direction: column;
    }

    .projects {
        max-width: 90%;
    }
}

/* Media Query */