@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

* {
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;

  height: 100vh;
  overflow: hidden;
  margin: 0;
}

.container {
  position: relative;
  display: flex;
  width: 100vw;
  height: 100vh;
  justify-content: center;
  align-items: center;
}

.side {
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  gap: 30px;
}

.left {
  background: url('./ps.jpg') no-repeat center center/cover;
  width: 100%;
  height: 100%;
  position: relative;
  transition: 1s ease-in-out;
}
.right {
  background: url('./xbox.jpg') no-repeat left center/cover;
  width: 100%;
  height: 100%;
  position: relative;
  transition: 1s ease-in-out;
}
.left::before {
  content: '';
  background-color: blue;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.3;
}
.right::before {
  content: '';
  background-color: rgba(43, 43, 43);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.3;
}

.hover-left .left {
  flex: 3;
}
.hover-left .right {
  flex: 1;
}
.hover-right .right {
  flex: 3;
}

.hover-right .left {
  flex: 1;
}

h1 {
  font-size: 45px;
  color: white;
  z-index: 10;
}

.btn {
  z-index: 10;
  text-decoration: none;
  font-size: 20px;
  border: 2px solid white;
  padding: 15px;
  color: white;
  border-radius: 5px;
    transition: all 0.2s ease-in-out;

}

.btn:hover {
  background-color: white;
  transform: scale(1.1);
  color: black;
}
