/**
 * Copyright 2022 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

$panel-padding: 32px 150px;

.login-header {
  background-color: #f8f4f6;
  display: flex;
  flex-direction: column;
  min-height: 368px;
  position: relative;
}

.title {
  align-items: center;
  cursor: pointer;
  display: flex;
  padding-left: 30px;
  padding-top: 20px;
  text-decoration: none;
}

.text {
  align-self: center;
  color: #5f6368;
  font-size: 22px;
}

.login-section {
  align-items: center;
  display: flex;
  padding-top: 40px;
}

.description {
  font-size: 18px;
  line-height: 24px;
  text-align: center;
  width: 100%;

  h1 {
    color: black;
    font-size: 32px;
    font-weight: 500;
    line-height: 36px;
  }

  p {
    margin-bottom: 0;
  }
}

.login-buttons {
  margin-top: 12px;

  button {
    border-radius: 18px;
    text-transform: uppercase;
  }
}

.twitter-button {
  background-color: #1da1f2;
  color: #ffffff;
  margin-right: 20px;
}

.twitter-button span {
  align-items: center;
  display: flex;
}

.product-icon {
  margin-right: 8px;
}

.horizontal-divider {
  background-color: #dadce0;
  height: 1px;
  margin: 26px auto 16px auto;
  max-width: 600px;
}

.privacy-message {
  color: #202124;
  font-size: 12px;
  margin: 0 auto;
  line-height: 18px;
  max-width: 600px;
}

.hero-container {
  position: absolute;
  height: 100%;
  top: 0;

  &.left {
    left: 0;
  }

  &.right {
    right: 0;
  }

  img {
    height: 100%;
  }
}

.info-section {
  .panel:nth-child(even) {
    background-color: #f8f4f6;
  }

  h2 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 0;
  }

  p {
    font-size: 18px;
  }
}

.panel {
  display: flex;
  height: 400px;
  justify-content: space-between;
  padding: $panel-padding;

  .box {
    flex: 1;
  }

  img {
    flex: 1;
    height: 100%;
    min-width: 0;
  }
}

.faq-section {
  background-color: #f9f9f9;
  padding: $panel-padding;

  h2 {
    font-size: 32px;
    margin-top: 0px;
    text-align: center;
  }

  mat-expansion-panel {
    margin-bottom: 30px;
  }

  mat-expansion-panel-header {
    font-size: 18px;
  }

  button.action-button {
    display: block;
    margin: 0 auto;
  }
}

.help-center-link {
  text-decoration: none;
}
