/* Background */
body {
    background-color: black;
    color:#d8e9f2;
    overflow: hidden;
}
.bg-video { 
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: 100%;
    z-index: -100;
    transform: translateX(-50%) translateY(-50%);
    background-size: cover;
    transition: 1s opacity;
    object-fit:fill;
}

/* Main content */
.audiosabre {
    width: 24em;
    height: 390px;
    padding: 20px;
    padding-top: 25px;

    background: rgba(0, 0, 0, 0.4);
    font-family: 'Montserrat', sans-serif;
    border-radius:	5%;
    
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    -ms-user-select: none;
    -webkit-user-select: none;
	user-select: none;
	text-decoration:	none;
	text-align:	center;
	transition: background 0.5s, box-shadow 2s;

    z-index: 100;
}
.audiosabre:hover { 
    background: rgba(0, 0, 0, 0.7);
    box-shadow: inset 0 0 0 2px #FFE9EC;

    transition: box-shadow 0.5s, background 1s;
}
.audiosabre h1 {
    font-size: 4.25em;
    margin: 0;
    letter-spacing: 5px;
    color: #b89a02;
    font-family: 'Unlearned 2 BRK';

    transition: all 1s ease;
}
.audiosabre h1:hover {
    text-shadow: 0 0 0.3em #e71375, 0 0 1.5em #00edff, -1px -1px 0.5em #ccff00, 0 0 1.5em #c6930a;
    color: #d8e9f2;
}
    /* Mobile fix */
@media screen and (max-width: 480px) {
    .audiosabre {
        width: 90%;
        height: 350px; 
    }
    .audiosabre h1 {
        font-size: 3.5em;
    }
}
    /* Buttons */
.buttons {
    display: flex;
    justify-content: space-around;
}
.buttons button {
    width: 150px;
    padding: 5px;

    background-color: #000910;
    border-radius: 10px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size:20px;    
    color:#d8e9f2;
    transition: all 0.5s ease;
    border: 2px solid rgba(255, 233, 236, 0.5);
    border-style:solid;

    z-index: 150;
}
.buttons button:hover {
    background-color:  #b89a02;
    border-color: rgba(255, 233, 236, 0);
    color:black;
}

/* Media on Hover */
    /* Listen */
.audio {
    height: 100px;
    width: 24em;
    transition: filter 0.5s, width 1.5s, height 1.5s;
    filter:opacity(0%);
    position: absolute; 
    bottom: 2px; 
} 
.btn-1:hover + .audio {
    filter:opacity(100%);
    transition: filter 1s, width 1.5s, height 1.5s;
    
} 
    /* Connect */
.connect {
    height: 100px;
    width: 24em;
    transition: filter 0.5s, width 1.5s, height 1.5s;
    filter:opacity(0%);
    position: absolute; 
    bottom: 2px; 
} 
.btn-2:hover + .connect {
    filter:opacity(100%);
    transition: filter 1s, width 1.5s, height 1.5s;
    
} 
    /* Mobile Fix */
@media screen and (max-width: 480px) {
    .audio, .connect {
        width: 90%; 
    }
}
    /* Image classes */
.imghover {transition:transform 1s ease;}
.imghover:hover {transform:scale(1.2);}

/* Modals */
.modal {
    position: fixed;
    top: 110%;

    z-index: 200;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25em;
    background-color: rgba(0, 0, 0, 0.8);
    transition: top 0.5s ease;

    margin: auto;
    width: auto;
    left: 0;
    right: 0;
    bottom: 0;
}
    /* Close Button */
.exit-modal.s {top:81%;}
.exit-modal {

    position: fixed; 
    cursor: pointer;
    font-size: 1em !important;
    left: 98%;
    top: 110%;
    
    transition: top 0.5s ease;
}
.exit-modal:hover {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}
    /* Modal 1 */
.m1 {
    top: 200%;
    opacity: 0;
    transition: opacity 1s ease, top 1s ease;
}
.m1.s {
    opacity: 1;
    top: 0;
    transition: opacity 0.5s ease;
}
.sc-embed {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
    /* Modal 2 */
.m2.s {
    top: 80%;
}
.connections {
    display: flex;
    width: 24em;
    margin: auto;
    position: relative;
    justify-content: space-evenly;
}
    /* Mobile fix */
@media screen and (max-width: 480px) {
    .connections {
        width: 95%; 
    }
    .connections img {
        height: 60px;
        width: 60px;
    }
    .exit-modal {
        left: 92.5%;
    }
    .modal p {
        font-size: 0.75em;
    }
    .sc-embed {
        width: 100%;
    }
}
.connections .imghover {
    transition: transform 0.3s ease;
    border-radius: 15px;
}
.connections .imghover:hover {
    -webkit-box-shadow: red 0px -2px 10px, yellow 0px -10px 20px, magenta 0px -18px 40px; 
    box-shadow: white 0px -2px 10px, yellow 0px -10px 20px, magenta 0px -18px 40px;

    transition: all 0.5s ease;
}
    /* Font */

@font-face {
    font-family: 'Unlearned 2 BRK';
    src: url('Unlearned2BRK.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

    /* Watermark */
.watermark {
    user-select: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: bolder;
}
.watermark a {
    text-decoration: none;
    color: #FFE9EC;
    transition: all 0.5s ease;
    border-bottom: 1px solid white;
}
.watermark a:hover {
    color: red;
    border-color: red;
}