* {
  box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-size: cover;
    background-repeat: no-repeat;
}


/* HEADER */
#header {
    background-color: #dadbdd;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0px;
    text-align: center;
    height: 10vh;
}

.header-styling {
  width: 34%;
  height: 100%;
}

#middle-header {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-family: Arial, Helvetica, sans-serif;
}

#right-header {
  display: flex;
  align-items: center; 
  justify-content: center;
}

/* B-HEADER */
.b_header {
  display: flex;
  background-color: white;
  height: 20vh;
  width: 100%;
}

.b-header-styling {
  height: 100%;
  width: 25%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* BOARD AND SITE */ 
#site {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
}

#board {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    height: 400px;
    width: 400px;
}

.row {
    width: 100%;
    height: 34%;
    display: flex;
    flex-direction: row;
    margin: 0;
}


.square {
  background: #ffffff;
  border: 1px solid #999;
  font-size: 5vw; 
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30vw; 
  height: 30vw; 
  max-width: 150px; 
  max-height: 150px;
}


.square:disabled {
  opacity: 1;
  background-color: #ffffff;
  color: black;
  cursor: default;
}


/* XO BUTTON */
#xoBtn {
  background-color: #3498DB;
  color: white;
  width: 50px;
  height: 50px;
  border: none;
  cursor: pointer;
  margin-left: 5px;
}

#xoBtn:hover, #xoBtn:focus {
  background-color: #2980B9;
}

#xoBtn:disabled {
  opacity: 1;
  background-color: #3498DB;
  color: white;
  cursor: default;
}

/* DROPDOWN */
.dropbtn {
  background-color: #3498DB;
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}
.dropbtn:hover, .dropbtn:focus {
  background-color: #2980B9;
}
.dropbtn:disabled {
  opacity: 1;
  background-color: #3498DB;
  color: white;
  cursor: default;
}

.drop_content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.drop_content a {
  color: black;
  padding: 8px 12px;
  text-decoration: none;
  display: block;
}

.drop_content a:hover {
  background-color: #f1f1f1;
}

.show {
  display: block;
}

* {
  box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-size: cover;
    background-repeat: no-repeat;
}


/* HEADER */
#header {
    background-color: #dadbdd;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0px;
    text-align: center;
    height: 10vh;
}

.header-styling {
  width: 34%;
  height: 100%;
}

#middle-header {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-family: Arial, Helvetica, sans-serif;
}

#right-header {
  display: flex;
  align-items: center; 
  justify-content: center;
}

/* B-HEADER */
.b_header {
  display: flex;
  background-color: white;
  height: 20vh;
  width: 100%;
}

.b-header-styling {
  height: 100%;
  width: 25%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* BOARD AND SITE */ 
#site {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
}

#board {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    height: 400px;
    width: 400px;
}

.row {
    width: 100%;
    height: 34%;
    display: flex;
    flex-direction: row;
    margin: 0;
}


.square {
  background: #ffffff;
  border: 1px solid #999;
  font-size: 5vw; 
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30vw; 
  height: 30vw; 
  max-width: 150px; 
  max-height: 150px;
}


.square:disabled {
  opacity: 1;
  background-color: #ffffff;
  color: black;
  cursor: default;
}


/* XO BUTTON */
#xoBtn {
  background-color: #3498DB;
  color: white;
  width: 50px;
  height: 50px;
  border: none;
  cursor: pointer;
  margin-left: 5px;
}

#xoBtn:hover, #xoBtn:focus {
  background-color: #2980B9;
}

#xoBtn:disabled {
  opacity: 1;
  background-color: #3498DB;
  color: white;
  cursor: default;
}

/* DROPDOWN */
.dropbtn {
  background-color: #3498DB;
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}
.dropbtn:hover, .dropbtn:focus {
  background-color: #2980B9;
}
.dropbtn:disabled {
  opacity: 1;
  background-color: #3498DB;
  color: white;
  cursor: default;
}

.drop_content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.drop_content a {
  color: black;
  padding: 8px 12px;
  text-decoration: none;
  display: block;
}

.drop_content a:hover {
  background-color: #f1f1f1;
}

.show {
  display: block;
}

