/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&display=swap');;

:root {
  font-size: 100%; /* 1rem = 16px */
}

html {
    scroll-behavior: smooth;
}

/* Global Styles */
body {
    margin: 0;
    font-family: "IBM Plex Sans", sans-serif;
    background-color: white;
    color: black;
    line-height: 1.666666;
}

section {
    scroll-margin-top: 8rem;
}

h1 {
    display: block;
    font-size: 2rem;
    margin-block-start: 0.67rem;
    margin-block-end: 0.67rem;
    margin-inline-start: 0;
    margin-inline-end: 0;
    font-weight: bold;
}

a {
    color: #9b525d;
    text-decoration: none;
}

ul {
    padding-inline-start: 1rem;
    list-style-type: disc;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.title {
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: bold;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #000000;
    color: white;
    z-index: 1000;
    font-weight: bold;
}

header h1 {
    margin: 0;
}

/* Main Content Styles */
main {
    max-width: 80rem;
    margin: clamp(8rem, 11vw, 10rem) auto 0 auto; /* centers and creates side whitespace */
    padding: 0 2rem;
}

/* Resume Section */

.job {
    font-size: 1rem;
    margin-bottom: 3.5rem;
}

#education{
    margin-bottom: 0;
}

.role {
    margin-bottom: 1rem;
}

.company {
    font-size: 1.5rem;
    margin-bottom: 0;
    font-weight: 500;
}

.position {
    font-size: 1.2rem;
}

.timeframe {
    font-style: italic;
}

.achievements {
    padding-left: 1rem;
}

.links {
    font-style: italic
}

.contact-icons img {
    width: 2rem;
    height: auto;
    margin: 0 1.5vw;
}

/* change icon to #B76E79 on hover */
.contact-icons img:hover {
  filter: brightness(0) saturate(100%)
          invert(63%) sepia(19%) saturate(612%) hue-rotate(302deg)
          brightness(92%) contrast(92%);
}

/* change icon to #9b525d on click */
.contact-icons img:active {
  filter: brightness(0) saturate(100%)
          invert(37%) sepia(24%) saturate(892%) hue-rotate(301deg)
          brightness(92%) contrast(90%);
}

/* Footer Styles */
footer {
    text-align: center;
    background-color: #000000;
    padding: 0.7rem;
    color: #ffffff;
    margin-top: 4rem;
}

/* Video Player */
.player {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

video {
    max-width: 100%;
    width: 1280px;
    height: auto;
    box-shadow: 0 0 20px 20px rgba(96, 96, 96, 0.1);
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.right img {
  width: 100%;
  height: auto;
}

::selection {
  background-color: #B76E79;
  color: white;
}

/* Firefox highlight */
::-moz-selection {
  background-color: #B76E79;
  color: white;
}

/****************** Add more images based on screen width ******************/
#img6, #img7, #img8, #img9, #img10, #img11{
    display: none;
}

@media (max-width: 1220px) {
    #img6{
        display: inline;
    }
}

@media (max-width: 1100px) {
    #img7{
        display: inline;
    }
}

@media (max-width: 1000px) {
    #img8{
        display: inline;
    }
}

@media (max-width: 900px) {
    #img9{
        display: inline;
    }
}

@media (max-width: 860px) {
    #img10{
        display: inline;
    }
}

@media (max-width: 820px) {
    #img11{
        display: inline;
    }
}




/* Responsive Design */
@media (max-width: 768px) {
    section {
        scroll-margin-top: 5rem;
    }

    h1 {
        display: block;
        font-size: clamp(0.5rem, 5vw, 2rem);
        margin-block-start: 0.67rem;
        margin-block-end: 0.67rem;
        margin-inline-start: 0;
        margin-inline-end: 0;
        font-weight: bold;
        unicode-bidi: isolate;
    }

    .contact-icons img {
        width: clamp(1.1rem, 4vw, 2.5rem);
        margin: 0 clamp(0rem, 1vw, 1rem);
    }

    .grid {
        grid-template-columns: 1fr;
    }

     /* Hide images on mobile */
    .right {
        display: none;
    }

    footer {
    padding: 0.4rem;
}
}

@media (max-width: 625px) {
  main{
        margin: clamp(6rem, 20vw, 10rem) auto 0 auto; /* centers and creates side whitespace */
    }
}