@font-face {
  font-family: 'PPNeueMontreal-Book';
  src: url('fonts/PPNeueMontreal-Book.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: '26A1MarundTrial-5222Blurred';
  src: url('fonts/26A1MarundTrial-5222Blurred.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: '26A1MarundTrial-3222Blurred';
  src: url('fonts/26A1MarundTrial-3222Blurred.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

 body {
  font-family: '26A1MarundTrial-3222Blurred', sans-serif;
  background-color: black;
}

header {
  display: grid;
  grid-template-columns: 1fr 1fr 300px 1fr 1fr;
  grid-template-rows: auto;
  gap: 20px;
  margin: 0 15px;
  color: white;
  font-size: 1.2rem;
}

.logo-container {
  position: relative;
  display: inline-block;
}

.logo-container img {
height: 70px;
display: block;
transition: opacity 0.3s ease;
}

h2 {
  color: #dd3935;
  text-align: left;
  font-size: 1rem;
}

.intro {
margin-top: 0;
}

.more-info {
  grid-column: 5 / 6;
  text-decoration: none;
  color: white;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
}

.more-info a {
  color: white;
  text-decoration: none;
}

.hide {
  display: none;
}
.hide p {
  font-size: 0.9rem;
}

.work {
  cursor: pointer;
  width: 300px;           
  justify-self: start;    
  align-self: start;
}

.work:hover + .hide {
  display: block;
  color: white;
}

#work-1 {
  margin-top: 0;
}
#hide-2 {
  grid-column-start: 4;
  grid-row: 2 / 3;
  text-align: left;
}

#work-2 {
grid-column-start: 3;
grid-column-end: 4;
  grid-row: 2 / 3;
  text-align: left;
  cursor: pointer;
} 

#work-3 {
  grid-column-start: 3;
    grid-row: 3 / 3;
    text-align: left;
    cursor: pointer;
} 

#hide-3 {
    grid-column-start: 4;
    grid-row: 3 / 3;
    text-align: left;
}

#work-4 {
  grid-column-start: 3;
  grid-row: 4 / 4;
  text-align: left;
  cursor: pointer;
}

#hide-4 {
  grid-column-start: 4;
  grid-row: 4 / 4;
  text-align: left;
}

#work-5 {
  grid-column-start: 3;
  grid-row: 5 / 5;
  text-align: left;
  cursor: pointer;
}

#hide-5 {
  grid-column-start: 4;
  grid-row: 5 / 5;
  text-align: left;
}

.header-image {
  display: block;
  width: 100%;
}
img.header-image {
    max-width: 100%;
    height: 500px;
}

.image-container {
    text-align: center;
    margin-top: 20px;
}
.thumb {
  display: block;
  object-fit: cover;
  height: 500px;
  width: 300px;
}


@media screen and (max-width: 768px) {
  header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 16px;
    font-size: 1rem;
  }


  .logo-container {
    text-align: center;
    grid-column: 1 / -1;
  }

  .logo-container img {
    height: 60px;
    margin: 0 auto;
    display: block;
  }

  .intro {
    grid-column: 1 / -1;
    text-align: left;
    font-size: 1rem;
    line-height: 1.5;
  }

  .work,
  .hide,
  #work-2, #work-3, #work-4, #work-5,
  #hide-2, #hide-3, #hide-4, #hide-5 {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  header {
    grid-auto-flow: row;
  }

  .work {
    display: block;
    text-align: left;
  }

  .hide {
    display: block;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 10px;
  }

  .work:hover + .hide {
    display: block;
  }


  .more-info {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    gap: 16px;
    font-size: 0.9rem;
    margin-top: 10px;
  }

  .more-info a {
    color: white;
    text-decoration: none;
  }
}

@media screen and (max-width: 480px) {
  header {
    gap: 12px;
    padding: 0 10px;
    font-size: 0.95rem;
  }

  .logo-container img { height: 50px; }

  .intro { font-size: 0.9rem; }

  .work p { font-size: 0.95rem; }
  .hide p { font-size: 0.85rem; }

  .more-info {
    font-size: 0.85rem;
    gap: 20px;
  }
}


@media screen and (max-width: 360px) {
  header {
    padding: 0 5px;
    font-size: 0.9rem;
  }

  .logo-container img { height: 45px; }
  .intro { font-size: 0.85rem; }
  .more-info { font-size: 0.8rem; gap: 12px; }
}


/* ----------------- */

.cv-page {
background-color: white;
font-family: '26A1MarundTrial-5222Blurred';
}

