@font-face {
    font-family: 'protest';
    src: url('/fonts/ProtestRevolution.ttf');
}
@font-face {
    font-family: 'anton';
    src: url('/fonts/Anton.ttf');
}
@font-face {
    font-family: 'bahnschrift';
    src: url('/fonts/bahnschrift.ttf');
}

body, html {
    height: 100%;
    margin: 0px;
    scroll-behavior: smooth;
}

.welcome{
    background-image: url("/img/home-welcome.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center ;
    background-attachment: fixed;
}

.welcome h1{
    text-align: center;
    margin-top: 0px;
    font-family: 'protest';
    font-size: 5rem;
    color: #0246F3;
    text-shadow: 2px 4px black;
    font-weight: 400;
}

.welcome video{
    width: 40%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 1rem;
}

.about {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    background-color: #0246F3;
    padding-bottom: 1rem;
}

.about .about-img{
    flex-basis: 33%;

}

.about .about-img img{
    max-width: 50%;
    display: block;
    margin: 2rem auto 2rem auto;
}

.about .about-text{
    flex-basis: 66%;
}

.about p{
    margin-top: 2.5rem;
    margin-right: 2rem;
    color: #f1f1f1;
    font-family: 'bahnschrift';
    font-size: 1.2rem;
}

.about a{
    font-family: 'anton';
    color: #F3C219;
    text-decoration: none;
    border: 0.2rem solid #F3C219;
    border-radius: 0.5rem;
    font-size: 1.5rem;
    padding: 2px 1.5rem 2px 1.5rem;
}

.competition {
    background-color: #0246F3;
}

.competition .title{
background-image: url("/img/home-competition.jpg");
  height: 25rem; 
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.competition .title h1{
    font-family: 'anton';
    color: #0246F3;
    font-size: 3rem;
    font-weight: normal;
    margin: 0px;
}

.competition .title hr{
    border: 2px solid #0246F3;
    width: 30%;
}

.competition .cardbox{
    display: flex;
    justify-content: center;
    gap: 3rem;
    position: relative;
    top: -5rem;
}

.competition .cardbox .card {
    width: 18rem;
    border: 3px solid #F3C219;
    background-color: #0246F3;
    padding: 1rem;
    border-radius: 0.5rem;
    display: grid;
    grid-template-rows: max-content 14rem 1fr;
}

.competition .cardbox .card header h2{
    font-family: 'anton';
    font-weight: normal;

    font-weight: 100;
    text-align: center;
    color: #F3C219;
}

.competition .cardbox .card p,.footer{
    font-family: 'bahnschrift';
    text-align: justify;
    color: #f1f1f1;
}

.competition .cardbox .card .footer a{
    text-align: center;
    display: block;
    color: #F3C219;
    text-decoration: none;
}

.achivement {
    background-color: #0246F3;
    display: flex;
    flex-direction: column;
}

.achivement h1{
    font-family: 'anton';
    color: #F3C219;
    font-size: 3rem;
    font-weight: normal;
    margin-top: 4rem;
    text-align: center;
}

.achivement hr{
    border: 2px solid #F3C219;
    width: 30%;
}



.division {
    background-color: #0246F3;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.division h1{
    font-family: 'anton';
    color: #F3C219;
    font-size: 5rem;
    font-weight: normal;
    margin-top: 7rem;
    margin-bottom: 0px;
    text-align: center;
}

.division p {
    font-family: 'bahnschrift';
    color: #f1f1f1;
    font-size: 0.8rem;
    text-align: center;
    width: 30%;
    margin: 0px auto 5rem auto;
}


.jeda{
    background-color: #F3C219;
    width: 100%;
    height: 7rem;
}

.support {
  background-image: url("/img/home-support.jpg");
  height: 25rem; 
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  align-items: flex-start;
}

.support h1 {
    font-family: 'anton';
    color: #f1f1f1;
    font-size: 3rem;
    font-weight: normal;
    text-align: center;
    width: 60%;
    margin: 1rem auto 1rem auto;
}

.support a{
    font-family: 'anton';
    color: #F3C219;
    text-decoration: none;
    border: 0.2rem solid #F3C219;
    border-radius: 0.8rem;
    font-size: 1.5rem;
    padding: 2px 3rem 2px 3rem;
    display: inline-flex;
    margin: 0px auto 0px auto;
}

.sponsor{
    background-color: #f1f1f1;
    padding-top: 1rem;
}

.sponsor h1{
    font-family: 'anton';
    color: #0246F3;
    font-size: 3rem;
    font-weight: normal;
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.sponsor .judul-medpart {
    font-family: 'anton';
    color: #0246F3;
    font-size: 2rem;
    font-weight: normal;
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.sponsor hr{
    border: 2px solid #0246F3;
    width: 30%;
}

.sponsor .sponsor-box{
    margin: 5rem auto 0px auto;
    width: 80%;
    padding-bottom: 5rem;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    row-gap: 2.5rem;
    column-gap: 1rem;
}

.sponsor .sponsor-box .sponsor-bronze{
    width: auto;
    height: 50px;
    align-self: center;
}

.sponsor .sponsor-box .sponsor-PJA{
    width: auto;
    height: 80px;
    align-self: center;
}

.sponsor .sponsor-box .sponsor-PJA-real{
    width: auto;
    height: 90px;
    align-self: center;
}

.sponsor .sponsor-box .sponsor-gold{
    width: auto;
    height: 150px;
    align-self: center;
}


footer {
    background-color: #0246F3;
    border-top: 1rem solid #F3C219;
    display: flex;
    padding-bottom: 2rem;
}

footer .footer-img{
    flex-basis: 33%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

footer .footer-img img{
    width: 50%;
    margin: auto;
}

footer .footer-info{
    flex-basis: 50%;
}

footer .footer-info .sosmed{
    display: flex;
    gap: 3rem;
    margin-top: 1rem;
}

footer .footer-info .sosmed .sosmed-item {
    height: 4rem;
}

footer .footer-info .text{
    width:80%;
}

footer .footer-info .text h2{
    color: #F3C219;
    font-family: 'anton';
    font-weight: normal;
    font-size: 1rem;
    margin: 0.5rem auto 0.5rem auto;
}

footer .footer-info .text p{
    color: #f1f1f1;
    font-family: 'bahnschrift';
    font-size: 0.8rem;
    margin: 0px auto 0px auto;
}

@media only screen and (max-width: 700px){

    .welcome video{
        width: 60%;
        border-radius: 0.5rem;
    }

    .about{
        flex-direction: column;
    }

    .about .about-img{
        width: 100%;
    }

    .about .about-text{
        text-align: center;
    }

    .about .about-text p{ 
        width: 90%;
        font-size: 1rem;
        margin-top: 0px;
        margin-right: auto;
        margin-left: auto;
        margin-bottom: 2rem;
    }

    .competition .cardbox{
        flex-direction: column;
        justify-self: center;
    }

    .division h1{
        font-size: 3rem;
    }

    .division p{
        width: 50%;
        margin-bottom: 0px;
    }

    .support h1{
        font-size: 2rem;
        width: 90%;
    }

    footer {
        flex-direction: column;
    }
    
    footer .footer-img img{
        width: 50%;
        margin-top: 2rem;
    }
    
    footer .footer-info{
        width: 90%;
        margin: auto;
    }
    
    footer .footer-info .sosmed{
        justify-content: center;        
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
    
    footer .footer-info .sosmed .sosmed-item {
        height: 2rem;
    }
    
    footer .footer-info .text{
        width:70%;
        margin: auto;
    }
    
    footer .footer-info .text h2{
        margin-top: 1rem;
    }
    

}