
/**
* Name: style.css
*/

body {
  font-family: 'Noto Sans KR', sans-serif;
  background-color: #fff;
  color: #fff;
  font-size: 20px;
  display: flex;
  min-height: 100%;
  justify-content: center;
  margin: 0;
}

.main-container {
  background-color: rgba(248, 226, 197, 0.9);
  border-radius: 0px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  padding: 0px;
  width: 90%;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  z-index: 1;
  position: relative;
  padding-bottom: 0px;
  min-width: 360px;
}

.main-content {
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 360px;
}

.body-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
}

.sub-page-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
  font-size: 18px;
}

label {
  color: #4c4840;
  text-align: left;
  margin-top: 5px;
  margin-bottom: 5px;
  margin-right: 5px;
  transform-origin: left top;
  white-space: nowrap;
  display:inline-block;    
  line-height:45px;
}

input[type="text"] {
  padding: 10px;
  border-radius: 5px;
  font-size: 20px;
  background-color: white;
  color: #000;
  width: calc(100% - 60px);
  margin-right: 10px;
}
  
input[type="radio"] {
  transform: scale(1.2);
  margin-right: 5px;
}

input[type="checkbox"] {
  transform: scale(1.2);
  margin-right: 5px;
}

input:focus {
  outline: none;
  border-color: blue;
  background-color: rgb(252, 230, 230);  
}

#start-btn {
  background-color: #d5b16f;
  color: #fff;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 20px;
  width: 90%;
  height: 60px;
  border-radius: 20px;
  display: block;
  margin: 20px auto 20px;
  font-size: 24px;
}

button {
  padding: 10px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  transition: all 0.3s ease;
  align-self: flex-end;
  display: flex;
  justify-content: center;
  align-items: center;
}

button:hover {
  background-color: #4b2f91;
}

button:disabled,
button[disabled] {
  border: 1px solid #999999;
  background-color: #cccccc;
  color: #666666;
  cursor: not-allowed; 
}

.red-btn {
  padding: 10px;
  background-color: red;
  color: #fff;
  border: none;
  border-radius: 10%;
  cursor: pointer;
  font-size: 20px;
  transition: all 0.3s ease;
  width: 90%;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  margin: auto;
}

.blue-btn {
  padding: 10px;
  background-color: blue;
  color: #fff;
  border: none;
  border-radius: 10%;
  cursor: pointer;
  font-size: 20px;
  transition: all 0.3s ease;
  width: 90%;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  margin: auto;
}

.green-btn {
  padding: 10px;
  background-color: green;
  color: #fff;
  border: none;
  border-radius: 10%;
  cursor: pointer;
  font-size: 20px;
  transition: all 0.3s ease;
  width: 90%;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  margin: auto;
}

.yellow-btn {
  padding: 10px;
  background-color: goldenrod;
  color: #fff;
  border: none;
  border-radius: 10%;
  cursor: pointer;
  font-size: 20px;
  transition: all 0.3s ease;
  width: 90%;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  margin: auto;
}

.violet-btn {
  padding: 10px;
  background-color: rgb(238, 37, 238);
  color: #fff;
  border: none;
  border-radius: 10%;
  cursor: pointer;
  font-size: 20px;
  transition: all 0.3s ease;
  width: 90%;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  margin: auto;
}

.white-btn {
  padding: 10px;
  background-color: white;
  color: black;
  border: none;
  border-radius: 10%;
  cursor: pointer;
  font-size: 20px;
  transition: all 0.3s ease;
  width: 90%;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  margin: auto;
}

.grey-btn {
  padding: 10px;
  background-color: rgb(100, 100, 100);
  color: white;
  border: none;
  border-radius: 10%;
  cursor: pointer;
  font-size: 20px;
  transition: all 0.3s ease;
  width: 90%;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  margin: auto;
}

.orange-btn {
  padding: 10px;
  background-color: orange;
  color: #fff;
  border: none;
  border-radius: 10%;
  cursor: pointer;
  font-size: 20px;
  transition: all 0.3s ease;
  width: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  margin: auto;
}

.orange-btn.small {
  height: 50px;
}

.orange-btn.middle {
  height: 70px;
}

.orange-btn.large {
  height: 90px;
}

#copyright {
  font-size:20px;
  color: #534935;
  text-decoration: underline;
  text-align: center;
  margin-top: 3px;
  margin-bottom: 15px;
}
table {
  border-collapse: collapse;
  width: 100%;
}

td {
  color: black;
}

.mySaju-table td {
  text-align: center;
}

footer {
  font-size: 14px;
  color: black;
  text-align: center;
}


/* PC 테블릿 스타일 */
@media (max-width: 1024px) {
  body { font-size: 20px; }
  input[type="text"] { font-size: 20px; }
  #start-btn { font-size: 24px; height: 60px; }
  .sub-page-container { font-size: 17px; }
  #red-btn, #blue-btn, #green-btn, 
  #yellow-btn, #violet-btn, #white-btn,
  #grey-btn { font-size: 20px; }
}

/* 핸드폰 스타일 */
@media (max-width: 480px) {
  body { font-size: 16px; }
  input[type="text"] { font-size: 16px; }
  #start-btn { font-size: 20px; height: 50px; }
  .sub-page-container { font-size: 15px; }
  #red-btn, #blue-btn, #green-btn, 
  #yellow-btn, #violet-btn, #white-btn,
  #grey-btn { font-size: 16px; }
}
​