:root {
    --bg-color: #2c2c2c;
    --primary-color: #a7a7a7;
    --secondary-color: #696969;
    --tertiary-color: #575757;
    --text-color: #e9e9e9;
    --accent-color: #99d7ff;
}
@font-face {
    font-family: 'Amsterdam One';
    src: url(../assets/tools/AmsterdamOne-eZ12l.woff) format('woff');
}
* , *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: none;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: "Montserrat", sans-serif;
}
#notice {
    color: var(--secondary-color);
    font-weight: bolder;
}
.main-container {
    min-height: 100vh;
    width: 100%;
    display: inline-block;
}
.main-container section {
    margin: 10px;
    max-height: 100vh   ;
    width: 30%;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    scroll-snap-align: start;
    scroll-behavior: smooth;
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.main-container section::-webkit-scrollbar {
    display: hidden;
}
.intro-container {
    margin: 20px 10px;
    display: flex;
    flex-direction: column;
}
.intro-container h1 {
    font-family: 'Amsterdam One';
    font-size: 1.5rem;
    text-align: center;
}
.intro-container h3 {
    margin-top: 20px;
    font-weight: 500;
    font-size: 1rem;
    color: var(--primary-color);
}
.intro-container p {
    font-size: 0.9rem;
    color: var(--primary-color);
}

section hr {
    width: 200px;
    border: 1px solid var(--primary-color);
    margin-bottom: 10px;
}
nav ul li {
    padding-left: 5px;
    display: flex;
    align-items: center;
    list-style: none;
    margin: 15px 5px;
    transition: 60ms ease-in;
}
#nav-logo {
    display: none;
}
nav ul li:hover {
    border-left: 2px solid var(--accent-color);
}
nav ul li img {
    height: 20px;
    width: auto;
    margin-right: 8px;
}
nav ul li a {
    text-decoration: none;
    transition: 60ms ease-in;
}
nav ul li a:hover {
    color: var(--accent-color);
}
.logo-container {
    display: flex;
    justify-content: center;
}
.logo-container img {
    height: 110px;
    width: 110px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
}
.logo-container img:hover {
    cursor: pointer;
    border-color: var(--accent-color);
}
.socials-container h3 {
    margin-top: 20px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--primary-color);
}
.icons-container {
    margin: 10px 0 0 0;
}
.icons-container a {
    text-decoration: none;
    margin: 0;
    padding: 0;
}
.icons-container img {
    height: 20px;
    width: 20px;
    margin-right: 10px;
}
section footer {
    margin-bottom: 20px;
}
section footer h3 {
    margin-top: 20px;
    font-weight: 500;
    font-size: 1rem;
    color: var(--primary-color);
}
section footer p {
    font-size: 0.9rem;
    color: var(--primary-color);
}
.main-container section {
    border-right: 1px solid var(--secondary-color);
}
main {
    width: 70%;
    min-height: 100vh;
    overflow-y: auto;
}
main .header-container {
    margin: 40px 10px 20px 25px;
    display: flex;
    align-items: center;
}
main .header-container img {
    width: 50px;
    height: 50px;
    margin-right: 15px;
}
main {
    width: 70%;
    float: right;
}
main .header-container h1 {
    color: var(--accent-color);
}
main .projects-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 1rem;
}
.project-card {
    width: 380px;
    height: 320px;
    background-color: var(--secondary-color);
    margin: 20px;
}
.project-card img {
    width: 380px;
    max-width: 380px;
    height: auto;
    max-height: 240px;
}
.projects-container h3 {
    margin: 10px;
}
.project-card h3, .buttons-container, .buttons-container a {
    background-color: var(--secondary-color);
}
.buttons-container {
    display: flex;
    margin-top: 5px;
}
.buttons-container a {
    color: var(--accent-color);
    font-size: 0.8rem;
    text-decoration: none;
    margin: 8px 10px;
    padding: 10px 35px;
    border: 1px solid var(--accent-color);
    transition: 60ms ease-in-out;
}
.buttons-container a:hover {
    background-color: var(--accent-color);
    color: var(--tertiary-color);
}
.disable-button {
    opacity: 0.5;
    cursor: not-allowed;
}
#spotlight {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(135, 215, 255, 0);
    pointer-events: none;
    z-index: 9999;
    transition: all 0.1s ease-out;
    box-shadow: 0 0 200px 60px rgba(135, 215, 255, 1);
}

.project-info-container {
    margin: 50px 10px;
    align-items: center;
    display: flex;
    flex-direction: column;
}

.project-info-container img {
    width: 70%;
    height: auto;
}

.information-holder {
    width: 70%;
    margin: 10px 0;
}

.technologies-container {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.technologies-container img {
    margin: 0 5px;
    width: 20px;
    height: auto;
}

.technologies-container p {
    margin: 10px 0;
    font-size: 0.8rem;
    color: var(--primary-color);
}

.project-description p {
    text-align: justify;
    font-size: 0.9rem;
}

.project-description span {
    font-weight: bolder;
}

.project-description ul {
    margin-top: 10px;
    margin-left: 20px;
    font-size: 0.9rem;
}

@media screen and (max-width: 768px) and (pointer: coarse) {
    .main-container section {
        width: 100%;
        height: auto;
        position: static;
        border-right: none;
        display: none;
    }

    .navigation-controller {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100vw;
        max-width: 100vw;
        height: 70px;
        border-bottom: 1px solid var(--primary-color);
        transition: 40ms ease-in-out;
    }

    .navigation-controller h3 {
        margin: 0 20px;
        font-family: 'Amsterdam One';
        font-size: 1.05rem;
    }

    #toggle-icon {
        padding: 0;
        margin: 0 20px;
        width: 30px;
        height: auto;
        cursor: pointer;
        font-size: 16px;
        border: none;
        border-radius: 5px;
    }
    
    main {
        width: 100%;
        float: none;
    }
    
    .main-container {
        display: block;
    }
    
    .main-container section, main {
        margin: 0;
        padding: 5px;
    }

    .header-container {
        justify-content: left;
    }

    .header-container img, .header-container h1 {
        transform: scale(0.7);
    }
    .header-container h1 {
        margin-left: -30px;
    }

    #navigation-bar {
        justify-content: center;
        align-items: center;
        width: 100vw;
    }

    .intro-container h1 {
        font-size: 1.2rem;
    }
    
    .intro-container h3, .intro-container p, section footer h3, section footer p {
        font-size: 0.8rem;
    }
    
    .logo-container img {
        height: 80px;
        width: 80px;
    }

    .project-card {
        width: 300px;
        height: 290px;
    }
    .project-card img {
        width: inherit;
    }
    
    #project {
        width: 100%;
        margin-top: 40px;
        padding: 0;
    }

}

@media screen and (max-width: 480px) {
    .main-container {
        margin: 0;
        padding: 0;
        width: 100vw;
    }
    .main-container section {
        border: none;
    }
    .main-container main {
        margin: 0;
        border: none;
    }
    .intro-container h1 {
        font-size: 1rem;
    }
    
    .project-card {
        width: 100%;
    }
    
    .buttons-container a {
        padding: 8px 20px;
        font-size: 0.7rem;
    }

    .project-info-container {
        width: 100vw;
        /* border: 1px solid white; */
    }
}
