@charset "UTF-8";
* {
  margin:0 auto; 
  padding: 0;
  /* width: 100%;  */
  box-sizing: border-box;
  
}

body {
  /* min-height: 300vh;   */
  background-image: linear-gradient(to top, #ffffff 0%, #ffffff 100%); 
  background-image: url("tic-tac-toe/tic-tac-toe.png");
}

header {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
header h1, header button {
  position: relative;
  z-index: 10;
}
header h1 {
  text-transform: uppercase;
  letter-spacing: 1pt;
  font-size: 3em;
  color: #fff;
  font-family: "Montserrat", sans-serif;
}
header button {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  bottom: 100px;
  left: calc(50% - 60px);
  width: 120px;
  height: 50px;
  border: 0;
  box-shadow: 2px 1px 20px 0 rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  cursor: pointer;
  background: #fff;
  font-size: 1em;
  color: #ffffff;
  transition: all 0.8s cubic-bezier(0.645, 0.045, 0.355, 1), transform 0.3s cubic-bezier(0.455, 0.03, 0.515, 0.955), box-shadow 0.3s cubic-bezier(0.455, 0.03, 0.515, 0.955);
  overflow: hidden;
}
header button:hover {
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.5);
}
header button:focus {
  outline: 0;
}
header button:before, header button:after {
  font-family: "Font Awesome 5 Free";
  transition: all 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
  top: 17px;
  position: absolute;
}
header button:before {
  content: "";
  opacity: 1;
  left: 53px;
}
header button:after {
  content: "";
  opacity: 0;
  left: 0;
}
header .triangle {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, #2596be 0%,#2596be 100%);
  transition: all 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}
header .triangle.left {
  clip-path: polygon(0 0, 0% 100%, 100% 100%);
}
header .triangle.right {
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}
header.open .triangle.left {
  clip-path: polygon(0 0, 0 100%, 0 100%);
}
header.open .triangle.right {
  clip-path: polygon(100% 0, 100% 0, 100% 100%);
}
header.open button {
  left: 40px;
  bottom: 40px;
  width: 50px;
  border-radius: 50%;
}
header.open button:before {
  opacity: 0;
  left: 100%;
}
header.open button:after {
  opacity: 1;
  left: 18px;
}
header.open button.menu {
  width: 100%;
  height: 100%;
  bottom: 0;
  left: 0;
  border-radius: 0;
}
header.open button.menu:after {
  left: -100%;
}

content{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.container{
  width: 50%; 
  padding: 20px;
}

.container_1{
  display: flex;
  flex-direction: row;
  font-weight: bold;
  text-align: center;
  margin: 30px;
}
.container_2{
  width: 100%;
  margin: 10px;
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  color: #2596be;
}

.container_2 > h2{
  margin-block-start: 0px !important;
    margin-block-end: 0px !important;
    margin-inline-start: 0px !important;
    margin-inline-end: 0px !important;
}

nav {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  display: none;
}
nav ul {
  list-style: none;
}
nav ul li {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 2;
  letter-spacing: 1pt;
  font-size: 2em;
  color: #09203f;
  animation: fadeDown 0.5s forwards;
  opacity: 0;
  cursor: pointer;
  transform: translateY(-20px);
  transition: all 0.3s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}
nav ul li:hover {
  text-shadow: 2px 1px 40px rgba(0, 0, 0, 0.5);
  opacity: 0.8;
}
nav ul li:nth-child(1) {
  animation-delay: 0.8s;
}
nav ul li:nth-child(2) {
  animation-delay: 0.9s;
}
nav ul li:nth-child(3) {
  animation-delay: 1s;
}
nav #nav-close {
  position: fixed;
  top: 40px;
  right: 40px;
  font-size: 1.5em;
  cursor: pointer;
  animation: fadeDown 0.5s forwards;
  animation-delay: 1.1s;
  opacity: 0;
  color: #09203f;
  transform: translateY(-20px);
}
@keyframes fadeDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@font-face {
  font-family: playfairdisplay;
  src: url(font/PlayfairDisplay-MediumItalic.ttf);
}

@media only screen
  and (min-device-width: 360px)
  and (max-device-width: 640px)
  and (-webkit-min-device-pixel-ratio: 3) { 
    img{
      height: 300px;
    }
    h1{
      font-size: 65px;
    }
    span > img{
      height: 35px;
      width: 35px;
    }
}

@media only screen
  and (min-device-width: 411px)
  and (max-device-width: 731px)
  and (-webkit-min-device-pixel-ratio: 2) { 
    img{
      height: 300px;
    }
    h1{
      font-size: 65px;
    }
    span > img{
      height: 35px;
      width: 35px;
    }
}

@media only screen
  and (min-device-width: 320px)
  and (max-device-width: 568px)
  { 
    img{
      height: 300px;
    }
    h1{
      font-size: 65px;
    }
    span > img{
      height: 35px;
      width: 35px;
    }
}

@media only screen
  and (min-device-width: 375px)
  and (max-device-width: 812px)
  and (-webkit-min-device-pixel-ratio: 3) { 
    img{
      height: 300px;
    }
    h1{
      font-size: 65px;
    }
    span > img{
      height: 35px;
      width: 35px;
    }
}

@media only screen
  and (min-device-width: 280px)
  and (max-device-width: 653px)
  and (-webkit-min-device-pixel-ratio: 3) { 
    img{
      height: 300px;
    }
    h1{
      font-size: 65px;
    }
    span > img{
      height: 35px;
      width: 35px;
    }
}

@media only screen
  and (min-device-width: 414px)
  and (max-device-width: 896px)
  and (-webkit-min-device-pixel-ratio: 3) {  
  img{
    height: 300px;
  }
  h1{
    font-size: 65px;
  }
  span > img{
    height: 35px;
    width: 35px;
  }
}

@media only screen
  and (min-device-width: 360px)
  and (max-device-width: 740px)
  and (-webkit-min-device-pixel-ratio: 4) {
    img{
      height: 300px;
    }
    h1{
      font-size: 65px;
    }
    span > img{
      height: 35px;
      width: 35px;
    }
}


@media only screen
  and (min-device-width: 768px)
  and (max-device-width: 1024px)
  and (-webkit-min-device-pixel-ratio: 1) {
    img{
      height: 300px;
    }
    h1{
      font-size: 80px;
    }
    span > img{
      height: 35px;
      width: 35px;
    }
}

