*{
    box-sizing: border-box;
    margin: 0;
}

@font-face {
    font-family: 'kanit';
    src: url(Kanit-Regular.ttf);
}

body{
    color: white;
    font-family: kanit;
    background-image: linear-gradient(to bottom,#eeeeee ,#ffffff);
}

header{
    color:black;
    text-decoration: none;
    grid-column: 2 / -2;
    grid-row: 1 / 2;
    
    
}

header a{
    text-decoration: none;
    color:black;
}

header h1{
    line-height: 140%;
    padding: .5rem;
    padding-left: 3.5rem;
    background-origin: content-box;
    margin: 0;
    line-height: 140%;
    position: relative;
}

#greybar{
    background-color: #848484;
    opacity: 0.75;
    grid-row: 1 / 2;
    grid-column: 1 / -1;
}
    

#wrapper{  
    background-color: #EEEEEE;
    display: grid;
    grid-auto-rows: minmax(0px, auto);
    grid-template-columns: minmax(0px, 1fr) repeat(5, minmax(0, 200px)) minmax(0px, 1fr);
}

nav {
    grid-column: 2 / 4;
    grid-row: 1 / 2; 
    padding: 10px 0px;
    display: flex;
    flex-flow: row nowrap;
    list-style-type: none;
    font-weight: bold; 
    position: sticky;
}

ul {
    display: block;
    list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 340px;
}

nav ul li{
    margin: 0px 20px;
    display:inline-flex;
    width: 100%;
}

nav a{
    color:#ffffff;
    text-decoration: none;
    font-family: 'koulen';
    
    font-size: 15px;
}

nav ul {
    display: flex;
    list-style-type: none;
} 


#image{
   
    background-repeat: no-repeat;
    background-position: center;
    
    grid-row:  1 / 3;
    grid-column: 1 / -1;
   
    
    display:block;
    text-align: center;
}

#image img{
    width: 100%;
    text-align: center;
    max-height:500px;
}

div {
    display: block;
}

h2{
    color: white;
    font-family: kanit;
}



main{
    color:white;
    padding-left: 2rem;
    padding-right: 2rem;
    grid-column: 2 / -2;
    grid-row:   3 / 4;
    background-color: #121C22;
    text-align: left;
    opacity: 100%;
}

#container{
    display: grid;
    height: auto;
    grid-template-columns: repeat(3, [col-start] 1fr);
    grid-row-gap: 15px;
    grid-column-gap: 10px;
    

}


#container div img{
    width: 275px;
    height: auto;
    
    
}

main{
    color:white;
    padding-left: 2rem;
    padding-right: 2rem;
    grid-column: 2 / -2;
    grid-row:   3 / 4;
    background-color: #121C22;
    opacity: 100%;
    
}


#gallery2{
    display: grid;
    height: auto;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    grid-gap: 0rem;
}

#gallery2 div{
    padding:20px;
}

#gallery2 div img{
    height: auto;
    width: 100%;

}

#container div img{
    height: auto;
    width: 100%;
}


img {
    overflow: clip;
}

.morecontent{
    color:black;
    background-color: #CDCDCD;
    grid-column: 2 / -2;
    grid-row: 4 / 5;

    opacity: 100%;

}

.morecontent h2{
    text-align: center;
}

footer{
    font-size: .70rem;
    font-style: italic;
    text-align: center;
    padding: 1rem;
    grid-column: 1 / -1;
    grid-row: 5 / 6;
    background-color: #121C22;
}

footer a{
    text-decoration: none;
    color:grey;
}

@media only screen and (max-width: 992px){

    .center-column {
        width: 768px; /* Set center column width to 768px at 992px breakpoint */
    }

    ul{
        flex-flow: row;
    }
    
    nav {
        grid-row: 1 / 2; 
        grid-column: 1 / 5;
        display:flex;
    }
    
    #logo{
        object-fit: cover;
    }

    #homehero {
        grid-row: 2 / 3;
        grid-column: 5 / 8; 
        height: auto; 
    }

    #container img{
        float: none;
        width: auto;
        height: auto; 
    }

    main img{
        float: none;
        width: 100%;
        height: auto;
        padding-left: 0px;
    }

   
}

@media only screen and (max-width: 768px){

    .center-column {
        width: 100%; /* Set center column width to 100% at 768px and below */
    }

    header h1{
        background-image: none;
        text-align: center;
    }

    #logo{
        object-fit: cover;
    }
    nav {
        grid-row: 1 / 2; 
        grid-column: 1 / -1;
        
    }

    #homehero {
        display: none; 
    }

    #container{
        display: none;
    }
    

    nav ul {
        flex-flow: column nowrap;
    }
    
}



