@import "@/src/styles/helpers.scss";

.section {
  @include fullPage;
  @include darkSection;
  @include regularFont;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: $largeGap;
}

.topBar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
  column-gap: $largeGap;
  row-gap: $smallGap;
  margin: 1.2em 1.8em;

  & > div {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: $mediumGap;

    * {
      margin: auto 0;
    }

    a {
      color: $white;
      text-decoration: none;
      font-size: 1.1em;
      font-weight: 350;
      margin-top: 0.5em;

      &:hover {
        color: $accent_colour;
        font-style: italic;
      }
    }
  }

  .left{
    margin-left: auto;
    display: flex;
    align-items: center;
    
    a {
      font-size: 1em;
      font-weight: 300;
    }

    span {
      margin-top: 0.5em;
    }
  }

  .logoContainer {
    width: 5em;
    height: 1.5em;
    position: relative;
    margin-right: 0.5em;

    @include nextImg;
  }
}

.mainContent {
  margin: 0;

  display: flex;
  flex-direction: row;
  justify-content: space-between;

  flex-wrap: wrap;

  font-weight: 350;

  font-size: 0.7em;

  .text {
    margin: 2em 0 2em 0;

    flex-grow: 1;
    text-align: center;
    line-height: 1.5;
    font-size: 2em;
  }

  .larger {
    font-size: 1.5em;
  }

  .greeting {
    color: $accent_colour;
    font-weight: 600;
    font-style: italic;
  }
}

.profileContainer {
  margin: 0 0 0 auto;
  max-width: 40em;
  height: max-content;
  display: flex;
  position: relative;

  @include nextImg;
}