@import "./fonts-style.css";

@font-face {
  font-family: "Roboto-Black";
  src: url("../fonts//Roboto/Roboto-Black.ttf");
}

@font-face {
  font-family: "Roboto-Light";
  src: url("../fonts//Roboto/Roboto-Light.ttf");
}

@font-face {
  font-family: "Roboto-Medium";
  src: url("../fonts//Roboto/Roboto-Medium.ttf");
}

@font-face {
  font-family: "Roboto-Regular";
  src: url("../fonts//Roboto/Roboto-Regular.ttf");
}

:root {
  --color-white: #f6fafd;
  --color-primary-dark: #0d1117; /* #13192f */
}

body,
html {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  color: var(--color-white);
  font-family: "Roboto-Light", sans-serif;
  background-color: var(--color-primary-dark);
  display: flex;
  flex-direction: column;
}

main {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2em 0;
}

.container {
  max-width: 1140px;
}

.ae-logo {
  font-size: 24vw;
}

h3 {
  font-family: "Roboto-Regular", sans-serif;;
  font-size: 3vw;
}

.copyright {
  font-weight: 100;
  margin: 0 auto;
  width: fit-content;
}

.icons:hover {
  cursor: pointer;
}

.icons i {
  color: var(--color-white);
}

.icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.icons a {
  margin: 0 .6em;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#logo-dot {
  width: .70em;
  height: .70em;
  background-color: #6543e9;
  border-radius: 100%;
  margin: 0 3px;
}

#logo-dot {
  position: absolute;
  top: 0.35em;
  right: -0.15em;
  z-index: 1;
}

#logo {
  margin: 5em 0;
  display: flex;
  align-items: baseline;
  position: relative;
}

#logo h3 {
  margin: 0;
}

footer.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  opacity: .6;
}

a,
a:visited {
  cursor: pointer;
  color: #6543e9;
  text-decoration: none;
}

a:hover {
  color: #8783be;
}

/* Utilities */

.mx-auto {
  margin: auto;
}


/* Medium devices between phones and tables */
@media (max-width: 768px) {
  .ae-logo {
    font-size: 60vw;
  }
  h3 {
    font-size: 13vw;
  }
  .icons a {
    margin: 0 0.7em;
    width: 22px;
    height: 22px;
  }
  footer.container {
    font-size: 3.5vw;
  }
}

@media (prefers-color-scheme: light) {
  html, body {
    background-color: var(--color-white) !important;
  }

  html, body, h3, .icons i {
    color: var(--color-primary-dark) !important;
  }
}