@import url('https://fonts.googleapis.com/css2?family=Antic+Didone&display=swap');
@import './indexComponents/mainContent.css';
@import './indexComponents/contacts_icons.css';
@import './indexComponents/section_languages.css';
@import './indexComponents/footer.css';
@import './aboutComponents/main.css';
@import './aboutComponents/bio.css';
@import './projectsComponents/main.css';

body {
  background-color: black;
  color: white;
  font-family: 'Antic Didone', serif;
  margin: 0;
}

#nav {
  grid-area: nav;
}

#main {
  grid-area: main;
}

#section-languages {
  grid-area: section-icons;
}

#aside {
  grid-area: aside;
}

#footer {
  grid-area: footer;
}

#container {
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: 80% 20%;
  grid-template-rows: auto auto auto auto;
  grid-template-areas:
    'nav nav'
    'main main'
    'section-icons section-icons'
    'footer footer';
}

#aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 4rem;
  position: -webkit-sticky;
  position: fixed;
  right: 3em;
  top: 10em;
}

#icons {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#icons > p {
  margin-bottom: 0;
}

.symbol {
  font-size: 2.2em;
  color: red;
}

.heart {
  font-size: 1.1em;
  color: red;
}

#nav {
  z-index: 1001;
  background: rgb(250, 0, 0);
  background: radial-gradient(circle, rgba(251, 63, 63, 1) 0%, rgba(0, 0, 0, 0.9738095921962535) 100%);
  position: -webkit-sticky;
  position: sticky;
  top: 0px;
  margin: 0 0 1em 0;
}

#nav > #ulnav {
  display: flex;
  flex: row;
  justify-content: space-evenly;
  list-style: none;
  padding-left: 0;
  margin: 2rem 0 2rem 0;
}

.icons > a > i {
  font-size: 1.4rem;
  color: white;
  background-color: red;
  padding: 0.5rem;
  border-radius: 4px;
}

.icons > a > i:hover {
  color: rgb(212, 216, 218);
  background-color: white;
}

.aLinks {
  color: white;
  font-size: 1.5rem;
  text-decoration: none;
}

.aLinks:hover {
  color: rgb(5, 238, 255);
}

#scroller {
  display: none;
  margin-top: 3em;
  font-size: 1.5em;
}

#scroller > a {
  color: white !important;
}

@media only screen and (max-width: 1055px) {
  #container {
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      'nav'
      'main'
      'section-icons'
      'aside'
      'footer';
  }

  #aside {
    display: block;
    position: static;
    margin-top: 0;
  }

  #icons {
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    margin-top: 0;
  }

  #aside {
    display: flex;
  }

  #icons {
    display: flex;
    flex-direction: row;
  }

  #contact {
    margin: 0;
    font-size: large;
  }

  .aLinks {
    font-size: 1.05rem;
  }

  #nav > #ulnav {
    margin: 1rem;
  }

  #scroller {
    position: fixed;
    bottom: 7rem;
    right: 0.6rem;
    z-index: 1000;
  }

  #aside > #scroller > p > a > i {
    font-size: 1.1rem;
  }
}
