@import url('https://fonts.googleapis.com/css2?family=Libre+Caslon+Text:ital,wght@0,400;0,700;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Libre+Caslon+Display&display=swap');

.html,body {
    background-color: #e8e3da;
    font-family: 'Libre Caslon Display';
    font-size: 16px;
    margin: 0;
    padding:0;
}

.html {
    scroll-behavior:smooth;
}

header{
width:100vw;
background:#1e1e1e;
color:#e8e3da;
padding:10px;
text-align:center;
box-sizing: border-box;
}


#about h2::after {
    display: none;
}

.container{
    margin:0;
    padding:0;
}

nav a{
color:white;
margin:0 20px;
text-decoration:none;
}

#about{
    padding:60px;
}

#about h2 {
    border-bottom: none;
    text-align: left;
    margin: 0 0 15px 0;
    border: none;
}

.about-container{
    display:flex;
    gap:40px;
    align-items:flex-start;
}

.about-photo{
    width:260px;
    height:200px;
    background:#1e1e1e;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-top: 10px;
}

.about-text{
    max-width:500px;
}

.about-text h2{
    margin-bottom:15px;
    text-align: left;
}

.about-line{
    height:2px;
    background:#5a1e2b;
    margin:10px 0;
}

.about-text p{
    line-height:1.5;
}

#work h2 {
    width: 100%;
    text-align:right;
border-bottom:2px solid #5a1e2b;
padding-bottom:10px;
margin-bottom:40px;
}

.work {
    padding: 80px 80px;
    width: 100%;
}

#work{
    padding:60px 80px;
}

.work-gallery img{
    width:150px;
    height:auto;
}

.posters{
display:flex;
gap:25px;
flex-wrap: wrap;
overflow-x:auto;
scroll-behavior:smooth;
padding-bottom:10px;
}

.poster{
width:250px;
display:flex;
align-items:center;
justify-content:center;
margin-bottom: 40px;
margin-top: 30px;
flex-shrink:0;
overflow:hidden;
}

.poster img{
    width:100%;
    height:auto;
    display:block;
}

.gallery{
    overflow:hidden;
    width:100%;
    padding:2px;
    margin: 15px 0;
}

.gallery-track{
    display:flex;
    gap:15px;
    animation: scrollGallery 30s linear infinite;
    align-items:flex-start;
}

.gallery:hover .gallery-track{
    animation-play-state:paused;
}


@keyframes scrollGallery{
0%{
    transform:translateX(0);
} 
100%{
    transform:translateX(-50%);
}
}


#projects{
padding:60px 80px;
}

#projects h2{
text-align:center;
border-bottom:2px solid #5a1e2b;
padding-bottom:10px;
margin-bottom:40px;
}


.project-container{
display:grid;
grid-template-columns: 320px 1fr;
gap:80px;
margin-bottom: 120px;
align-items:stretch;
}

.project-poster {
    width:320px;
}

.project-poster img{
width:100%;
height:auto;
display:block;
}

.project-info{
max-width:520px;
display:flex;
flex-direction:column;
justify-content: space-between;
}

.project-info h3{
    font-size: 30px;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0 0 15px 0;
}

.top-content {
  margin-bottom: 20px;
}

.bottom-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.movie-info{
margin-top:10px;
width:320px;
}

.info-row{
display:flex;
justify-content:space-between;
border-bottom:1px solid #1e1e1e;
padding:6px 0;
}

.label {
    width:120px;
}

.value{
    text-align:left;
}


.button-link{
display:inline-block;
margin-top:20px;
padding:8px 22px;
background:#5a1e2b;
color:#e8e3da;
text-decoration:none;
border-radius:20px;
font-family:'Libre Caslon Display';
align-self:flex-start;
}

.button-link:hover {
    background:#1e1e1e;
    color:#e8e3da;
}

.end-note{
background:#1e1e1e;
color:#e8e3da;
text-align:center;
padding:80px 40px;
margin-top: 60px;
}


.contact {
    padding: 60px;
    background-color: #e8e3da; 
}

.contact h2 {
    font-family: 'Libre Caslon Display', serif;
    font-weight: bold;
    text-align: right;
}


.contact-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 0.8fr;
    gap: 60px; 
    align-items:start;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 420px; 
}

.contact-form textarea{
    padding: 12px 15px;
    border: 1px solid #5a1e2b;
    border-radius: 5px;
    font-family: 'Libre Caslon Display';
    font-size: 1rem;
    width:100%;
    box-sizing:border-box;

    min-height: 150px;
    resize:vertical;
}

.contact-line {
    width:100%;

}

.contact-form input,
.contact-form textarea {
    padding: 12px 15px;
    border: 1px solid #1e1e1e;
    border-radius: 5px;
    font-family: 'Libre Caslon Display', serif;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.contact-form button {
    padding: 8px 22px;
    background-color: #5a1e2b; 
    color: #e8e3da;
    border: none;
    border-radius: 20px;
    font-family: 'Libre Caslon Display', serif;
    cursor: pointer;
    transition:  0.3s;
    align-self:flex-start;
}

.contact-form button:hover {
    background-color: #1e1e1e; 
}

.contact {
    padding: 80px 80px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 300px;
    font-family: 'Libre Caslon Display', serif;
    font-size: 1rem;
}

.contact-info h4 {
    margin-bottom: 10px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
