:root {
    --primary-color: #037cff;
    --dark-primary-color: #024ea0;
    --secondary-color: #F3F5F8;
    --tertiary-color: #C2C4C6;
    --accent-color: #cf4949;
}

body {
  margin: 0;
  font-family: Poppins, sans-serif;
  font-size: 1.2rem;
}
a {
    text-decoration: none;
    color: black;
}
/* SECTION CONTAINER */
.portfolio-section {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* BACKGROUND FIXED TEXT */
.bg-text-fixed {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-15deg);
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  width: 200%; /* large area for looping */
  white-space: nowrap;
}

.bg-text-loop {
  display: inline-block;
  white-space: nowrap;
}

.bg-text {
  color: var(--tertiary-color);
  font-family: Poppins, sans-serif;
  font-weight: 800;
  font-size: 15rem;
  margin: 0;
  line-height: 0.8;
  -webkit-user-select: none;
  user-select: none;
    transition: transform 0.1s linear;
    opacity: .4;
}
.page-wrapper {
  display: flex;
  flex-direction: column;
  height: 100dvh; /* fill full viewport */
}

/* Keep nav and footer auto-sized */
nav, footer {
  flex-shrink: 0;
}

/* SCROLLABLE CONTENT */
.portfolio-content {
  flex: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 50px;
  position: relative;
  z-index: 1;
  overflow-y: auto;
  padding: 2rem;
  width: 90%;
  max-height: 90%;
  overflow: auto;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.btn {
    background-color: var(--primary-color);
    border: none;
    border-radius: 5px;
    padding: 10px 30px;
    transition: .5s;
    font-weight: bold;
    font-size: 1rem;
    color: white;
    font-family: Poppins, sans-serif;
}
.btn:hover {
    background-color: var(--dark-primary-color);
    cursor: pointer;
}
.visit{
  color: var(--dark-primary-color);
  transition: all .3s ease-in-out;
}
.visit:hover{
  color: var(--primary-color);
}
/* TEST CONTENT */
.project {
  padding: 2rem;
  background: #f7f7f7;
  border-radius: 10px;
}
.page-title{
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  margin: 0;
}
.thumbnail-wrapper{
  display: flex;
  justify-content: center;
}
.thumbnail{
  border-radius: 15px;
  width: 80%;
  max-width: 480px;
}
/*Details page*/
.portolio-details{
  display: flex;
  justify-content: center;
  padding: 5%;
  gap: 60px;
}
.portolio-details h1{
      margin-block-start: 0 ;
}
.details-content{
  max-width: 55%;
}
@media (max-width: 800px) {
  .portolio-details{
    flex-direction: column;
  }
  .details-content{
    max-width: 100%;
  }
}