@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');


* {
  box-sizing: border-box;
}
body{
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(180deg, #34363b 0%, #2b2d31 38%, #7d1732 100%);
    color: #f5f1e8;
}

img{
    display: block; 
}

a{
    text-decoration: none;
}
.container {
  width: 1200px;
  max-width: 100%;
  padding: 0 24px;
  margin: 0 auto;
}
.container-nav{
    display: flex;
    width: 1440px;
    justify-content: space-evenly;
}

.topbar{
    background: #121212;
    padding: 1.5em 0;
    width: auto;
    height: 120px;
    margin: 0 auto;
    display: flex;
}
.logo img{
    width: 200px;
    display: block;
}
.main-nav{
    display: flex;
    list-style: none;
    align-items: center;
    gap: 50px;
    
}
.main-nav a{
    text-decoration: none;
    color: #f5f1e8;
    font-size: 30px;
}
.main-nav a:hover{
    color: #D82F2F;
}

.movie-page {
    padding: 30px 0 50px 0;
}

.movie-info {
    display: flex;
    align-items: flex-start;
    gap: 35px;
    margin-bottom: 35px;
}

.poster {
    width: 350px;
}

.poster img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.movie-text {
    flex: 1;
}

.movie-text h2 {
    margin: 0 0 18px 0;
    font-size: 40px;
    color: #f5f1e8;
}

.movie-text h3 {
    margin: 20px 0 12px 0;
    font-size: 30px;
    color: #f5f1e8;
}

.movie-text p {
    margin: 0 0 16px 0;
    font-size: 30px;
    line-height: 1.8;
    color: #f5f1e8;
}

.trailer-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 0;
    border-top: 4px solid #cfcfcf;
    border-bottom: 4px solid #cfcfcf;
    margin-bottom: 30px;
}

.trailer-img img {
    width: 100%;
    height: auto;
}

.trailer-link {
    flex: 1;
    text-align: center;
}

.trailer-link a {
    font-size: 34px;
    color: #f5f1e8;
    text-decoration: underline;
    font-weight: 500;
}

.trailer-link a:hover {
    color: #6e1e2c;
}

.showtime-section h3,
.location-section h3,
.time-selection h3 {
    font-size: 18px;
    margin: 0 0 18px 0;
    color: #f5f1e8;
    text-transform: uppercase;
}

.date-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 35px;
}

.date-box {
    width: 78px;
    height: 78px;
    background: #ffffff;
    color: #222;
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.date-box .day {
    background-color: #8b1f35;
    color: #f5f1e8;
    font-size: 20px;
    font-weight: 700;
    padding: 8px 0;
}

.date-box .number {
    font-size: 28px;
    font-weight: 700;
    padding-bottom: 10px;
}

.select-day {
    background: #676666;
    color: #f5f1e8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    padding: 10px;
}

.location-section {
    margin-bottom: 35px;
}

.location-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.location-row p {
    margin: 0;
    font-size: 30px;
    color: #f5f1e8;
    text-decoration: underline;
}

.location-row a {
    color: #f5f1e8;
    text-decoration: underline;
    font-size: 15px;
}

.time-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.time-btn {
    display: inline-block;
    background-color: #8a8a8a;
    color: #f5f1e8;
    padding: 12px 22px;
    border-radius: 8px;
    font-size: 30px;
    font-weight: 600;
}

.time-btn:hover {
    background-color: #8b1f35;
}
.btn{
    margin: 40px;
    background: white;
    padding: 10px 36px;
    border-radius: 20px;
    font-weight: bold;
    text-align: center;
    border-radius: 20px;
}
.btn a{
    color: #6E1E2C;
}
.purchase-btn:hover{
    background:#6E1E2C;
    color: white;
}
}
.footer{
    background-color: #121212;
    padding: 40px;
    border-top: 4px solid #F5f1e8;
}
.footer .container{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column;
    flex-wrap: wrap;
}
.footer .logo{
    width: 300px;
}
.footer-col{
    display: flex;
    flex-direction: column;
    min-width: 120px;
}
.footer-col h4 {
    font-size: 16px;
    color: #F5F1E8;
    text-transform: uppercase;
}
.footer-col a{
    color: #F5F1E8;
    font-size: 15px;
    padding:12px 0;
}
.footer-col a:hover{
    color: #6E1E2C
}
.socials{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}
.socials img{
    width:30px;
    height: 30px;
}
.copy{
    text-align: center;
    font-size: 12px;
}
    @media screen and(max-width:900px){
        
        .container{
            width: 100%;
            padding: 0 20px;
        }
        .container-nav{
            width: 100%;
            padding: 0 20px;
            flex-direction: column;
            align-items: center;
            gap: 15px;
        }
        .topbar{
            height: auto;
            padding: 20px 0;
        }
        .logo img{
            width: 180px;
        }
        .main-nav a{
            font-size: 20px;
        }
        h1{
            font-size: 40px;
        }
        .hero{
            height: auto;
            min-height: 400px;
            padding: 80px 30px;
        }
        .btn{
            font-size: 22px;
        }
        .footer .container{
            flex-direction: column;
            gap:20px;
            align-items: center;
            text-align: center;
        }
        .footer .logo{
            width: 220px;
        }
        .footer .logo{
            align-items: center;
        }
        .socials{
            justify-content: center;
        }
    }
    @media screen and (max-width:600px){
        .container{
            padding: 0 16px;
        }
        .logo img{
            width: 150px;
        }
        .main-nav{
            flex-direction: column;
            gap:12px;
        }
        .main-nav a{
            font-size: 18px;
        }
        .hero{
            padding: 60px 20px;
            min-height: 350px;
        }
        h1{
            font-size: 32px;
        }
        .hero p{
            font-size: 16px;
            line-height: 1,6;
        }
        .btn{
            font-size: 18px;
            padding: 10px 16px;
            margin: 12px;
        }
        .btn-group{
            flex-direction: column;
            align-items: center;
        }
        .footer{
            padding: 30px 20px;
        }
        .footer .logo{
            width: 180px;
        }
    }
