@font-face {
    font-family: 'Helvetica';
    font-style: normal;
    font-weight: normal;
    src: url("../../fonts/HelveticaNeue.otf");
}

@font-face {
    font-family: 'Helvetica';
    font-style: normal;
    font-weight: 500;
    src: url("../../fonts/HelveticaNeueMedium.otf");
}

@font-face {
    font-family: 'Helvetica';
    font-style: normal;
    font-weight: bold;
    src: url("../../fonts/HelveticaNeueBold.otf");
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica', cursive;
}

.container {
    max-width: 71.25rem;
    margin: 0 auto;
    width: 100%;
}

/* Header */
.header {
    display: flex;
    height: 5rem;
    padding: 0 2rem;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: none;
}

.logo a {
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    color: #000;

}

.nav-links {
    list-style-type: none;
    display: flex;
    gap: 1.5rem;
}

.nav-links li a {
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    color: #000;
}

.nav-links li a:hover {
    text-decoration: underline;
    text-underline-offset: 0.5rem;
}

/* Section 01 */
.studio-ghibli {
    display: flex;
    height: calc(100vh - 5rem);
    overflow: hidden;
}

.studio-ghibli .container{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    padding: 1.5rem 0;
}

.title-eng {
    font-size: 9rem;
    font-weight: bold;
}

.title-jap {
    font-size: 3rem;
    font-weight: bold;
}

.hayao-miyazaki {
    max-width: 100%;
    max-height: 25rem;
    width: auto;
    height: auto;
}

.caption {

}

/* Section 02 */
.ghibli-films {
    height: 100vh;
}

.ghibli-films .container {

}

.title-film {
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    padding: 50px 0;
}

.carousel-wrapper {
    position: relative;

}

.film-container {
    display: flex;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.film {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 700px;
    min-width: 100%;
}

.top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 50px 50px 0 50px;
}

.film-title {
    font-size: 4rem;
    font-weight: bold;
}

.copyright {
    display: flex;
    gap: 50px;
}

.trademark,
.year {
    font-size: .75rem;
}

.film-descr {
    font-size: 1.75rem;
    font-weight: 500;
    text-align: center;
    padding: 0 50px;
}

.bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 50px;
}

.details {
    display: flex;
    gap: 25px;
    padding-bottom: 50px;
}

.detail-label {
    font-size: .75rem;
    font-weight: normal;
    color: #808080;
}

.detail-value {
    font-size: .75rem;
    font-weight: normal;
}

.film-image {
    width: 100%;
    height: auto;
    max-width: 700px;
    max-height: 350px;
}

#spirited-away {
    background: #E06168;
}

#totoro {
    background: #109CEB;
}

#mononoke {
    background: #8898B1;
}

/* Carousel Control Buttons */
.carousel-control-prev,
.carousel-control-next {
    background: transparent;
    border: none;
    font-size: 5rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.carousel-control-prev {
    left: -5rem;
}

.carousel-control-next {
    right: -5rem;
}
