/* Master styles */
body {
    font-family: 'kanit', sans-serif;
    margin: 0px;
}

.container {
    display: grid;
    grid-template-columns: 1fr;
}

/* Nav styles */
.nav-wrapper {
    display: flex;
    justify-content: space-between;
    padding: 38px;
}

.left-side {
    font-size: 2em;
}

.right-side {
    display: flex;
}

.nav-wrapper > .right-side > div {
    margin-right: 20px;
    font-size: 1em;
    text-transform: uppercase;
}

.nav-link-wrapper {
    height: 22px;
    border-bottom: 1px solid transparent;
    transition: border-bottom 0.5s;
}

.nav-link-wrapper a {
    color: #8a8a8a;
    text-decoration: none;
    transition: color 0.5s;
}

.nav-link-wrapper:hover {
    border-bottom: 1px solid black;
}

.nav-link-wrapper a:hover {
    color: black;
}

.active-nav-link {
    border-bottom: 1px solid black;
}

.active-nav-link a {
    color: black !important;
}

/* Portfolio styles */

.portfolio-items-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.portfolio-item-wrapper {
    position: relative;
}

.portfolio-img-background {
    height: 600px;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.img-text-wrapper {
    position: absolute;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
    padding-left: 100px;
    padding-right: 100px;
}

.logo-wrapper img {
    width: 50%;
    margin-bottom: 20px;
}

.img-text-wrapper .subtitle {
    transition: 1s;
    font-weight: 600;
    color: transparent;
}

.img-text-wrapper:hover .subtitle {
    font-weight: 600;
    color: lightseagreen;
}

.img-darken {
    transition: 1s;
    filter: brightness(10%);
}

/* About/Home Page */
.two-column-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.profile-image-wrapper img{
    margin: 80px;
    margin-top:35px;
    width: 800px;
    height: 500px;
    object-fit: cover;
    border-radius: 10px;
    border-color: white;
    justify-content: center;
}

.two-column-wrapper-for-home {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.home-slider-page {
    margin: 0;
    padding: 30px;
    height: 55vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: color white;
}

.slider{
    width: 800px;
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
}

.slides{
    width: 500%;
    height: 100%;
    display: flex;
}

.slides input{
    display: none;
}

.slide{
    width: 20%;
    height: 500px;
    object-fit: cover;
    transition: 2s;
}

.slide img{
    width: 800px;
    height: 500px;
    object-fit: cover;
}

.navigation-manual{
position: absolute;
width: 800px;
margin-top: -40px;
display: flex;
justify-content: center;
}

.manual-btn{
    border: 2px solid lightseagreen;
    padding: 5px;
    border-radius: 10px;
    cursor: pointer;
    transition: 1s;
}

.manual-btn:not(:last-child){
    margin-right: 20px;
}

.manual-btn:hover{
    background: seagreen;
}



#radio1:checked ~ .first{
    margin-left: 0;
}

#radio2:checked ~ .first{
    margin-left: -20%;
}

#radio3:checked ~ .first{
    margin-left: -40%;
}

#radio4:checked ~ .first{
    margin-left: -60%;
}




.navigation-auto{
    position: absolute;
    display: flex;
    width: 800px;
    justify-content: center;
    margin-top: 460px;
}

.navigation-auto div{
    border: 2px solid lightseagreen;
    padding: 5px;
    border-radius: 10px;
    transition: 1s;
}

.navigation-auto div:not(:last-child){
    margin-right: 20px;
}

#radio1:checked ~ .navigation-auto .auto-btn1{
    background: lightseagreen;
}

#radio2:checked ~ .navigation-auto .auto-btn2{
    background: lightseagreen;
}

#radio3:checked ~ .navigation-auto .auto-btn3{
    background: lightseagreen;
}

#radio4:checked ~ .navigation-auto .auto-btn4{
    background: lightseagreen;
}






.profile-content-wrapper {
    margin-right: 30px;
    line-height: 1.3;
    width: 80%;
    color: grey;
}

.profile-content-wrapper p {
    line-height: 1.0;
}

.profile-content-wrapper h1 {
    color: black;
}







/*Contact Page */

.contact-info-wrapper {
    margin-right: 30px;
    line-height: 1.3;
}

.contact-info-wrapper h1 {
    color: black;
}

.contact-info-wrapper p {
    line-height: 1.0;
    width: 80%;
    color: grey;
}

.maps-wrapper {
    position: relative;
    padding-bottom: 75%;
    height: 0;
    overflow: hidden;
}

.maps-wrapper iframe{
    position: absolute;
    top: 35px;
    left: 30px;
	margin-right: 30px;
    width: 700px !important;
    height: 500px !important;
}


/* Footer */

.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    color: grey;
    text-align: center;
}