body, h1,h2,h3,h4,h5,h6 {font-family: "Lato";}
/*h1,h2,h3,h4,h5,h6 {font-family: "Oswald"}*/
body, html {
  height: 100%;
  color: #000000;
  line-height: 1.8;	
  font-size:1.0em;
}

.w3-content {
    max-width: 80%;
	align: center;
}

/* Create a Parallax Effect */
.bgimg-1, .bgimg-2, .bgimg-3 {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* First image (Logo. Full height) */
.bgimg-1 {
  background-image: url('images/slider_mou.png');
  min-height: 95%;
}

/* Second image (Portfolio) */
.bgimg-2 {
  background-image: url("../images/head01.png");
  min-height: 300px;
}

/* Third image (Contact) */
.bgimg-3 {
  background-image: url("../images/head01.png");
  min-height: 300px;
}

.w3-wide {letter-spacing: 10px;}
.w3-hover-opacity {cursor: pointer;}

/* Turn off parallax scrolling for tablets and phones */
@media only screen and (max-device-width: 1600px) {
  .bgimg-1, .bgimg-2, .bgimg-3 {
    background-attachment: scroll;
    min-height: 400px;
  }
}

@media (min-width: 601px) {
    .w3-col.m3, .w3-quarter {
        width: 16.55%;
		}
		}

div.polaroid {
  width: 100%;
  background-color: white;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  margin-bottom: 25px;
}

div.container {
  text-align: left;
  padding: 10px 20px;
}

a:link, a:visited, a:hover  { color: #000000; text-decoration: none; }

#myImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

#myImg:hover {opacity: 0.7;}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

/* Caption of Modal Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation */
.modal-content, #caption {  
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {-webkit-transform:scale(0)} 
  to {-webkit-transform:scale(1)}
}

@keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
  }
}




#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: red;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
  width: 60px;
}

#myBtn:hover {
  background-color: #555;
}


div.polaroid1 {
  width: 100%;
  background-color: white;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2), 0 2px 10px 0 rgba(0, 0, 0, 0.19);
  margin-bottom: 0px;
}

div.container1 {
  text-align: left;
  padding: 10px 20px;
}

div.polaroid2 {
  width: 100%;
  background-color: white;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2), 0 2px 10px 0 rgba(0, 0, 0, 0.19);
  margin-bottom: 15px;
}

div.container2 {
  text-align: left;
  padding: 10px 20px;
}

div.container3 {
  text-align: left;
  padding: 10px 0 10px 20px;
  width: 95%; 
  hyphenate-character: auto;
}

.responsive {
  width: 100%;
  height: auto;
}

/*project*/
.column {
  float: left;
  width: auto;
  padding: 10px;
}

.column-two {
  float: left;
  display: inline;
  width: 33.3%;
  padding: 10px;
  border: solid 0px #000;
}

.column-two img {
  width: 100%;
  height: auto;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}


/*menu*/
.menuutama { font-size: 1.1em; font-family:"Lato";}
.tajuk-project { font-size: 1.3em; text-align: left;}


/*agri*/

  #videoPlayer {
    display: block;
            
            width: 100%;
            max-width: 400px; /* 9:16 portrait width */ /* UBAH max-width untuk adjust paparan di skrin menegak */
            aspect-ratio: 9 / 16;
            margin: 20px auto;
            background: black;
  }
  .thumbnail-container {
    text-align: center;
  }
  .thumbnail {
    width: 50px;
    height: 50px;
    object-fit: cover;
    cursor: pointer;
    margin: 0 5px;
    border: 2px solid transparent;
    display: inline-block;
  }
  .thumbnail:hover {
    border-color: white;
  }
  
  
  /* tajuk section */
  .hr-merah {
  border: none; /* Remove default 3D border effect */
  height: 2px; /* Set the thickness of the line */
  background-color: red; /* Set the color of the line */
}
.hr-kelabu {
  border: none; /* Remove default 3D border effect */
  height: 2px; /* Set the thickness of the line */
  background-color: grey; /* Set the color of the line */
}



/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
  .w3-content {
    max-width: 90%;
}
.mySlides {
	margin-top:10%;
}
.w3-container {
    padding: 0 0;
}
.menuutama { font-size: 0.9em; font-family:"Lato";}
video {
  width: 100%;
  height: auto;
}
.column-two {
  float: ;
  display: ;
  width: 100%;
  height: auto;
}
.column-two img {
  width: 100%;
}
}

@media only screen and (min-width: 601px) and (max-width: 768px) {
  .w3-content {
    max-width: 90%;
}
.mySlides {
	margin-top:5%;
}
.menuutama { font-size: 0.9em; font-family:"Lato";}
video {
  width: 100%;
  height: auto;
}
.column-two {
  float: ;
  display: ;
  width: 100%;
  height: auto;
}
.column-two img {
  width: 100%;
}
}


/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 769px) and (max-width: 990px)  {
  .w3-content {
    max-width: 90%;
}
.mySlides {
	margin-top:5%;
}
.menuutama { font-size: 0.9em; font-family:"Lato";}
video {
  width: 100%;
  height: auto;
}
.column-two {
  float: ;
  display: ;
  width: 100%;
  height: auto;
}
.column-two img {
  width: 100%;
}
} 

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) and (max-width: 1023px) {
  .w3-content {
    max-width: 90%;
}
.menuutama { font-size: 0.9em; font-family:"Lato";}
video {
  width: 100%;
  height: auto;
}
.column-two {
  float: ;
  display: ;
  width: 100%;
  height: auto;
}
.column-two img {
  width: 100%;
}
} 