

*{
    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 a:hover{
    transition: 1s;
    color: black;
}

nav {
    grid-column: 2 / 7;
    grid-row: 1 / 2; 
    
    display: flex;
    align-items: center;
    
    font-weight: bold; 
    position: sticky;
    
}

nav a{
    transition: 1s;
    color:#ffffff;
    text-decoration: none;
    font-family: 'koulen';
    text-align: center;
    font-size: 17px;
}

nav ul {
    margin: 0px;
    padding: 0px;
    height: 100%;
    display: flex;
    flex-flow: row nowrap;
    list-style-type: none;
    justify-content: flex-end;
    flex-grow: 2;
    margin-right: 20px;
} 

nav li{
    width: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
}


#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;
    height: 800px;
    object-fit: cover;
}

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;
    padding-top: 10px;
    opacity: 100%;
    padding-bottom: 20px;
}





main h1{
    
    padding-left: 100px;
    padding-bottom: 80px;
}



#contactmain h3{
    padding-left: 5px;
}

#contactmain p{
    padding: 15px;
    text-align: center;
    text-wrap: wrap;
    
}

#contactmain div{
    width: auto;
    max-width: 100%;
    height: auto;
    
    
  
}

#contactmain img{
    height: 50%;
    width: 8%;
    
}

#contactmain{
    display:grid;

    margin: 10px;
    grid-row-gap: 40px;
    
    align-items: center;
    grid-column-gap: 35px;
    
    
}

#rectangle1{    
    background: #D9D9D9;
    color: black;
    
}

#rectangle2 {
    background: #D9D9D9;
    color: black;
    grid-row: 2;
    margin-top: -145px;
    grid-column: 2;
    
}

#rectangle3 {
    background: #D9D9D9;
    color: black;
    grid-row: 2;
    grid-column: 1;
    
}

#rectangle4 {
    background: #D9D9D9;
    color: black;
    margin-top: -120px;
    grid-row: 3;
    grid-column: 2;
    
}


#rectangle5 {
    background: #D9D9D9;
    color: black;
    grid-row: 3;
    grid-column: 1;
    
}


#rectangle1 img{
    width: 30px;
}

#rectangle2 img{
    width: 13px; 
}

#rectangle3 img{
    width: 25px;
}

#rectangle4 img{
    width: 20px;
}

#rectangle5 img{
    width: 25px;
}



main p{
    padding-left: 20px;
    padding-top: 10px;
}





#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: 100%;
    width: 100%;

}



#container{
    display: grid;
    height: auto;
    grid-template-columns: repeat(3, [col-start] 1fr);
    grid-row-gap: 15px;
    grid-column-gap: 10px;
    padding-top: 15px;
    padding-bottom: 40px;

}

#container div img{
    height: 100%;
    width: 100%;
}


/*index.html bottom 2 images above the footer*/
.morecontent{
    color:black;
    background-color: #CDCDCD;
    grid-column: 2 / -2;
    grid-row: 4 / 5;

    opacity: 100%;

}

.morecontent h2{
    text-align: center;
}
/*--------------------------------------------*/




/*about.html This is the about page main section with text and images*/

#containerabout{
    display: inline-block;
    height: auto;
    grid-template-columns: repeat(2, [col-start] 1fr);
    
    padding-top: 25px;
    padding-bottom: 25px;
    flex-direction: column;
    justify-content: space-between;

}

#containerabout div img{
    height: 50%;
    width: 50%;
    
}

#leftimg img{
    float:left;
    padding-right: 15px;
}

#leftimg p{
    
    padding-left: 15px;
    padding-top: 10px;
    
}

#rightimg img{
    float: right;
    padding-left: 15px;;
    
}

#rightimg p{
    padding-left: 20px;
    padding-top: 10px;
}
/*-----------------------------------------------*/

/*about.html 3 images above the footer */
#galleryabout{
    display: grid;
    height: auto;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    grid-gap: 0rem;
    padding-left: 5px;
    padding-right: 5px;
}

#galleryabout div{
    padding: 10px;
    
}

#galleryabout div img{
    height: auto;
    width: 100%;
    

}

/*-----------------------------------------------*/










/*contact.html with the form text areas and input*/
.contactus {
    color: black;
    background-color: #CDCDCD;
    grid-column: 2 / -2;
    grid-row: 4 / 5;
    padding-bottom: 10px;
    opacity: 100%;
    padding-left: 10px;
    padding-right: 10px;
}

.contactus h2 {
    color: black;
    text-align: center;
}
.contactus h2 {

}

.contactus form {
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: auto auto auto;
    grid-gap: 10px;
    width: 100%;
}

.contactus label {
    display: block;
    text-align: left;
}

.contactus form input,
.contactus form textarea {
    max-width: 100% !important;
    width: 100% !important;
}


input, textarea {
    font-size: 1rem;
    padding: 5px;
    color: #666666;
    background-color: #fafafa;
    border: none;
    width: 100%;
    max-width: 100%;
}

#mySubmit {
    width: 10rem;
    grid-column: 2;
}

#myCommentsDiv{
    grid-row: 1 / span 3;
    grid-column: 3;
}

#myComments{
    width: 100%;
    resize: vertical;
}

/*Footer for each page*/
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;
    }
    
    
    
    #logo{
        object-fit: cover;
    }

    
    #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) {

    main{
        padding-left: 0rem;
        padding-right: 0rem;
        
    }
   

    header {
        text-align: center;
    }

    header h1 {
        background-image: none;
        text-align: center;
        padding: 0;
        margin-bottom: 10px;
    }

    nav {
        grid-column: 1 / -1;
        text-align: center;
    }

    nav ul {
        display: flex; 
        justify-content: center; 
        list-style-type: none; 
        padding: 0;
        padding-top: 40px;
    }

    nav li {
        margin: 0 1px; 
    }

    nav img {
        display: none;
    }

    #image {
        display: none;
    }
}