.cv-section {
display: flex;
flex-direction: row;
gap: 60px;
margin-top: 40px;
padding: 20px;

}

.cv-page header {
  display: grid;
  grid-template-columns: 1fr 1fr 300px 1fr 1fr;
  gap: 20px;
  margin: 0 15px;
  color: #dd3935;
  font-size: 1.2rem;
}

.cv-image {
  margin-top: -140px;
  z-index: -10;
  object-fit: cover;
  position: relative;
}
.imagem-texto {
  flex: 1;
  
}

.imagem-texto img {
  width: 100%;
  height: 600px;
  
}

.about-me {
  margin: 0;
  color: #dd3935;
  line-height: 1.2em;
}

.Features {
color: #dd3935;
flex: 1;
}

.education {
  margin-top: 0;
  color: #dd3935;
}

.cv-text {
  font-family: '26A1MarundTrial-3222Blurred';
  font-size: 1.2em;
margin-bottom: 4px;
text-decoration: underline;
}

.year  {
  font-style: italic;
  margin-top: 0;
  font-size: 0.8rem;
}

.description {
  font-family: '26A1MarundTrial-3222Blurred';
  margin-top: 0;
  font-size: 1rem;
  margin-bottom: 4px;
}

.more-info-cv {
  grid-column: 5 / 5;
  text-decoration: none;
  color:  #dd3935;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;

}

.more-info-cv a {
  color:  #dd3935;
  text-decoration: none;
}

.time {
  text-align: center;
  color: white;
  font-size: 1.5rem;
  margin-top: 40px;
  background-image: url(https://i.pinimg.com/1200x/cc/3e/9b/cc3e9b20d712a32ae0513ee6c5f97acc.jpg);
  padding: 40px;
}
.star {
  width: 100px;
  height: 100px;
  font-size: 100px;
  line-height: 100px;
  text-align: center;
  color: #dd3935;
  animation-name: star;
  animation-duration: 4s;
  animation-iteration-count: infinite;
}

@keyframes star {
  0%   {color: #dd3935;}
  25%  {color: pink;}
  50%  {color: teal;}
  100% {color: lightblue;}
}


@media screen and (max-width: 768px) {
  .cv-page header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 16px;
  }

  .cv-page .logo-container {
    margin-bottom: 15px;
  }

  .cv-page .more-info-cv {
    width: 100%;
    justify-content: center;
    gap: 30px;
    margin-bottom: 15px;
  }

  .star {
    width: 80px;
    height: 80px;
    align-self: center;
  }

  .cv-section {
    flex-direction: column;
    gap: 30px;
    padding: 15px;
    margin-top: 20px;
  }

  .imagem-texto {
    order: 1;
  }

  .Features {
    order: 2;
  }

  .about-me {
    font-size: 1.1rem;
    line-height: 1.4em;
  }

  .imagem-texto img {
    height: 400px;
  }

  .cv-image {
    margin-top: -80px;
  }

  .cv-text {
    font-size: 1.1em;
  }

  .description {
    font-size: 0.95rem;
  }
}

@media screen and (max-width: 480px) {
  .cv-page header {
    padding: 15px 10px;
  }

  .cv-page .logo-container img {
    height: 50px;
  }

  .cv-page .more-info-cv {
    font-size: 0.9rem;
    gap: 20px;
  }

  .star {
    width: 60px;
    height: 60px;
  }

  .cv-section {
    gap: 20px;
    padding: 10px;
  }

  .about-me {
    font-size: 1rem;
    line-height: 1.3em;
  }

  .imagem-texto img {
    height: 300px;
  }

  .cv-image {
    margin-top: -60px;
  }

  .education {
    font-size: 1.1rem;
  }

  .cv-text {
    font-size: 1em;
  }

  .year {
    font-size: 0.75rem;
  }

  .description {
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 360px) {
  .cv-page header {
    padding: 10px 5px;
  }

  .cv-page .logo-container img {
    height: 45px;
  }

  .cv-page .more-info-cv {
    font-size: 0.85rem;
    gap: 15px;
  }

  .star {
    width: 50px;
    height: 50px;
  }

  .cv-section {
    padding: 8px;
  }

  .about-me {
    font-size: 0.95rem;
  }

  .imagem-texto img {
    height: 250px;
  }

  .cv-image {
    margin-top: -50px;
  }

  .cv-text {
    font-size: 0.95em;
  }

  .year {
    font-size: 0.7rem;
  }

  .description {
    font-size: 0.85rem;
  }
}