/* Basic Styles */
body {
    margin: 0;
    padding: 0;
    background-color: #fbfdfd;
    color: #221f3d;
}
 
g {
    display: block;
    background-color: #d3c8cdff;
    width:100%;
    height: 8px;
} 

header {
    background-color: #fd7272;
    width: 100%;
    height: 64px; 
}

nav {
    margin-top: 8px;
}

nav a {
    font-family: "Montserrat", serif;
    background-color: #d3c8cdff;
    padding: 8px 24px;
    color: #221f3d;
    text-decoration: none;
    margin: 0 8px;      /* reduced spacing */
    font-weight: bold;
    border-radius: 8px; /* rounded corners */
    transition: margin 0.2s ease;
}

nav a:hover {
    font-family: "Montserrat", serif;
    background-color: #221f3d;
    color: #d3c8cdff;
    text-decoration: none;
    margin: 0 12px;      /* reduced spacing */
    font-weight: bold;
    border-radius: 8px; /* rounded corners */
}

p {  
    font-family: "Montserrat", serif;
}

/* Text */
.intern-text {
    font-family: "Montserrat", serif;
    color:#221f3d;
    text-align: center;
    font-size: 1.2em;
}

.button-text {
    font-family: "Montserrat", serif;
    color:#221f3d;
    text-align: center;
    transition: color 0.2s ease, font-size 0.2s ease;
    font-size: 1.2em;
}

.button-text:hover {
    font-family: "Montserrat", serif;
    color:#fd7272;
    text-align: center;
    
    font-size: 1.3em;
}

.album-image {
    margin: auto;
    width: 250px;
    height: 250px;
} 

.album-text {
    font-family: "Montserrat", serif;
    color:#221f3d;
    text-align: left;
    font-size: 1.2em;
} 

.album-link:hover {
    font-family: "Montserrat", serif;
    color:#fd7272;
    text-align: left;
    font-size: 1.2em;
} 

.contact-link {
 margin: auto;
    font-family: "Montserrat", serif;
    color:#221f3d;
    margin-left: 40px;
    font-size: 1.2em;
}

.contact-title {
	font-family: "Montserrat", serif;
    text-align: left; 
    margin-left: 160px;
}

.copyright {
    margin: auto;
    font-family: "Montserrat", serif;
    color:#221f3d;
    text-align: left;
    font-size: 1.0em;
    margin-left: 0px;
}

.grid {
    padding: 20px 24px; 
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20px, 1fr));
    gap: 10px;
    justify-items: left;
    align-items: left;
}

.sentence {
    margin: auto;
    font-family: "Montserrat", serif;
    color:#221f3d;
    margin-left: 80px;
    font-size: 1.0em;
}

.test {
    display: block;
    margin-top: 0%;
    margin-left: 0%;
    max-width: 120px;
    max-height: auto;
    background-color: #d3c8cdff;
}

/* Layout */
.title {
	font-family: "Montserrat", serif;
    text-align: center; 
    color:#221f3d;
}

.maintitle {
    font-family: "Montserrat", serif;
    text-align: center; 
    color:#221f3d;
    font-size: 2.5em;
}

.column {
    margin: auto;
    display: flex;
    flex-direction: column; /* stack items vertically */
    align-items: left;
    gap: 16px;
}

.contact-email{
  display: flex;
  font-family: "Montserrat", serif;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color:#221f3d; 

}

.contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color:#221f3d; 
}

.contact-link:hover {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color:#fd7272 ;
}

.copyright {
  text-align: center;
  font-size: 0.85rem;
  opacity: 1;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* keeps it responsive */
}

.port-column{ 
    margin: auto;
    display: flex;
    flex-direction: column; /* stack items vertically */
    align-items: top;
    gap: 16px;
}

.flex-row {
    display: flex;   /* Vertically align icon + text */
    gap: 0px;              /* Space between icon and text */
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
} 

.row {
    display: flex;   /* Vertically align icon + text */
    gap: 0px;              /* Space between icon and text */
    list-style: none;
    padding: 0;
    margin: 0;
} 

.site-footer {
    margin-top: 20px;
    padding-top: 20px;
}

