/* styles.css - Modern, polished look for the ScreenShare homepage */
@font-face {
  font-family: "InterRegular";
  src: url("../fonts/Inter-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "InterMedium";
  src: url("../fonts/Inter-Medium.woff2") format("woff2");
}
@font-face {
  font-family: "InterBold";
  src: url("../fonts/Inter-Bold.woff2") format("woff2");
}
@font-face {
  font-family: "InterDisplayBlack";
  src: url("../fonts/InterDisplay-Black.woff2") format("woff2");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "InterRegular";
}

body {
  background-color: #f0f2f5;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  color: #464749;
}

/* Main card container */
#main {
  background-color: #ffffff;
  padding: 48px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  text-align: center;
}

/* Page title */
h1 {
  font-family: "InterDisplayBlack";
  font-size: 48px;
  margin: 0 0 32px 0;
}

/* Create button */
#create {
  background-color: #5c4dfd;
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s;
}
#create:hover {
  background-color: #3f2ecd;
}

/* Divider */
#divider {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 8px;
}
hr {
  width: 100%;
  border-color: #e2e5ea;
  border-style: solid;
}
span {
  font-size: 16px;
  color: #464749;
}

/* Join container: input plus button */
#join-container {
  display: flex;
  width: 100%;
  gap: 8px;
}

/* Room ID input field */
#room-id {
  padding: 10px 20px;
  background-color: #e2e5ea;
  border-radius: 6px;
  width: 100%;
  font-size: 16px;
  outline: none;
  border-width: 0;
}
#room-id::placeholder {
  color: #464749;
  opacity: 1;
}

/* Join button */
#join {
  background-color: #5c4dfd;
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s;
}
#join:hover {
  background-color: #3f2ecd;
}
