* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'Segoe UI', sans-serif;
  background: white;
  color: #202124;
}

.header {
  position: fixed;
  height: 60px;
  width: 100%;
  padding: 10px 20px;
  border-bottom: 1px solid #c7c7c7;
  display: flex;
  align-items: center;
  background: white;
  z-index: 1000;
}

.main-container {
  display: flex;
  align-items: flex-start;
  min-height: calc(100vh - 60px);
}

.left-panel {
  position: -webkit-sticky;
  position: sticky;
  top: 60px;
  flex: 0 0 50%;
  max-width: 50%;
  padding: 40px;
  background: white;
}

.left-panel h1 {
  font-size: 110px;
  font-weight: 900;
  line-height: 1.0;
}

.left-panel p {
  margin-top: 40px;
  font-size: 20px;
  color: #5f6368;
  width: 80%;
}

.right-panel {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 80px;
  background: white;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card {
  background: #f0f4f9;
  border-radius: 20px;
  padding: 20px;
  width: 100%;
  height: 450px;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.card h2 {
  font-size: 40px;
  margin-bottom: 10px;
}

.card p {
  font-size: 18px;
  color: #5f6368;
  margin-bottom: 20px;
}

.card-button {
  display: inline-block;
  background: white;
  border: 1px solid #1a73e8;
  color: #1a73e8;
  border-radius: 30px;
  padding: 10px 20px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.8s;
}

.card-button:hover {
  background: #1a73e8;
  color: white;
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

#images{
  width: 210px;
  height: 210px;
  margin: 20px;
}

#logo{
  width: 150px;
  height: 150px;
}

.footer {
  width: 100%;
  height: 50px;
  background: #f0f4f9;
  color: #202124;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Segoe UI', sans-serif;
  font-size: 15px;
  border-top: 1px solid #c7c7c7;
  padding: 5px;
}

.languageSwitcher {
  position: absolute;
  top: 50%;
  right: 90px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Segoe UI', sans-serif;
  font-size: 15px;
  white-space: nowrap;
}

.languageSwitcher select {
  width: 120px;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background-color: white;
  cursor: pointer;
  font-size: 15px;
}

.languageSwitcher select:hover {
  background-color: #f0f0f0;
}






.user-menu {
  position: absolute;
  top: 50%;
  right: 30px;
  transform: translateY(-50%);
  z-index: 1500;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f0f4f9;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  border: 1px solid #c7c7c7;
  transition: background 0.3s;
}

.avatar:hover {
  background: #e8f0fe;
}

.user-popup {
  position: absolute;
  top: 55px;
  right: 0;
  width: 280px;
  background: white;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
  padding: 16px;
}

.hidden {
  display: none;
}

.auth-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.tab-btn {
  flex: 1;
  padding: 6px 0;
  border-radius: 20px;
  border: 1px solid #1a73e8;
  background: white;
  cursor: pointer;
  font-weight: bold;
}

.tab-btn.active {
  background: #1a73e8;
  color: white;
}

.auth-form input {
  width: 100%;
  padding: 8px 10px;
  margin-bottom: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.full {
  width: 100%;
  text-align: center;
  margin-bottom: 10px;
}

.divider {
  text-align: center;
  font-size: 13px;
  color: #5f6368;
  margin: 10px 0;
}

.google-btn {
  width: 100%;
  background: white;
  border: 1px solid #1a73e8;
  color: #1a73e8;
  border-radius: 30px;
  padding: 10px 20px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.8s;
}

.google-btn:hover {
  background: #1a73e8;
  color: white;
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.user-name {
  font-weight: bold;
  margin-bottom: 4px;
}

.user-email {
  font-size: 13px;
  color: #5f6368;
  margin-bottom: 12px;
}

.logout {
  border-color: #d93025;
  color: #d93025;
}

.logout:hover {
  background: #d93025;
  color: white;
}




@media (max-width: 768px) {

  .main-container {
    flex-direction: column;
    gap: 10px;
    padding-top: 60px;
  }

  .left-panel, .right-panel {
    position: static;
    flex: 1 1 100%;
    max-width: 100%;
    width: 100%;
    padding: 15px;
  }

  .left-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .left-panel h1 {
    font-size: 40px;
    text-align: center;
  }

  .left-panel p {
    align-content: center;
    text-align: center;
    font-size: 18px;
  }

  .card {
    height: auto;
  }

  #logo {
    width: 120px;
    height: auto;
  }

  .footer {
    padding: 12px;
    text-align: center;
    height: auto;
  }

  .languageLabel{
    visibility: hidden;
  }

  .languageSwitcher select {
    font-size: 13px;
  }
}