:root {
    --header-height: 72px;
    --text-color: white;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    background-color: black;
    font-size: 16px;
    font-family: 'ClashDisplay-Semibold', sans-serif;    
    margin: 0;
    color: var(--text-color);
}

.bg-video {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    pointer-events: none;
}

p,
span {
    font-family: 'ClashDisplay-Regular';
}

/* Generic Classes */
.section-title {
    text-align: center;
    font-family: 'ClashDisplay-Bold';
}

.standard-btn {
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    border-radius: 6px;
}

#projects,
#certifications,
#lets-talk-container {
    scroll-margin-top: calc(var(--header-height) + 24px);
}

/* Header */
header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.1);
}

.header-container {
    height: var(--header-height);
    padding: 0 12px;
    display: flex;
    align-items: center;
}

.header-wrapper {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 50%;
    width: 50;
}

.logo img {
    max-height: 100%;
    width: auto;
}

.header-options ul {
    display: flex;
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.header-options li {
    height: var(--header-height);
    display: flex;
}

.header-options a {
    height: 100%;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: var(--text-color);
}

/* Basic Intro */
.intro-container {
    height: 100svh;    
    padding: 0 2rem;
    margin: 0 auto;
    display: flex;
    align-items: center;    
}

.intro-information {
    width: auto;
    max-width: 600px;
}

.hello-text {
    margin-bottom: 0;
}

.large-text {
    font-size: 5rem;
    margin: 0;
}

.intro-btn-wrapper {
    max-width: 250px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.intro-socials {
    display: grid;
    grid-template-columns: 2fr auto auto;
    gap: 12px;
}

.social-btn {
    padding: 10px 10px;
}

.social-btn .icon {
    width: 20px;
    height: 20px;
}

.resume-btn {
    padding: 12px 20px;  
    line-height: 1;  
}

.social-btn,
.resume-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.icon {
    fill: white;
}

/* Project */
.project-container {
    height: 100svh;
    margin: 20px;
}

.project-wrapper {
    height: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 300px;
    align-items: center;
    justify-items: center;
}

.project {
    height: 300px;
    width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    background-color: green;
}

.pdf-preview {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
    border-radius: 6px;
    overflow: hidden;
  }

.pdf-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdf-label {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    opacity: 0;
    transition: 0.25s ease;
}

.pdf-preview:hover .pdf-label {
    opacity: 1;
}

@media (max-width: 960px){
    .project-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .project:nth-child(3) {
        display: none;
    }
}

@media (max-width: 660px){
    .project-wrapper {
        grid-template-columns: repeat(1, 1fr);
    }

    .project:nth-child(2) {
        display: none;
    }
}

.project-left {
    
}

.project-center {
    
}

.project-right {
    
}

/* Certification */
.certification-container {
    height: 100svh;
}

.certification-wrapper {
    text-align: center;
}

.certification-wrapper ul {
    padding: 0;
    list-style: none;
}

/* Lets Talk */
#lets-talk-container {
    height: 100svh;
}

.lets-talk-wrapper {
    justify-items: center;
}

.lets-talk-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.form-client-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
}

.client-info-field {
    display: flex;
    flex-direction: column;
}

.message-box,
input[type="submit"] {
    grid-column: 1 / -1;
    resize: none;
    width: 100%;
}