@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@600;700&family=Poppins:wght@500&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

body {
    height: 100%;
    background: #FFFFFF;
    overflow-y: auto;
    padding: 0%;
}


#wrapper{
    display: flex;
}

.navbar-container {
    position: -webkit-sticky;
    position: sticky;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    /* flex-wrap: wrap; */
    align-items: center;
    padding: 0 2rem;
    width: 100%;
    height: 70px;
    background: #000000;
    color: #FFFFFF;
    position: fixed;
    top: 0;
    overflow: hidden;
}

.nav-link{
    overflow-y: hidden;
    height: 100%;
}

.navbar-container .logo-container a {
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    font-family: 'Kanit', sans-serif;
    text-transform: uppercase;
    cursor: pointer;
    color: #FFFFFF;
}

.navbar-container .logo-container a:hover {
    opacity: 0.8;
    text-decoration: none;
}

.navbar-container .nav-items {
    display: flex;
    align-items: center;
    width: 85%;
    justify-content: space-between;
    list-style: none;
}

.navbar-container .nav-items .nav-link a {
    text-decoration: none;
    color: #FFFFFF;
    padding: 10px;
    text-transform: uppercase;
    transition: 0.2s;
    -webkit-transition: 0.2s;
    -moz-transition: 0.2s;
    -ms-transition: 0.2s;
    -o-transition: 0.2s;
}

.navbar-container .nav-items .nav-link:after {
    content: '';
    display: block;
    border-top: 2px solid #FFFFFF;
    transform: scaleX(0);
    -webkit-transform: scaleX(0);
    -moz-transform: scaleX(0);
    -ms-transform: scaleX(0);
    -o-transform: scaleX(0);
    transition: transform 250ms ease-in-out;
    -webkit-transition: transform 250ms ease-in-out;
    -moz-transition: transform 250ms ease-in-out;
    -ms-transition: transform 250ms ease-in-out;
    -o-transition: transform 250ms ease-in-out;
}

.navbar-container .nav-items .nav-link:hover:after {
    transform: scaleX(0.8);
    -webkit-transform: scaleX(0.8);
    -moz-transform: scaleX(0.8);
    -ms-transform: scaleX(0.8);
    -o-transform: scaleX(0.8);
}

