@font-face {
    font-family: 'font_bold';
    src: url('../fonts/Mitr-Regular.ttf');
}
@font-face {
    font-family: 'font_small';
    src: url('../fonts/Mitr-Regular.ttf');
}
@font-face {
    font-family: 'font_small_italic';
    src: url('../fonts/Exo-SemiBoldItalic.ttf');
}
:root {
    --warna-text:#000; /* Definisikan variabel warna utama */
  }
body{
    min-height: 100vh;
    background-image: url("../img/bg3.png");
    background-repeat: no-repeat;
    background-size: 22%;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color:#151313;
    flex-direction: column;
}
.logo{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -15%;
}
.logo2{
   position: absolute;
   left: 36%;
   top: -3%;
}
.logo img{
 width: 27rem;
}
.logo2 img{
    width: 9rem;
}
/* home */
.home,.login,.register, .profile, .success-register, .rundown{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: 'font_small', sans-serif;
    margin-top: -3%;
}
.home a{
    width: 150px;
    margin-top: 50px;
}
.home,.login, .login .form-group, .register,.register .form-group .judul, .profile .judul, .profile table, .success-register, .rundown{
    font-size: 0.8rem;
    color: var(--warna-text);
    text-shadow: 1px 1px 2px #4e4d4d
}
/* LOGIN */
.login .form-group, .register .form-group{
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.login .form-group input::placeholder{
    text-align: center;
}
.login .form-group input{
    width: 80%;
    text-align: center;
}
.login button, .profile a, .foto .tombol .form-group a, .ttd .form-group a, .ttd button, .success-register a{
    background-color: #4e4d4d;
    color: #000 !important;
    border-radius: 30px;
    width: 8rem;
}
/* REGISTER */
.register input{
    width: 70%;
}
.register table{
    margin-left: 55px;
}
/* profile */

/* Foto */
.foto{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-top: 40px;

}
.foto .kamera{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.foto .kamera canvas, .foto .kamera video{
    border-radius: 10px;
    border: 3px var(--warna-text) solid;
}
/* ttd */
.ttd input{
    border-radius: 30px;
}
/* success register */
.success-register .card{
display: flex;
justify-content: center;
align-items: center;
margin-top: 15rem;
padding: 20px;
border-radius: 20px;
}
.rundown{
margin-bottom: 30px;
}
.rundown img{
border-radius: 30px;
}
@media screen and (max-width: 786px){
body{
background-size: cover;
}
.logo2{
    position: absolute;
    left: -10%;
    top: -3%;
 }
.logo{
    margin-top: -40%;
}
.logo img{
    width: 30rem;
}
/* login */
.login .judul, .login .form-group, .peserta .judul, .foto .judul, .ttd .judul{
    font-size: 1.2rem;
}
.login .form-group input{
    width: 100%;
}
.register{
    font-size: 1rem;
}
.register input{
    width: 90%;
}
.register table{
    margin-left: 20px;
}
/* peserta */
.profile .judul span{
    font-size: 1.8rem;
}
}
@media screen and (max-width: 576px){

    .logo img{
        width: 25rem;
    }

    /* login */
    .login .judul, .login .form-group, .peserta .judul, .foto .judul, .ttd .judul{
        font-size: 0.9rem;
    }
    .login .form-group input{
        width: 100%;
    }
    /* peserta */
    .profile .judul span{
        font-size: 1.5rem;
    }
  
    }
