@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,500;0,600;1,500;1,600&display=swap');

body,html {
  margin: 0;
  padding: 0;
}

* {
  box-sizing: border-box;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-style: italic;
  height: 100vh
}

.tile-name {
  margin: 0px;
  padding-left: 10px;
  position: relative;
  bottom: 10px;
}

.tile-desc {
  margin: 0px;
  margin-top: 14px;
  font-size: 12px;
  padding-left: 15px;
  position: relative;
  bottom: 10px;
}

#app {
  background: linear-gradient(to bottom, #161616, #3c3c3c);
}

.algorithm {
  height: 100%;
  background: radial-gradient(circle, #ffffff, #3c3c3c, 80%, #161616);
  /* background: radial-gradient(circle, , , ); */
}

canvas {
  border-radius: 10px;
}

.option-preview {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  border-top-left-radius: 10px;
  margin-top: 10px;
  margin-left: -1px;
  margin-bottom: 30px;
}

.radius-top-left{
  border-top-left-radius: 10px;
}

.radius-top-right{
  border-top-right-radius: 10px;
}

.options-grid {
  padding: 30px;
  height: 990px;
  width: 1050px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr 1fr;
  place-items: center;
}

.dim-input:focus {
  outline:none;
}


.option {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: rgb(255, 255, 255);
  margin: 10px;
  padding-bottom: 15px;
  border-radius: 10px;
  border: rgb(125, 125, 125) solid 1px;
  width: 270px;
  height: 295px;
  font-size: 30px;
  background-color: #282828b5;
}

.back-btn {
  background-color: rgba(255, 255, 255, 0.6);
  border: none;
  cursor: pointer;
  margin: 10px;
  padding-top: 2px;
  border-radius: 2px;
  width: 60px;
  height: 60px;
}

.back-btn:hover {
  background-color: rgba(255, 255, 255, 0.0);
  color: white;
}

#app  {
  padding: 30px;
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.option:hover{
  background-color: rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.form {
  height: 400px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  margin-top: -50px;
  height: 500px;
  color: white;
}

.notActive {
  display: none
}

.dim-input {
  position: relative;
  bottom: 10px;
  padding: 10px;
  border-radius: 10px;
  padding-top: 30px;
  padding-bottom: 30px;
  padding-right: 40px;
  border: #00000004 solid;
  margin: 20px;
  width: 500px;
  height: 70px;
  font-size: 50px;
  background-color: rgba(0, 0, 0, 0);
  color: white;
}

.submit-dim {
  line-height: 50px;
  height: 100px;
  font-size: 30px;
  text-align: center;
  width: 300px;
  cursor: pointer;
  border: none;
  background-color: rgba(0, 0, 0, 0);
  font-family: "Montserrat";
  text-decoration: none;
}

.submit-dim {
  color: white;
  transition: all 0.3s;
  position: relative;
}
.submit-dim span {
  transition: all 0.3s;
}
.submit-dim::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
  transition: all 0.3s;
  border-top-width: 1px;
  border-bottom-width: 1px;
  border-top-style: solid;
  border-bottom-style: solid;
  border-top-color: rgba(0, 0, 0, 0.5);
  border-bottom-color: rgba(0, 0, 0, 0.5);
  transform: scale(0.1, 1);
}
.submit-dim:hover span {
  letter-spacing: 2px;
}
.submit-dim:hover::before {
  opacity: 1; 
  transform: scale(1, 1); 
}
.submit-dim::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  transition: all 0.3s;
  background-color: rgba(255,255,255,0);
}

.submit-dim:hover::after {
  opacity: 0; 
  transform: scale(0.1, 1);
}

.form-instructions {
  font-size: 40px;
  /* margin-bottom: 100px; */
}