/* width */
::-webkit-scrollbar {
    width: 8px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #1C1C1C;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #E3E3E3;
    border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #ED1E79;
}

html, body {
    margin: 0px;
    height: 100%;
    font-family: 'Sarabun', sans-serif;
    scroll-behavior: smooth;
}

@font-face {
    font-family: 'sarabunregular';
    src: url('sarabun-regular-webfont.woff2') format('woff2'),
         url('sarabun-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* Header and top content */

.header {
	font-size: 49px;
}

#header {
    background-color: #1c1c1c;
    border: none;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: flex-start;
    height: 100px;
}

#hyperlink {
    display: inline-flex;
    gap: 40px;
    margin-right: 10%;
    align-items: center;
}

.links {
    color: #ffffff;
    font-size: 22px;
    font-family: sarabun;
    font-weight: bold;
    text-decoration: none;
}

.links:hover {
    color: #ffffff !important;
        filter: invert(26%) sepia(99%) saturate(5118%) hue-rotate(315deg) brightness(99%) contrast(192%) !important;
    font-size: 22px;
    font-family: sarabun;
    font-weight: bold;
    text-decoration: none;
}

#home {
    margin: 1% auto 1% 10%;
}


#bgheader {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    height: 1060px;
    flex-direction: column;
    align-content: space-between;
    flex-wrap: wrap;
    overflow: hidden;
}

#vid {
    display: flex;
    justify-content: center;
    align-content: flex-start;
    height: 100%;
    margin-right: 2%;
    margin-left: 10%;
}

video::-webkit-media-controls-current-time-display {
    font-weight: bolder;
    color: #EF476F;
}

/* Background Styles */

.bg0 {
    margin-top: 10%;
    width: 100%;
}

.bg00 {
    width: 100%;
}

.bg {
	background-color: #2e2e2e;
    width: 100%;
    min-height: 450px;
    max-height: 600px;    
}

.bg1 {
    background-color: #1c1c1c;
    width: 100%;
    height: 407px; 
}

.bg2 {
    background-color: #1c1c1c;
    width: 100%;
    height: 490px;
}

/* Element IDs and Classes */

#introtext {
	margin-right: 10%;
}

#viewpop {
	display: inline-flex;
}

#viewpop:hover {
    filter: invert(26%) sepia(99%) saturate(5118%) hue-rotate(315deg) brightness(99%) contrast(192%) !important;    
}

.imgpop {
    width: 80%;
}

#tldr {
    display: flex;
    margin-top: 10%;
    flex-direction: row;
    align-content: center;
    align-items: center;
    justify-content: space-between;
}

.tldr {
    margin-left: 10%;
    max-height: 65%;
}

.tldrgraphic {
    overflow: hidden;
    display: inline-flex;
}

#ATC {
    display: flex;
    margin-top: 10%;
    margin-bottom: 134px;
    flex-direction: row;
    align-content: center;
    align-items: flex-start;
    justify-content: flex-start;
}

#OS {
    display: flex;
    margin-bottom: 134px;
    flex-direction: row;
    align-content: center;
    align-items: flex-start;
    justify-content: space-between;
}

#ST {
    display: flex;
    margin-bottom: 134px;
    flex-direction: row;
    align-content: center;
    align-items: flex-start;
    justify-content: flex-start;
}

#BWI {
    display: flex;
    margin-bottom: 134px;
    flex-direction: row;
    align-content: center;
    align-items: flex-start;
    justify-content: space-between;    
}

#srcs {
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    align-content: flex-start;
    align-items: flex-start;
}

#srcrow {
    display: flex;
    flex-direction: column;
    margin-left: 10%;
}

.textright {
    margin-left: 17.7%;
    margin-right: 10%;
    max-width: 32%;
}

.textleft {
    margin-right: 17.7%;
    margin-left: 10%;
    max-width: 32%;
}

.imgright {
    margin-right: 10%;
    max-width: 32%;
}

.imgleft {
    margin-left: 10%;
    max-width: 32%;
}

.source1 {
    margin-top: 28px;
    margin-bottom: 5px;    
    color: #1c1c1c;
    font-weight: bolder;
    text-decoration: none;
}

.source1:hover {
    margin-top: 28px;
    margin-bottom: 5px;
    color: #FF2478;
    font-weight: bolder;
    text-decoration: none;
}

.sources {
    margin-top: 5px;
    margin-bottom: 5px;
    color: #1c1c1c;
    font-weight: bolder;
    text-decoration: none;
}

.sources:hover {
    margin-top: 5px;
    margin-bottom: 5px;
    color: #FF2478;
    font-weight: bolder;
    text-decoration: none;
}

/* Foot */

#footer {
    margin-top: 10%;
}

.footer {
    margin-left: 10%;
}

/* Dropdown */

/* Dropdown Button */
.dropbtn {
    color: #FFFFFF;
    background: none;
    padding: 16px;
    padding-bottom: 19px;
    font-size: 22px;
    font-weight: bold;
    font-family: sarabun;
    border: none;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f7f7f7;
    width: 300px;
    z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: #1c1c1c;
    font-family: sarabun;
    padding: 10px;
    text-decoration: none;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}


/* Change color of dropdown links on hover */
.dropdown-content a:hover {
    font-weight: bold;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
    border-radius: 10px 10px 10px 10px;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
    color: #ffffff;
}

.dimg {
    margin-right: 10px;
}

.cimg {
    margin-left: 10px;
}


/* Footer */

.stay {
    margin-top: 10%;
    margin-bottom: 5%;
}

.hiring {
    display: flex;
    align-items: flex-end;
    flex-direction: row;
    margin-left: 10px;
}

.centertext {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 50px;
    margin-right: 10%;
}

.centertext2 {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.txtstyle {
    font-family: sarabun;
    color: #ffffff;
    margin: 5px;
}

a.txtstyle {
    font-family: sarabun;
    color: #ffffff;
    text-decoration: none;
    font-size: 24px;
}

a:hover.txtstyle {
    font-family: sarabun;
    color: #ffffff;
    text-decoration: none;
    font-size: 24px;
    color: #FF2478;
}

h2.txtstyle {
    font-family: sarabun;
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
    font-size: 24px;
    margin-bottom: 28px;
}

#toes {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    margin: 0% 10% 0px 10%;
}

#toes2 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin: 1.5% 10% 0px 10%;
}

.seperate {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #ffffff;
}

#finglets {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 1%;
}

#project {

}

#research {

}

.imgscale {
    width: 45px;
    margin-right: 15px;
}

.imgscale:hover {
    width: 45px;
    filter: invert(26%) sepia(99%) saturate(5118%) hue-rotate(315deg) brightness(99%) contrast(192%);
    margin-right: 15px;
}