@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,300;0,400;0,600;1,400;1,600&display=swap");

html {
  box-sizing: border-box;
}

body {
  font-family: "Josefin Sans", sans-serif;
  font-weight: normal;
}

*,
*::before,
*::after {
  box-sizing: inherit;
  margin: 0px;
  padding: 0;
}

.container {
  position: relative;
  height: 250px;
  width: 300px;
  overflow: hidden;
  visibility: hidden; 
}

.video {
  position: absolute;
  height: 250px;
  width: 300px;
  top: 0;
  left: 0;
}

#mask {
  position: absolute;
  height: 250px;
  width: 300px;
  top: 0;
  left: 0;
}

#mainTitle1 {
  clip-path: url(#mask1);
}

#mainTitle2 {
  clip-path: url(#mask2);
}

#mainTitle3 {
  clip-path: url(#mask3);
}

.overlay {
  position: absolute;
  height: 250px;
  width: 300px;
  background-color: rgba(0, 0, 0, 0.2);
  top: 0;
  left: 0;
  z-index: 10;
}

#mainTitle1{
  position: absolute;
  top: 20px;
  left: 0;
  z-index: 100;
}

#mainTitle2{
  position: absolute;
  top: 50px;
  left: 0;
  z-index: 100;
}

#mainTitle3{
  position: absolute;
  top: 85px;
  left: 0;
  z-index: 100;
}

h1{
  color: white;
  font-size: 1.35rem;
  line-height: 1.15;
}


h2 {
  font-size: 0.9rem;
  line-height: 1.25rem;
  color: #FFEC5C;
}

#subTitle1{
  position: absolute;
  top: 130px;
  left: 158px;
  right: 20px;
  z-index: 20;
}

#subTitle2{
  position: absolute;
  top: 130px;
  left: 158px;
  right: 0px;
  z-index: 20;
}
#subTitle3{
  position: absolute;
  top: 200px;
  left: 158px;
  right: 0px;
  z-index: 20;
}
/* Code below for the button */

.btn {
  height: 30px;
  width: 60px;
  background-color: rgb(0, 0, 0);
  position: fixed;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  left: 10px;
  z-index: 100;
  color: white;
  box-shadow: none;
  border: none;
  font-size: 15px;
  border: 1px solid black;
}

.btn:hover {
  color: white;
  border: 1px solid rgba(0, 0, 0, 0.8);
}

#pause {
  left: 10px;
  top: 260px;
}
