@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@300;400&display=swap");

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

.custom-video {
    position: relative;
    top: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
}

.custom-video__container {
    position: relative;
    top: 0;
    height: auto;
    margin: 1em;
    font-family: "Oswald", sans-serif;
    overflow: hidden;
    padding: 0 32px;
}

.custom-video__video {
    border-radius: 0.2em;
    cursor: pointer;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.custom-video__control {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #0e7499;
    border-radius: 50%;
    padding: 2em 2em 2.1em 2.1em;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #041d26;
    font-size: 1em;
    font-weight: 400;
    width: 3em;
    height: 3em;
    white-space: nowrap;
    line-height: 1;
    text-align: center;
}

video::-webkit-media-controls {
    position: relative;
    z-index: 1;
}
