* {
    margin: 0;
    padding: 0;
    border: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: black;
    color: #FFFFFF;
    background-image: radial-gradient(white 1px, transparent 0);
    background-size: 60px 60px;
}

a {
    color: #FFFFFF;
    text-decoration: none;
}

section {
    scroll-margin-top: 80px;
}

a:visited {
    color: rgb(255, 255, 255);
}

h2 {
    font-size: 48px;
}

#pageContent {
    width: 100vw;
}

#navbar {
    position: sticky;
    top: 5px;
    background-color: rgba(158, 158, 158, 0.5);
    border: rgba(174, 174, 174, 0.761) solid 1px;
    backdrop-filter: blur(3px);
    border-radius: 12px;
    padding: 6px;
    width: 25%;
    margin: 0 auto;
    margin-top: 12px;
    text-align: center;
    display: flex;
    flex-direction: row;
    justify-content: center;
    z-index: 3;
}

#navbar p {
    margin: 0px 12px;
}

#navbar a:hover {
    transform: scale(120%);
    transition: ease 1s;
}

#about {
    width: 100%;
}

#aboutMe {
    width: 65%;
}

#persona {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 12%;
    font-size: 32px;
    text-align: center;
}

#description {
    text-align: center;
    margin-top: 15%;
    font-size: 28px;
}

#description p {
    margin: auto auto;
    width: 70%;
}

#persona p, img {
    margin: auto auto;
}

#persona p {
    width: 35%;
}

#model3D {
    margin: 25% 0;
    width: 100%;
    height: 500px;
}

#model3Dcontainer {
    height: calc(100vh - 100px);
    width: 30%;
    margin: 12px;
    border: 1px solid;
    backdrop-filter: blur(2px);
    border-radius: 30px;
}

#toggleModel {
    text-align: center;
    cursor: pointer;
    background-color: rgba(214, 214, 214, 0.269);
    width: 25%;
    margin: 0 auto;
    border-radius: 20px;
    margin-top: 12px;
    padding: 5px;
    user-select: none;
}

.modelOption {
    user-select: none;
    border-radius: 30px;
    padding: 5px;
    transition: background-color 0.5s ease-out, transform 0.3s ease;
}

.selected {
    background-color: #0d71fc;
    font-size: large;
}

#project-table {
    display: flex;
    justify-content: center;
    gap: 20px;
    overflow-x: auto;
    padding: 15px;
    scroll-behavior: smooth;
    width: 100%;
    box-sizing: border-box;
}

#projects {
    width: 50%;
    margin: 0 auto;
    margin-top: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

#timeline {
    margin: 5em auto;
    max-width: 34.15em;
    position: relative;
}

#timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    background-color: #888;
    z-index: 1;
}

#education {
    margin-top: 100px;
}

#contact {
    margin: 12px;
    text-align: center;
}

.techLogo {
    border-radius: 8px;
}

.tech-row {
    display: flex;
    justify-content: space-evenly;
    margin-bottom: 15px;
}

.tech-column {
    min-width: 250px;
    text-align: center;
    padding: 10px;
}

.techStack {
    margin: 12px;
}

.single-project {
    width: 200px;
    flex-shrink: 0;
    backdrop-filter: blur(2px);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid;
}

.thumbnail {
    width: 100%;
    border: 1px solid;
    border-radius: 12px;
    margin: 0;
}

.checkpoint {
    max-width: 34em;
    padding-top: 2em;
    padding-bottom: 2em;
    position: relative;
    z-index: 2;
}

.checkpoint div {
    border: 2px solid #888;
    backdrop-filter: blur(2px);
    border-radius: 1em;
    padding: 1.5em;
}

.checkpoint p, ul{
    line-height: 27px;
    color: #ccc;
}

.checkpoint:nth-child(odd) {
    padding-left: 3em;
    transform: translateX(17.075em);
}

.checkpoint:nth-child(even) {
    padding-right: 3em;
    transform: translateX(-17.075em);
}


.checkpoint:nth-child(even)::before {
    content: '';
    background-color: #888;
    width: 3em;
    height: 3px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.checkpoint:nth-child(odd)::before {
    left: 0;
}

.checkpoint:nth-child(even)::before {
    right: 0;
}

.checkpoint:nth-child(odd) div::before, .checkpoint:nth-child(even) div::before {
    content: '';
    background-color: #fff;
    box-shadow: 0 0 0.5em #0d71fc;
    width: 0.8em;
    height: 0.8em;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
}

.checkpoint:nth-child(odd) div::before {
    left: -0.5em;
}

.checkpoint:nth-child(even) div::before {
    right: -0.5em;
}

.social {
    width: 30px;
    padding: 12px;
    transition: 300ms;
}

.social:hover {
    transform: scale(115%) translateY(-5px);
    cursor: pointer;
}
