@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;500&family=Poppins:wght@400;500;600;700&display=swap");

:root {
  --bgcolor: #333333;
}

* {
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html,
body {
  overflow: hidden;
}

body {
  margin: 0;
  /* padding-bottom: 25px; */
  background-color: #ccd1e4;
  /* min-height: 100vh; */
  position: relative;
}

.container {
  margin-top: 45px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

#settings {
  margin: 25px auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  text-align: center;
  gap: 15px;
}

#settings span {
  grid-column: 1/-1;
}

button {
  height: 35px;
  width: 35px;
  border: none;
  outline: none;
  cursor: pointer;
  border-radius: 50%;
}

#blue {
  background-color: rgba(0, 140, 255, 0.774);
}

#red {
  background-color: rgba(255, 0, 0, 0.719);
}

#green {
  background-color: rgba(0, 128, 0, 0.795);
}

#small {
  width: 15px;
  height: 15px;
  transform: translate(-50%, -50%);
}

#medium {
  width: 20px;
  height: 20px;
  transform: translate(-50%, -50%);
}

#large {
  width: 30px;
  height: 30px;
  transform: translate(-50%, -50%);
}

#X-large {
  width: 45px;
  height: 45px;
  transform: translate(-50%, -50%);
}

#paint {
  border: 1px solid black;
  background: var(--bgcolor);
  margin-left: auto;
  margin-right: auto;
  display: block;
  border-radius: 3px;
  width: 800px;
  height: 500px;
}

.sketch {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 25px;
}

@media only screen and (max-width: 1400px) {
  #paint {
    width: 320px;
    height: 320px;
  }
}

@media only screen and (max-width: 750px) {
  #paint {
    width: 320px;
    height: 320px;
  }
  .container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  #settings {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #small,
  #medium,
  #large,
  #X-large {
    transform: none;
  }
}

@media only screen and (max-height: 500px) {
  #paint {
    width: 320px;
    height: 320px;
  }
  .container {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

.footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  font-family: "Open Sans", sans-serif;
  color: #f5f5f5;
  background-color: black;
  padding: 10px 0px;
  font-size: min(2vw, 15px);
  position: fixed;
  left: 0px;
  bottom: 0px;
  width: 100%;
}
