@font-face {
    font-family: mon-reg;
    src: url(Montserrat-Regular.ttf);
}

@font-face {
    font-family: mon-bold;
    src: url(Montserrat-Bold.ttf);
}

@font-face {
    font-family: atas;
    src: url(1.ttf);
}

@font-face {
    font-family: bawah;
    src: url(2.otf);
}

@keyframes scrollUp {
    from {
        top: 100%;
    }
    to {
        top: -440%;
    }
}

.title-tengah-sendiri{
    transition: 2s all;
    position: absolute;
    top: 35%;
    left: 50%;
    height: 30vh;
    width: 100vw;
    transform: translate(-50%, 0%);
}

.title-tengah-sendiri.after{
    top: 27%;
}

.title-tengah-sendiri.after div{
    font-size: 3.7vw;
}

.title-tengah-sendiri{
    width: 100vw;display: inline-block;height: 30vh; color: black; text-align: center; font-size: 3.7vw; font-weight: bold;
}

.undian-sendiri{
    left: 50%;
    position: absolute;
    transform: translate(-50%, 0%);
    width: 80vw;
    top: 43vh;
    color: black;
    transition: 2s all;
}

.undian-sendiri.after{
    top: 35vh;
}

#result-page2{
    animation: scrollUp 25s linear infinite;
}

.undian-container{
    margin: 0% 0.5% 0.8%;
    display: inline-block;
    width: 17.2%;
    height: 5vh;
    background: white;
    color: black;
    border-radius: 13px;
}

.v100 .undian-container{
    margin: 0.25% 0.4%;
    padding: 0;
    height: 1.75vh;
}

.v100 .undian-container div{
    margin-top: 1.7%;
}

.v500 .undian-container {
    margin: 0.4%;
    padding: 0px;
    height: 2.8vh;
}

.v300 .undian-container{
    margin: 0.2%;
    padding: 0.3vw 0.5vh 0.75vw;
    height: 0.5vh;
}

.v750 .undian-container{
    margin: 0.4%;
    padding: 0px;
    height: 2vh;
}

.v500 .undian-container div{
    margin-top: 4%;
}


.v750 .undian-container div{
    margin-top: 2%;
}

th{
    padding: 3px;
}

td{
    padding: 3px;
    font-size: 2vw;
    font-weight: bold;
}

#voucher table{
    background-color: white;
}

#voucher td{
    font-size: 1.3vw;
}

#voucher #result2 td{
    font-size: 2.2vw;
}

body{
    padding: 0px;
    margin: 0px;
    font-family: mon-reg, sans-serif;
}

.container{
    width: 100vw; 
    height: 15vw;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    
}

.logo{
    background-image: url(../logo.png);
    width: 15vw;
    height: 7.45vw;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top:1%;
    left: 1%;
}

.prize{
    position: absolute;
    width: 40%;
    height: 65%;
    left: 20%;
    top: 15%;
    background-size: contain;
    background-repeat: no-repeat;
}

.label-pemenang{
    font-family: mon-bold;
    font-size: 3em;
    position: absolute;
    top: -30%;
    right: 10%;
}

.no{
    background-image: url(../no.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    color: white;
}

#name{
    font-size: 50px;
    position: absolute;
    left: 50%;
    top: 20%;
    transform: translate(-50%, 0%);
}

.name{
    margin-top: 2.5%;
}

#name-container{
    text-align: center;
    margin-top: 2vh;
    
}

.undian{
    left: 50%;
	position: absolute;
	transform: translate(-50%, 0%);
	width: 88vw;
	top: 20%;
	color: black;
	transition: 3s opacity;
    height: 45%;
    font-weight: bold;
}

.button{
    position: absolute;
    left: 50%;
    top: 60%;
    transform: translate(-48%, -59%);
    width: 279px;
    height: 49px;
}

.button img{
    width: 100%;
    height: 80%;    
    position: absolute;
    object-fit: cover;
}

.start, .stop{
    position:absolute;
    left: 50%;
    bottom: 5%;
    transform: translate(-50%, 0%);
    padding: 10px;
    color: #D31145;
    background-color: white;
    width: 5vw;
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
    cursor: pointer;
    font-family: sans-serif;
}