* {
    transition: all 1s ease;
}

html {
    scroll-behavior: smooth;
}

a {
    color: #000;
}

a:hover {
    text-decoration: none;
}

body {
    overflow-x: hidden;
    position: relative;
    font-family: 'Poppins', sans-serif;
}

main {
    min-height: 100vh;
}

section {
    min-height: 100vh;
    color: white;
    position: relative;
}

section h2 {
    color: white;
    text-align: center;
    font-size: 40px;
    padding: 40px 0 20px;
}

#top-text, #contact-text {
    text-align: center;
    width: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    background-color: #000000cc;
    cursor: default;
    padding: 50px 0;
    color: #fff;
}

#top-text * {
    color: white;
}

#contact-text a {
    color: white;
    opacity: 0.8;
}

#contact-text a:hover {
    opacity: 1;
}

#background {
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: -1;
    top: 0px;
    background-image: url('/bg.jpg');
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
}

#background-overlay {
    background: linear-gradient(#000000cc, #00000000, #000000cc);
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
}

#beats {
    padding-top: 50px;
}

header {
    width: 100vw;
    height: 60px;
    margin-bottom: -60px;
    background-color: rgba(0, 0, 0, 0.7);
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    font-family: 'Montserrat', sans-serif;
    position: fixed;
    z-index: 10;
}

header a:hover {
    opacity: 0.75;
}

.header-part {
    display: inline-block;
    vertical-align: top;
}

.header-left img{
    height: 20px;
    margin-top: 18px;
    margin-left: 16px;
}

.header-middle {
    text-align: center;
    width: 59%;
    position: relative;
    padding-top: 16px;
}

.header-left, .header-right {
    width: 20%;
}

.header-right {
    text-align: right;
    padding: 16px 20px 0 0;
}

.header-right img {
    height: 25px;
}

.header-right i {
    color: #fff;
    font-size: 32px;
}

.header-right a {
    padding: 0 10px;
}

.header-middle a {
    color: #fff;
    font-weight: bold;
    padding: 0 15px 5px;
    font-size: 18px;
    letter-spacing: 1px;
}

#footer-buffer {
    height: 60px;
    width: 100vw;
    opacity: 0;
}

footer {
    height: 65px;
    margin-top: -65px;
    width: 100vw;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 0 20px;
    color: #fff;
}

.footer-middle {
    text-align: center;
    padding-top: 10px;
}

.footer-middle a {
    color: #fff;
    padding: 0 10px;
    font-size: 25px;
}

.footer-left, .footer-middle, .footer-right {
    display: inline-block;
    width: 33%;
}

.footer-right {
    text-align: right;
    font-size: 12px;
    padding-top: 25px;
    opacity: 0.75;
}

.footer-right a {
    color: #fff;
}

#production {
    opacity: 0;
    background-color: #000000cc;
}

#production .container-fluid,
#production .col-md-2 {
    padding: 0px;
}

.portfolio-item-wrap {
    width: 100%;
    padding-top: 100%;
    position: relative;
}

.portfolio-item {
    text-decoration: none;
    color: #fff;
    background-position: center;
    background-size: cover;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    padding-top: 30px;
}

.portfolio-item:hover {
    transform: scale(1.2, 1.2);
    z-index: 5;
    transition: all 0.5s ease;
}

.portfolio-item-title {
    font-size: 20px;
    text-align: center;
    font-weight: bold;
    opacity: 0;
    z-index: 11;
    position: absolute;
    width: 100%;
}

.portfolio-item-info {
    font-size: 16px;
    text-align: center;
    opacity: 0;
    z-index: 11;
    position: absolute;
    width: 100%;
    top: 60px;
}

.portfolio-item-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #00000099;
    opacity: 0;
    top: 0;
    z-index: 10;
}

.portfolio-item:hover .portfolio-item-title,
.portfolio-item:hover .portfolio-item-info,
.portfolio-item:hover .portfolio-item-overlay {
    opacity: 1;
}

.row {
    max-width: 100%;
}

#aistra {
    padding: 60px 0 65px;
    position: relative;
    background-color: #000;
    z-index: 100;
}

#aistra video {
    display: block;
    margin: 0 auto;
    height: calc(100vh - 125px);
}

#aftervid {
    width: 100vw;
    position: absolute;
    top: 0px;
    left: 0;
    z-index: 10;
    display: none;
    color: white;
    text-align: center;
    padding-top: 100px;
}

#aftervid div {
    display: inline-block;
    width: 300px;
    text-align: center;
    cursor: pointer;
}

#aftervid i {
    font-size: 120px;
}

#aftervid h2 {
    font-size: 60px;
    text-decoration: underline;
}

@media (min-width: 481px) {
    .mobile-only {
        display: none;
    }

}

@media (max-width: 481px) {
    #background {
        background-attachment: scroll;
    }

    .desktop-only {
        display: none;
    }

    main {
        padding: 60px 0;
    }

    .header-left, .header-middle, .header-right {
        width: initial;
        position: initial;
        vertical-align: middle;
    }

    .header-left img {
        margin-top: 6px;
        height: 15px;
    }

    .header-right {
        float: right;
        padding: 17px 15px;
    }

    #mobile-menu {
        display: none;
    }

    #mobile-menu-button {
        color: #fff;
        font-size: 30px;
        padding: 0px 15px;
        margin-top: -5px;
    }

    .header-right a {
        padding: 0 5px;
    }

    #mobile-menu {
        background-color: black;
        color: white;
        position: fixed;
        top: 0px;
        left: 0px;
        width: 100vw;
        z-index: 11;
    }

    #mobile-menu a {
        display: block;
        text-align: center;
        font-size: 18px;
        padding: 5px;
        border-bottom: 1px solid white;
        color: white;
    }

    #mobile-menu i {
        position: absolute;
        right: 5px;
        top: 5px;
        font-size: 30px;
    }

    footer {
        padding: 0;
        height: auto;
    }

    .footer-left, .footer-right {
        width: 100%;
        text-align: center;
        padding: 5px 0;
    }

    .footer-middle {
        display: none;
    }

    .portfolio-content .row {
        margin: 0;
    }

    #production {
        overflow-x: hidden;
        padding-bottom: 50px;
        min-height: auto;
    }

    #production .mobile-only {
        overflow: auto;
        white-space: nowrap;
    }

    .prod-item {
        width: 50vw;
        height: 50vw;
        background-position: center center;
        background-size: cover;
        display: inline-block;
    }

    .prod-item-info {
        text-align: center;
        padding-top: calc(50vw + 20px);
    }

    .prod-item-info p {
        color: white;
        line-height: 0px;
    }
}