.text-column {
    align-items: center;
}

.text-box {
    display: block;
    text-align: left;
    margin: 0 auto;
    max-width: 600px;
}

.title-column {
    margin: auto;
    display: flex;
    flex-direction: column; /* stack items vertically */
    align-items: left;
    justify-content: left;
    gap: 8px; 
    margin-top: 8px;
}

.title-row {
    display: flex;
    flex-direction: row; 
    align-items: left;
    justify-content: left;
    gap: 20px; /* space between items */
    margin-left: 20px;
    max-width: fit-content;
    max-height: 300px; 
}

.button {
    background-color: #d3c8cdff;
    color: #221f3d;
    padding: 8px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
}

.button:hover {
    background-color: #fd7272;
    color: #221f3d;
    padding: 8px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
}

.contest { 
    width: 167px;
    height: 243px;
}

.dvd {
    width: 237px;
    height: 343px;
}

.hero {
    margin: auto;
    display: flex;
    color: #221f3d;
} 

.social_box{
    margin: auto;
    display: flex;
    color: #221f3d;
    gap: 20px;
}
.icon{
    width: 64px;
    height: 64px;
    background-size: cover;
    display: flex;
    border-radius: 8px;
    align-items: left;
    justify-content: center;
    color: #221f3d;
    box-shadow: #fd7272 4px 4px 0px 0px;
} 

.emailicon{
    width: 64px;
    height: 64px;
    background-size: cover;
    display: flex;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    color: #221f3d;
    box-shadow: #fd7272 4px 4px 0px 0px;
} 

.aboutparagraph{
    margin: auto;
    width: 600px;
    height: auto;
    font-size: 16px;
    padding: 40px;
    gap: 20px;
    justify-content: center;
}

.icon-category{
    width: 64px;
    height: 64px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.poster {
    width: 105px;
    height: 243px;
} 

.screen-shot {
    width: 360px;
    height: 240px;
    box-shadow: #fd7272 4px 4px 0px 0px;
} 

.intern-decor{
    margin: auto;
    width: auto;
    height: auto;
    padding: 40px;
    gap: 20px;
    justify-content: center;
} 

.resume-decor {
    margin: auto;
    display: flex;
    width: 255px;
    height: 330px;
    background-color: #d3c8cdff;
    padding: 10px;
    justify-content: center;
    transition: padding 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.resume {
    width: 255px;
    height: 330px;
    transition: transform 0.2s ease;
}

/* Hover container */
.resume-decor:hover {
    padding: 10px;
    background-color: #fd7272;
    transform: scale(1.25); /* scales the decor container */
}

.fissure {
    display: block;
    background-color: rgb(211, 200, 205);
    width: 100%;
    height: auto;
   
} 

.more-space {
    padding: 20px;
   
    
}

.plak
{
    margin: 20px; 
    width: auto;
    max-width: 400px; 
    max-height: 400px;
}

.portblock {
    display: inline-block; 
    width: fit-content;
    background-color: #d3c8cdff; 
    height: 8px;
}

.space {
	padding: 40px;
} 

.split {
    padding: 8px;
}

.icon-grid {
  width: 360px;
  height: 240px;
  background-color: #d3c8cdff;
  border-radius: 8px;
  display: grid;
  grid-template-columns: repeat(3, 64px);
  grid-template-rows: repeat(2, 64px);
  box-shadow: #fd7272 4px 4px 0px 0px;
  gap: 16px; /* spacing between images */

  justify-content: center; /* centers grid horizontally */
  align-content: center;   /* centers grid vertically */
}

.icon-grid img {
  border-radius: 8px;
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.scroll-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
}

.scroll-container img {
    border-radius: 8px;
}

.scroll-icon
{
    width: 64px;
    height: 64px;
    box-shadow: #fd7272 4px 4px 0px 0px;
}

.scroll-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Hover-grow utility: smooth scale for hovered text */
.hover-grow {
    
    transition: color 320ms ease;
    transform: scale(1.25);
    transition: transform 320ms ease;
    position: relative;
    z-index: 2;
}

/* Prevent nested children from also scaling again */
.hover-grow * {
    transform: none;
}