.navbar-container .nav-items .login-register {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.navbar-container .nav-items .login-register .button {
    text-decoration: none;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
    padding: 5px 20px;
    text-transform: uppercase;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
    transition: all ease-in 0.3s;
    -webkit-transition: all ease-in 0.3s;
    -moz-transition: all ease-in 0.3s;
    -ms-transition: all ease-in 0.3s;
    -o-transition: all ease-in 0.3s;
}

.navbar-container .nav-items .login-register .button:hover {
    background: #FFFFFF;
    color: #000000;
}

.main{
    position: relative;
    z-index: -100;
    width: 100vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: #000000;
    font-size: 3rem;
    text-align: center;
    margin-top: 60px;
}

.photo{
    position: relative;
    margin-left:0;
    width: 100vw;
    height: 500px;
    overflow: hidden;
    /* background-repeat: no-repeat; */
    background-repeat:repeat-x; 
    background-size: contain;
    /* filter: brightness(50%); */
    z-index: -10;
    background-image: url(assets/bg.png);
    color: #FFFFFF;
}

/* 
.photo::before{
    content: "";
    position: absolute;
    width: 100vw;
    height: 500px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    background-color: rgba(0, 0, 0, 0.35);
    background-size: contain;
} */

.navbar-container .nav-items.active {
    right: 0;
}


h1{
    color: #FFFFFF;
    font-size: 150%;
    display: inline-block;
    margin: 10% 0 0 0;
    padding: 10px;
    text-shadow: 2px 2px #ff0000;
    filter: brightness(2);
}

h3{
    color: #FFFFFF;
    font-size: 50%;
    display: inline-block;
    margin: 4px 0 0 0;
    padding: 8px 32px;
    text-shadow: 1px 1px #ff0000;
    filter: brightness(1.75);
}

.update{
    display: flex;
    flex-direction: column;
}

h2{
    font-size: 30px;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 20px;
    margin-bottom: 20px;
    padding-bottom: 0;
    color: #0f394c;
}

p{
    font-size: 13px;
    max-width: 80%;
    margin-bottom: 20px;
    margin: 0 auto;
    padding-bottom: 0;
    color: #3d3d3d;
    font-weight: 100;
    text-align: justify;

}

.heading h2{
    font-size: 30px;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 80px;
    margin-bottom: 20px;
    padding-bottom: 0;
    color: #0f394c;
}


.list{
    list-style-type: circle;
    font-size: 13px;
    text-align: left;
    margin-left: 10%;
    margin-right: 10%;
    padding-bottom: 0;
    color: #3d3d3d;
    font-weight: 100;
    font-weight: lighter;
    pointer-events: all;
  }

span{
    color: #000000;
    font-weight:bold;
}


.header{
    margin-left: 10%;
    font-size: 18px;
    font-weight: bold;
    color: #0f394c;
    max-width: 80%;
    margin-top: 10px;
    padding-bottom: 0;
}

table {
    width: 50%;
    margin: 0 auto;
    border: 1px solid black;
    border-collapse: collapse;
  }

  th, td {
    text-align: center;
    padding: 8px;
    border: 1px solid black;
  }
  th{
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    color: #0f394c;
  }
  td{
    font-size: 13px;
    max-width: 80%;
    margin-bottom: 20px;
    margin: 0 auto;
    padding-bottom: 0;
    color: #3d3d3d;
    font-weight: 100;
  }
  
  tr:nth-child(even) {background-color: #fff3f3;}


.org{
    display: flex;
    width:100%;
    justify-content: center;
    align-items: center;
    gap: 5%;
    overflow:visible;
}

.box{
    border-radius: 10px;
    width: 20%;
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
    height: 400px; 
    display: flex;
    flex-direction: column;
    justify-content: baseline;
    gap: 2.5%;
}

.info{
    width: 100%;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
 
}

.resp{
    text-align: center;
}

footer {
    /* border-top: 1px solid #f1f1f1; */
    /* box-shadow: 0px -2px 3px #f1f1f1; */
    text-align: center;
    /* color: aliceblue; */
    color: white;
    padding: 3rem;
    position: relative;
    left: 0;
    bottom: 0;
    /* background-color: rgb(64, 3, 97); */
    background-color: black;
    top: 5rem;
  }

  .social {
    text-align: center;
    margin: 2rem;
  }
  
  .socicons {
    font-size: 1.3rem;
  }

.logo-container{
    display:flex; 
    justify-content: space-between; 
    align-items: center;
}

.login-register-respo a{
   visibility: hidden;

}

.sponsor-img{
    display:flex;
    gap:20px;
    flex-direction:row;
}


@media(max-width:1440px){
    .box{
        width:25%;
    }
    h3{
        font-size: 45%;
    }
    
    .sponsor-img{
        flex-direction:row;
    }
}

@media(max-width: 1165px){
    h3{
        text-indent: 100%;
        white-space: nowrap;
        overflow: hidden;
    }
    .photo{
        height: 350px;
    }
    h1{
        margin-top: 5%;        
    }
    h2, .heading h2{
        font-size: 28px;
    }
    p{
        font-size:12px;
    }
    .org{
        gap: 2%;
    }
    .box{
        width: 28%;
    }
    .long2{
        font-size: 12px;
    }

    .sponsor-img{
        flex-direction:row;
    }
    
}

@media(max-width: 1000px) {
    .navbar-container {
        padding: 0 1rem;
    }

    .navbar-container .nav-items {
        gap: 0.1rem;
    }

    .navbar-container .nav-items .nav-link a,
    .navbar-container .nav-items .login-register .button {
        font-size: 0.9rem;
    }

    h1{
        margin-top: 5%;        
    }
    
    h3{
        text-indent: 100%;
        white-space: nowrap;
        overflow: hidden;
    }
    .org{
        margin-left: 5%;
        width: 90%;
        gap: 2%;
    }
    .box{
        width: 35%;  
    }
    .sponsor-img{
        flex-direction:row;
    }
    
}

@media(max-width:900px){
    .main{
        font-size: 2.25rem;
        margin-top: 5px;   
    }
    .photo{
        height: 300px;
    }
    h1{
        margin-top: 10%;        
    }
    h2, .heading h2{
        font-size: 25px;
    }
    p{
        font-size:11px;
    }
    .long{
        font-size: 16px;
    }
    .nav-link{
        font-size: 12px;
    }
    .sponsor-img{
        flex-direction:row;
    }
}

@media(max-width: 700px) {
    .navbar-container .nav-items {
        flex-direction: column;
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100vw;
        height: 100vh;
        padding: 0.5rem 0;
        z-index: 99;
        background: #000000;
        transition: 0.2s ease-in;
        -webkit-transition: 0.2s ease-in;
        -moz-transition: 0.2s ease-in;
        -ms-transition: 0.2s ease-in;
        -o-transition: 0.2s ease-in;
    }

    .login-register-respo a{
        color:white;
        visibility: visible;
    }

    .logo-container{
        width:90%;
    }

    .bars {
        width: 22px;
        height: auto;
        cursor: pointer;
    }

    .bars .bar {
        width: 100%;
        height: 2px;
        background: #FFFFFF;
        margin: 5px;
    }

    .navbar-container .nav-items {
        gap: 1.5rem;
    }

    .navbar-container .nav-items .login-register {
        width: 50%;
        text-align: center;
        flex-direction: column;
        gap: 1rem;
    }

    .navbar-container .nav-items .login-register .button {
        padding: 0.5rem 0;
    }

    .main {
        font-size: 2rem;
    }
    .photo{
        height: 250px;
    }
    .name{
        font-size: 16px;
    }
    .long{
        font-size: 15px;
    }
    .long2{
        font-size: 12px;
    }
    .sponsor{
        flex-direction:column;
        gap:10px;
    }
    .sponsor-img{
        width:100%;
        justify-content:center;
    }
}

@media(max-width: 600px){
    .main {
        margin-top: 60px;
        font-size: 1.5rem;
    }
    .photo{
        height: 200px;
    }
    h2, .heading h2{
        font-size: 20px;
    }
    p{
        font-size:10px;
    }
    .name{
        font-size: 15px;
    }
    .long{
        font-size: 14px;
    }
    .long2{
        font-size: 12px;
    }
    .sponsor{
        flex-direction:column;
        gap:10px;
    }
    .sponsor-img{
        width:100%;
        justify-content:center;
    }
}

@media(max-width: 500px){
    .main {
        font-size: 1rem;
    }
    h3{
        text-indent: 100%;
        white-space: nowrap;
        overflow: hidden;
    }
    .photo{
        height: 150px;
    }
    .org{
        margin-left: 15%;
        flex-direction: column;
        width: 70%;
        
    }
    .box{
        width: 100%;  
        margin-bottom: 10%;
    }
    .sponsor{
        flex-direction:column;
        gap:10px;
    }
}

@media(max-width: 414px){
    .long{
        font-size: 14.5px;
    }
    .long2{
        font-size:11px;
    }
    .sponsor{
        flex-direction:column;
        gap:10px;
    }
}

@media(max-width: 375px){
    .main {
        font-size: 0.75rem;
    }
    .photo{
        height: 100px;
    }
    .long{
        font-size: 14px;
    }
    .long2{
        font-size:10px;
        text-align: center;
    }
    .sponsor{
        flex-direction:column;
        gap:10px;
    }
}





