html{
    scroll-behavior: smooth;
}
*{
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    color: #fff;
}

@font-face {
    font-family: 'blackfuture';
    src: url('assets/fonts/Black\ Future.otf');
    font-weight: bold;
}

body{
    background: linear-gradient(to bottom, #000, #001e31);
}

.logo{
    position: fixed;
    top: 5px;
    display: flex;
    left: 20px;
    height: min(50px, 10%);
}

.nav-list{
    position: fixed;
    right: 2rem;
    top: 2em;
    list-style: none;
    gap: 6vw;
    display: flex;
    font-family: 'blackfuture';
    overflow: hidden;
}

.nav-list a{
    text-decoration: none;
    color: #fff;
}

.nav-list li:hover{
    transform: scale(1.1);
    transition: 0.2s ease;
}
.nav-list li:active{
    transform: scale(0.9);
    transition: 0.2s;
}

section{
    height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;
}

.homeContainer{
    display: flex;
    align-items: center;
    gap: 8vw;
}

.homeContainer img{
    height: 25vh;
    border-radius: 50%;
}

.homeContainer a button{
    margin-top: 2rem;
    background-color: transparent;
    color: #fff;
    padding: 10px 15px;
    border: 2px solid #1df;
    border-radius: 20px;
    box-shadow: 0 0 20px 1px #1df;
}

.homeContainer a button:hover{
    background-color: #1df;
    color: #001e31;
    transition: 0.3s;
    cursor: pointer;
    box-shadow: 0 0 20px 1px #001e31;
}

.homeContainer a button:active{
    transform: scale(0.9);
}

.intro{
    width: 20em;
}

.socials a ion-icon{
    height: 32px;
    margin: 10px;
}

.aboutContainer, .homeContainer, .contactContainer{
    padding: 10vw 4vh;
    margin: 5vw 5vh;
    text-align: center;
}

.systemfetch{
    overflow-x: auto;
    text-align: left;
    background-color: #111;
    padding: 10px 20px;
    border: 2px solid #006172;
    border-radius: 15px;
    position: relative;
}
.systemfetch::before{
    content: "";
    position: absolute;
}
.systemfetch .sysfetchattribute{
    color: #1df;
}

.homePage, .contactPage{
    overflow-y: hidden;
}


.aboutContainer p, .homeContainer .intro p{
    font-size: 1rem;
}

.cards{
    background-color: transparent;
    border: 2px solid #006172;
    padding: 15px 15px;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
}

.cards:hover{
    box-shadow: 0 2px 20px 0.5px #1df;
    transition: 0.4s;
}

.cards:active{
    transform: scale(0.98);
}

.projectsContainer{
    margin: 8vw;
    padding: 1.5em;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem,1fr));
    gap: 10px;
}
.projectsContainer h1{
    text-align: center;
}

.contactContainer{
    margin: 0;
}

form input, textarea{
    padding: 0.5rem 1rem;
    width: 60vw;
    height: 2em;
    border-radius: 1rem;
    margin: 1rem;
    border: 2px solid #1df;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    color: #fff;
    font-family: 'Cascadia Code';
}

textarea{
    overflow: hidden;
    height: 150px;
}

.message{
    height: 100px;
    resize: none;
}

form button{
    border: 3px solid #1df;
    border-radius: 5px;
    padding: 10px 25px;
    background-color: #1df;
    margin-top: 5px;
    font-size: 90%;
    color: #001e31;
    font-family: 'Cascadia Code';
    cursor: pointer;
    box-shadow: 0 0 20px 1px #1df;
    margin: 1.5em;
}

form button:hover{
    background-color: #001e31;
    color: #fff;
    transition: 0.2s;
}

p, h3{font-family: 'Inter'; font-size: 1rem;}

.homePage h1{font-family: 'Monospace';}


.aboutPage h1, .contactPage h1, .projectsPage h1{font-family: 'Inter';}

/* PC */

@media (min-width: 750px){
    .homeContainer{
        gap: 2em;
    }
    .profile-pic{
        height: 300px;
    }
    .aboutContainer{
        width: 50em;
    }
    form input, textarea{
        width: 50vw;
    }
    section{
        padding: auto 15vw;
    }
}

/* Tablet */

@media (max-width: 650px){
    .homeContainer{
        flex-direction: column;
        gap: 2rem;
    }
    .homeContainer img{
        height: 20vh;
    }
    .aboutContainer{
        width: auto;
        margin: 0%;
    }
    .systemfetch{
        font-size: 10px;
        padding-left: 5px;
    }
}

/* Phone */

@media (max-width: 500px){
    .nav-list{
        font-size: small;
    }
    
    .aboutContainer{
        width: auto;
        margin: 0%;
    }
    .systemfetch{
        font-size: 10px;
        padding-left: 5px;
    }
    .systemfetch::before{
        content: "Screen is small!, Scroll to See";
        color: red;
        font-weight: bold;
    }
}


/* this should be the scrollbar behaviour from the systemfetch */
.systemfetch {
  overflow-x: auto;
  white-space: pre;      /* important for horizontal scroll */
  scrollbar-width: thin; /* Firefox */
  scrollbar-color: #ff79c6 #1e1e1e; /* Firefox thumb + track */
}

/* Chrome, Edge, Safari */
.systemfetch::-webkit-scrollbar {
  height: 12px;
  width: 12px;
}

.systemfetch::-webkit-scrollbar-track {
  background: #1e1e1e;
  border-radius: 6px;
}

.systemfetch::-webkit-scrollbar-thumb {
  background-color: #ff79c6;
  border-radius: 6px;
  border: 3px solid #1e1e1e;
}

.systemfetch::-webkit-scrollbar-thumb:hover {
  background-color: #ff5555;
}

