body {
    background: #171717;
    background: radial-gradient(circle, rgba(23, 23, 23, 1) 1%, rgba(0, 0, 0, 1) 100%);
}

@font-face {
    font-family: 'Benguiat Bold Italic';
    src: url('../Font/Benguiat Bold Italic/Benguiat-BoldItalic.woff2') format('woff2');
}

@font-face {
    font-family: 'Coolvetica';
    src: url('../Font/Coolvetica/Coolvetica Rg.otf') format('opentype');
}

.frame {
    margin: 20vh auto 30px;
    width: 80%;
    background: linear-gradient(180deg, rgba(30, 30, 30, 1) 0%, rgba(0, 0, 0, 1) 100%);
    border-radius: 40px;
    padding: 12px;
    position: relative;
    background-clip: padding-box;
    border: 2px solid transparent;
}

.frame::before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: -1;
    margin: -2px;
    border-radius: inherit;
    background: linear-gradient(to bottom, #424242, black);
}

.frame::after {
    content: '';
    position: absolute;
    inset: 12px;
    border-radius: 30px;
    pointer-events: none;
    border: 2px solid transparent;
    background: linear-gradient(to bottom, rgba(90,90,90,0.8), rgba(0,0,0,0.9)) border-box;
    /*noinspection CssInvalidPropertyValue*/
    -webkit-mask:
            linear-gradient(to bottom, #ffffff 0%, #ffffff 100%) padding-box,
            linear-gradient(to bottom, #ffffff 0%, #ffffff 100%);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.schermo {
    background: linear-gradient(180deg, rgb(30, 30, 30) 0%, rgba(33, 33, 33, 1) 10%, rgba(0, 0, 0, 1) 100%);
    border-radius: 30px;
    height: calc(100vh - 55px);
    width: 100%;
}

.barra {
    background: radial-gradient(circle, rgba(172, 171, 171, 1) 0%, rgba(65, 65, 65, 1) 100%);
    border-radius: 30px 30px 0 0;
    height: 7vh;
    display: flex;
    position: relative;
    padding-top: 40px;
    gap: 20px;
}

.rosso {
    margin-left: 50px;
    width: 20px;
    height: 20px;
    background-color: #f74b37;
    border-radius: 100px;
    box-shadow: 0 0 10px 1px #f74b37;
}

.giallo {
    width: 20px;
    height: 20px;
    background-color: #f7bd4f;
    border-radius: 100px;
    box-shadow: 0 0 10px 1px #f7bd4f;
}

.verde {
    width: 20px;
    height: 20px;
    background-color: #57c353;
    border-radius: 100px;
    box-shadow: 0 0 10px 1px #57c353;
}

.scritta {
    margin-left: 90px;
    margin-top: 125px;
    font-size: 90pt;
    color: white;
    line-height: 1;
    display: block;
    font-family: Coolvetica;
    text-shadow: 0 0 80px rgba(255,255,255,0.05), 0 0 40px rgba(255,255,255,0.04);
}

.scritta2 {
    font-family: 'Benguiat Bold Italic';
    font-size: 110pt;
    background: linear-gradient(to top, #1d1f37 10%, #FBFBFB 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-right: 15px;
    filter: drop-shadow(0 0 40px rgba(255,255,255,0.08));
}

.scritta3 {
    margin-top: 100px;
    max-width: 700px;
    font-size: 15pt;
    color: white;
    line-height: 1.5;
    padding-right: 90px;
    float: right;
    font-family: Coolvetica;
    text-align: right;
}

.macbook {
    margin-top: 10vh;
    width: 160vh;
    height: 95vh;
    display: flex;
    justify-self: center;
    position: relative;
}

.schermo-Mac {
    background-color: black;
    position: absolute;
    top: calc(12% - 1px);
    left: calc(12% + 3px);
    right: calc(12% + 3px);
    height: calc(75% + 10px);
    overflow: hidden;
}

.video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.player-controls {
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
    height: 50px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    opacity: 0;
    transition: opacity 0.5s;
}

.schermo-Mac:hover .player-controls {
    opacity: 1;
}

.btn {
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.5s;
}

.btn:hover {
    background: rgba(255,255,255,0.15);
}

.progress-bar {
    flex: 1;
    height: 3px;
    background: rgba(255,255,255,0.3);
    border-radius: 10px;
    cursor: pointer;
}

.progress {
    height: 100%;
    width: 0;
    background: white;
    border-radius: 10px;
}

.tempo {
    margin-left: 20px;
    color: white;
    font-size: 12px;
    font-family: Coolvetica;
    min-width: 35px;
}