style.css 1.7 KB
:root {
  --main-bg-color: #6e87cf;
  --point-color: #2e29af;
}

h1 {
  color: #f3d8be;
  font-size: 4em;
  font-weight: 900;
  margin-top: 0px;
  text-shadow: #2e29af 1px 1px, #2e29af 0px 0px, #2e29af 1px 1px,
    #2e29af 2px 2px, #2e29af 3px 3px, #2e29af 4px 4px, #2e29af 5px 5px,
    #2e29af 6px 6px, #2e29af 7px 7px, #2e29af 8px 8px, #2e29af 9px 9px,
    #2e29af 10px 10px, #2e29af 11px 11px, #2e29af 12px 12px, #2e29af 13px 13px,
    #2e29af 14px 14px, #2e29af 15px 15px, #2e29af 16px 16px, #2e29af 17px 17px,
    #2e29af 18px 18px, #2e29af 19px 19px;
}

h1:hover {
  cursor: pointer;
}

h4 {
  font-weight: 500;
}

* {
  font-family: "Noto Sans KR", sans-serif;
}

html {
  padding: 0;
  margin: 0;
}

body {
  background-color: var(--main-bg-color);
  background: no-repeat fixed 50% 50% url("../src/background.jpg");
  color: var(--point-color);
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
}

main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 10%;
  left: 10%;
  background-color: rgb(250, 250, 250, 0.7);
  border-radius: 0.8rem;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  width: 80%;
  height: 80%;
  color: var(--point-color);
}

main > form {
  display: flex;
  align-items: flex-end;
  font-weight: 700;
}

main > form > div {
  display: flex;
  flex-direction: column;
  padding: 10px;
}

input {
  margin: 10px 0px;
  padding: 5px 10px;
  border: 0;
  border-radius: 0.4em;
}

.btn:hover {
  background-color: var(--point-color);
  color: #fff;
  cursor: pointer;
}

.btn:active {
  position: relative;
  top: 1px;
  left: 1px;
}