@media all and (max-width:600px) {
  
}
*{
  padding: 0;
  margin: 0;
  text-decoration: none;
  box-sizing: border-box;
}

body{
  font-family: montserrat;
}
nav{
  background-color: orangered;
  height: 80px;
  width: 100%;
}
label.logo{
  color: white;
  font-size: 17px;
  line-height: 80px;
  padding: 0 15px;
  font-weight: bold;
}
nav ul{
  float: right;
  margin-right: 20px;
}
nav ul li{
  display: inline-block;
  line-height: 65px;
  margin: 0 5px;
}
nav ul li a{
  color: white;
  font-size: 17px;
  padding: 7px 13px;
  border-radius: 3px;
  text-transform: uppercase;
}


.container{
  margin-top: 20px;
  color: black;
  font-size: 90%;
  font-weight: bold;
  font-style: normal;
  text-align: center;
  letter-spacing: 1px;
}

.container2{
  display: flex;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  width: 300px;
  height: 530px;
  margin-top: 10px;
}
.containerforpic{
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}
.container3{
  margin-top: 20px;
  color: black;
  font-size: 90%;
  font-weight: bold;
  font-style: normal;
  text-align: center;
  letter-spacing: 1px;
  display: column;
}

.flexbox {
  display: flex;
  box-sizing: border-box;
}
.item {
  display: block;
  box-sizing: border-box;
  width: 100%;
}
.content {
  background-color: #FFF;
  border: 2px white;
  padding: 16px;
}

/* part ของ Flex box */
body {
  max-width: 1920px;
  margin-left: auto;
  margin-right: auto;
  padding-left: auto;
  padding-right: auto;
  justify-content: center;
  align-items: center;
}

.teams1 {
  margin-top: 15px;
  display: flex;
}
.teams1-items1 {
  border: 1px solid rgb(0, 0, 0);
  padding: 2rem;
  background:#FFF;
  color:rgb(255, 255, 255);
  text-shadow: 1px 1px 1px rgba(1.0, 1.0, 1.0, 1.0);
  justify-content: center;
  align-items: center;
}
.teams1-items2 {
  border: 1px solid rgb(255, 255, 255);
  padding: 1rem;
  background: #FF8C00;
  color:rgb(0, 0, 0);
  text-shadow: 1px 1px 1px rgb(7, 6, 6);
  margin-top: 20px;
}

.teams2 {
  display: flex;
  grid-template-columns: repeat(3,3fr);
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.teams2-items1 {
  border: 1px solid rgb(0, 0, 0);
  padding: 1rem;
  background:#ffffff;
  color:#000000;
  text-shadow: 1px 1px 1px rgba(1.0, 1.0, 1.0, 1.0);
  justify-content: center;
  align-items: center;
}

.teams2-items2 {
  border: 1px solid red;
  padding: 2rem;
  background:#ddd;
  color:#333;
  text-shadow: 1px 1px 1px rgba(1.0, 1.0, 1.0, 1.0);
}

.teams2-items3 {
  border: 1px solid red;
  padding: 2rem;
  background:#ddd;
  color:#333;
  text-shadow: 1px 1px 1px rgba(1.0, 1.0, 1.0, 1.0);
}

.containerforfooter2-p {
  font-size: 20px;
  margin-bottom: 15px;
  text-align: left;
}

.containerforfooter2-h1 {
  font-size: 28px;
  margin-bottom: 15px;
  text-align: left;
}

@media (orientation: landscape) and (max-width: 500px) {

}

@media (orientation: portrait) {
  
}

.img-fluid {
  width: 100%;
  height: auto;
}

@media  screen and (max-width:400px) {
  .responsive {
    padding: 0px 20px;
    background-color: #000000;
  }
}

.row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

/* Create four equal columns that sits next to each other */
.column {
  flex: 25%;
  max-width: 25%;
  padding: 0 4px;
}

.column img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
  .column {
    flex: 50%;
    max-width: 50%;
  }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .column {
    flex: 100%;
    max-width: 100%;
  }
}

* {
  padding: 0;
  margin: 0;
  font-family: monospace;
}
ul {
  text-align: center;    
  list-style: none;
  background: #f79b11;
}
ul li {
  display: inline-block;
  position: relative;
}
ul li a {
  display: block;
  padding: 20px 25px;
  color: #f79b11;
  text-decoration: none;
  text-align: center;
  font-size: 20px;
}
ul.dropdown li {
  display: block;
}
ul li a:hover {
  background: #374151;
  color:#f79b11;
}
ul.dropdown {
  width: 100%;
  position: absolute;
  z-index: 999;
  display: none;
}
ul li:hover ul.dropdown {
  display: block;
}