body{
    background: rgb(18, 26, 35);
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0px;
    font-style: normal;
}
main{
    margin: 15px;
    font-style: normal;
    color: rgb(240, 245, 255);
    margin-top: 80px;
}

h1{
    text-align: center;
    padding: 0px;
    margin: 0px;
}

.top {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}

.navbar{
    background-color: rgb(46, 46, 183);
    border-radius: 24.25px;
    margin-top: 15px;
    margin-left: 15px;
    margin-right: 15px;
}

.dropdown-menu button{
    background-color: rgb(46, 46, 183);
    border: none;
    display: block;
    padding: 16.5px;
    margin: 0px;
    cursor: pointer;
    float: left;
    border-radius: 24.25px;
    width: 50px;
    height: 48.5px;
}

.navbar ul{
    list-style-type: none;
    padding: 0px;
    margin: 0px;
    overflow: hidden;
}
.navbar a{
    color: rgb(240, 245, 255);
    text-decoration: none;
    padding: 15px;
    display: block;
    text-align: center;
}
.navbar a:hover{
    background-color: rgb(20, 20, 173);
}
.navbar li{
    float: left;
}

#navbar-logo {
    float: right !important;
    margin: 5px;
    border-radius: 50%;
}

#navbar-logo-a {
    border-radius: 19.25px;
    height: 38.5px;
    padding: 0px;
    background-color: #ff828e;
    transform-origin: top right;
    transition: width 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

#navbar-logo-a p {
    margin: 0px;
    position: fixed;
    top: 28px;
    font-size: 21px;
    right: 60px;
    color: rgb(18, 26, 35);
    font-weight: 700;
}

#navbar-logo-img {
    width: 28.5px;
    height: 28.5px;
    border-radius: 50%;
    margin: 5px;
    transition: opacity 0.5s ease;
    position: absolute;
    right: 20px;
}

@media screen and not ((orientation: portrait) and (hover: none)) {
    
    #navbar-logo-a:hover p {
        transform: scale(1);
    }
    #navbar-logo-a:hover {
        width: 210px;
    }
    #navbar-logo-a p {
        transform: scale(0);
        transform-origin: right;
        transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    #navbar-logo-a {
        width: 38.5px;
    }
}
@media screen and (orientation: portrait) and (hover: none) {
    #navbar-logo-a {
        width: 210px;
    }
}

.dropdown-menu a{
    display: block;
    text-decoration: none;
    padding: 10px 15px;
    text-align: left;
}

#a-releases {
    border-bottom-left-radius: 24.25px;
    border-bottom-right-radius: 24.25px;
}

#parent{
    position: relative;
}
.dropdown-menu .dropdown-content{
    
    position: absolute;
    top: 48.5px;
    background-color: rgb(46, 46, 183);
    min-width: 100px;
    box-shadow: 2px 2px 3px hsla(0, 0%, 0%, 0.6);
    display: none;
    border-bottom-left-radius: 24.25px;
    border-bottom-right-radius: 24.25px;
}
.dropdown-menu img {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dropdown-menu i {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.dropdown-menu:hover .dropdown-content{
    display: block;
}
.dropdown-menu:hover button{
    background-color: rgb(20, 20, 173);
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    border-top-right-radius: 0px;
}
.dropdown-menu a:hover{
    background-color: rgb(20, 20, 173);
}
.dropdown-menu:hover img {
    transform: rotate(90deg);
}

.dropdown-menu:hover i {
    transform: rotate(90deg);
}

.image-text {
    background-color: rgb(18, 26, 35);
}
@media screen and not ((orientation: portrait) and (hover: none)) {
    
    .image-text img {
        line-height: normal;
        top: 0%;
        margin-left: 15px;
        width: 305px;
        float: right;
    }
    .centered {
        line-height: 305px;
        height: 305px;
        text-align: center;
        width: calc(100% - 320px);
    }
    #different_ratio {
        line-height: 229px;
        height: 229px;
    }
    .vertical_img_4-3 {
        height: 300px;
        width: 229px !important;
    }
}
@media screen and (orientation: portrait) and (hover: none) {
    
    .image-text img {
        line-height: normal;
        top: 0%;
        width: 100%;
    }
    .centered {
        line-height: 305px;
        height: 305px;
        text-align: center;
        width: 100%;
    }
    .vertical_img_4-3 {
        width: 100%;
    }
}

.centered p {
    line-height: 1.5;
    font-size: larger;
    display: inline-block;
    vertical-align: middle;
}
.centered a {
    line-height: 1.5;
    font-size: larger;
    display: inline-block;
    vertical-align: middle;
    color: rgb(240, 245, 255)
}

.big_button {
    height: 200px;
    width: 200px;
    border-radius: 25px;
    background-color: rgb(240, 245, 255);
}
.big_button:hover {
    background-color: rgb(195, 204, 224);
    cursor: pointer;
}

.poster {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    display: block;
    height: auto;
    transition: 0.3s ease;
    border: 5px solid rgb(240, 245, 255);
    border-radius: 15px;
}
.poster:hover {
    transform: scale(1.1);
}

.release {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgb(240, 245, 255);
    padding-bottom: 20px;
    align-items: stretch;
}
.release-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}
.release-title {
    font-size: 2em;
    margin-bottom: 10px;
}
.release-info {
    font-size: 1.5em;
    max-width: 300px;
    align-self: center;
}
.release-poster, .release-trailer {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s ease;
}
.release-trailer:hover, .release-poster:hover {
    transform: scale(1.1);
}
.release-poster img, .release-trailer img {
    height: 100%;
    width: auto;
    max-height: 300px;
    border: 5px solid rgb(240, 245, 255);
    border-radius: 15px;
}

@media screen and (orientation: portrait) and (hover: none) {
    .release {
        flex-direction: column;
    }
    .release-text {
        text-align: center;
    }
    .release-poster img, .release-trailer img {
        width: 100%;
        height: auto;
        max-height: none;
        margin: 10px 0;
    }
}

@media screen and not ((orientation: portrait) and (hover: none)) {
    .content {
        font-size: x-large;
    }
    .expandable-section:hover {
        aspect-ratio: 2/1;
    }
}

.expandable-section {
    width: 50%;
    aspect-ratio: 1/1;
    overflow: hidden;
    transition: width 0.5s ease, height 0.5s ease, aspect-ratio 0.5s ease-in-out;
    border: 5px solid #ff828e;
    display: flex;
    justify-content: center;
    transform-origin: top right;
    background: rgb(18, 26, 35);
    border-radius: 24.25px;
    z-index: -1;
    margin-left: 50%;
    transform: translate(-50%);
}

.content {
    width: 80%;
    aspect-ratio: 1/1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.5s ease, opacity 0.5s ease, width 0.5s ease, height 0.5s ease;
    opacity: 0;
    transform-origin: top left;
    padding-left: 15px;
    padding-right: 15px;
}

.expandable-section img {
    width: 100%;
    height: auto;
    opacity: 1;
    transition: transform 0.5s ease, opacity 0.5s ease, width 0.5s ease, height 0.5s ease;
    border-radius: 19.25px;
    z-index: 0;
}

.expandable-section:hover {
    z-index: 1;
    width: 100%;
}

.expandable-section:hover .content {
    opacity: 1;
}

.expandable-section:hover img {
    opacity: 0;
    z-index: -100;
}

.expandable-section:hover .content img {
    opacity: 1 !important;
}

.content p {
    line-height: 1.3;
    margin-top: 0px;
}

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