body {
	background-image: url("https://webmg.ru/wp-content/uploads/2022/01/85-20220108_193308-2048x1152.jpg");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 100% 100%;
  margin: 0;
  font-family: sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 15px;
    border: 1px solid #888;
    width: 80%;
    max-width: 800px;
    position: relative;
    border-radius: 8px;
}

.modal-content video, .modal-content iframe {
    width: 100%;
    height: 500px;
    border: none;
}

.close {
    color: #aaa;
    position: absolute;
    top: 10px; right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
.tabs {
    margin-bottom: 10px;
}
.tab-button {
    padding: 8px 16px;
    margin-right: 5px;
    border: none;
    background-color: #ddd;
    cursor: pointer;
    border-radius: 5px 5px 0 0;
}
.tab-button.active {
    background-color: #fff;
    border-bottom: 2px solid white;
    font-weight: bold;
}
.tab-content {
    display: none;
    border: 1px solid #ccc;
    padding: 10px;
    background: #fff;
}
.tab-content.active {
    display: block;
}


.container {
  display: flex;
  gap: 40px;
  transition: all 0.3s ease;
}

.card {
  width: 250px;
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card img {
  margin-bottom: 20px;
}

.card h2 {
  margin-bottom: 20px;
}

.card button {
  padding: 10px 30px;
  border: none;
  border-radius: 10px;
  color: white;
  font-size: 16px;
  cursor: pointer;
}
.card a button {
	color:white;
	text-decoration:none;
	font-weight:600;

}

.teacher {
  background: #d5ecff;
}

.teacher button {
  background-color: #337ab7;
}

.student {
  background: #c9f5cb;
}

.student button {
  background-color: #33cc33;
}

/* Hover effect */
.container:hover .card {
  transform: scale(0.9);
  filter: blur(2px);
  opacity: 0.7;
}

.container .card:hover {
  transform: scale(1.05);
  filter: none;
  opacity: 1;
  z-index: 1;
}
/* From Uiverse.io by R1SH4BH81 */ 
.form-teacher-login {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(5px);
  padding: 30px;
  width: 450px;
  border-radius: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

::placeholder {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

.form-teacher-login button {
  align-self: flex-end;
}

.flex-column > label {
  color: #151717;
  font-weight: 600;
}

.inputForm {
  border: 1.5px solid #ecedec;
  border-radius: 10px;
  height: 50px;
  display: flex;
  align-items: center;
  padding-left: 10px;
  transition: 0.2s ease-in-out;
}

.input-login {
  margin-left: 10px;
  border-radius: 10px;
  border: none;
  width: 85%;
  height: 100%;
  background: transparent;
}

.input-login:focus {
  outline: none;
}

.inputForm:focus-within {
  border: 1.5px solid #2d79f3;
}


.button-login-submit {
  margin: 20px 0 10px 0;
  background-color: #337ab7;
  border: none;
  color: white;
  font-size: 15px;
  font-weight: 500;
  border-radius: 10px;
  height: 50px;
  width: 100%;
  cursor: pointer;
}

.button-login-submit:hover {
  background-color:#245B8A;
}

.not-account-p {
  text-align: center;
  color: black;
  font-size: 14px;
  margin: 5px 0;
}
.not-account-p a{
	text-decoration:none;
  font-size: 14px;
  margin-left: 5px;
  color: #2d79f3;
  font-weight: 500;
  cursor: pointer;
}