@import "./contact.css";
@import "./footer.css";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*::selection {
  background: #ffb7b7cb;
}

html,
body {
  overflow-x: hidden !important;
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  color: #222222;
}

.container {
  background-color: #e9e1dc;
}

.progress-bar {
  position: fixed;
  width: 100vw;
  height: 4px;
  z-index: 1000;
}

.hoamsy .progress-bar {
  background-color: #2b60ff;
}

.flosports .progress-bar {
  background-color: #FF2F2D;
}

.back-home {
  position: fixed;
  top: 2%;
  left: 2%;
  font-weight: 400;
  font-size: 1rem;
  z-index: 1001;
  cursor: pointer;
}

.back-home a {
  color: #222222;
  transition: all 300ms ease;
}

.back-arrow {
  font-size: 1.3rem;
  transition: all 300ms ease;
  position: relative;
  right: 0;
  bottom: 2px;
}

.back-home:hover a {
  transition: all 250ms ease;
}

.back-home:hover .back-arrow {
  transition: color 250ms ease, right 100ms ease;
  right: 10px;
}

.hoamsy .back-home:hover > * {
  color: #2b60ff;
}

.flosports .back-home:hover > * {
  color: #FF2F2D;
}

header {
  height: 100vh;
  margin-bottom: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

header h1 {
  color: transparent;
  font-size: 7rem;
}

.hoamsy header h1 {
  -webkit-text-stroke: 2px rgb(58, 58, 58);
}

.flosports header h1 {
  -webkit-text-stroke: 2px rgb(255, 3, 3);
  margin-bottom: .5rem;
}

header h2 {
  font-size: 3rem;
  color: #222222;
  margin-top: -30px;
}

h3 {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.8;
}

.hoamsy h3 {
  color: #2b60ff;
}

.flosports h3 {
  color: #FF2F2D;
}

p {
  line-height: 1.7;
  color: #222222;
}

.title {
  position: absolute;
}

.contributions {
  position: absolute;
  max-width: 550px;
  min-width: 500px;
}

section {
  height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  align-items: center;
  justify-content: center;
}

.section-title {
  font-size: 8vw;
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(-50%);
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 2px rgb(58, 58, 58);
}

.section-content {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 60px;
}

.section-content div {
  max-width: 40%;
  padding: 50px;
}

section img {
  border: 2px solid #222222;
  border-radius: 20px;
  max-width: 40%;
  max-height: 60vh;
}

.no-border {
  border: none !important;
}

.contact {
  border-top: 1px solid #222222;
}

.back-to-top {
  margin: 20px auto;
  display: flex;
  justify-content: center;
  position: relative;
  color: #222222;
  transition: color 250ms ease;
}

.back-to-top p {
  cursor: pointer;
  transition: color 150ms ease;
}

.back-to-top p:hover {
  transition: color 150ms ease;
}

.hoamsy .back-to-top p:hover {
  color: #2b60ff;
}

.flosports .back-to-top p:hover {
  color: #FF2F2D;
}

.back-to-top p::after {
  content: "";
  display: block;
  position: absolute;
  width: 16px;
  height: 16px;
  margin-left: -8px;
  top: -40%;
  left: 50%;
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
  opacity: 0;
  transition: all 250ms ease;
}

.hoamsy .back-to-top p::after {
  border-left: 1px solid #2b60ff;
  border-bottom: 1px solid #2b60ff;
}

.flosports .back-to-top p::after {
  border-left: 1px solid #FF2F2D;
  border-bottom: 1px solid #FF2F2D;
}

.back-to-top p:hover::after {
  content: "";
  display: block;
  position: absolute;
  width: 16px;
  height: 16px;
  margin-left: -8px;
  top: -40%;
  left: 50%;
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
  opacity: 1;
  transition: all 250ms ease;
}

.hoamsy .back-to-top p:hover::after {
  border-left: 1px solid #2b60ff;
  border-bottom: 1px solid #2b60ff;
}

.flosports .back-to-top p:hover::after {
  border-left: 1px solid #FF2F2D;
  border-bottom: 1px solid #FF2F2D;
}

@media screen and (max-width: 1000px) {
  .section-content {
    flex-direction: column;
    text-align: center;
    margin: 120px 0px;
  }
  .section-content div {
    margin-top: 30px;
    padding: 0;
    max-width: 70%;
  }
  section img {
    max-width: 50%;
  }
  section {
    height: auto;
  }
  .reverse {
    flex-direction: column-reverse;
  }
}

@media screen and (max-width: 700px) {
  header h1 {
    font-size: 5rem;
  }
  header h2 {
    font-size: 2rem;
  }
  .section-content div {
    margin-top: 30px;
    padding: 0;
    max-width: 70%;
  }
  section img {
    max-width: 60%;
    max-height: 40vh;
  }
  .contributions h3 {
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.8;
  }
  p {
    line-height: 1.7;
    color: #222222;
    font-size: 14px;
  }
  .contributions {
    position: absolute;
    max-width: 550px;
    padding: 40px;
    min-width: 0px;
  }
  .section-title {
    font-size: 16vw;
  }
}

@media screen and (max-width: 500px) {
  header h1 {
    font-size: 4rem;
  }
  header h2 {
    font-size: 1.5rem;
    margin-top: -20px;
  }
  .section-content div {
    margin-top: 10px;
    padding: 0;
  }
  .section-title {
    font-size: 20vw;
  }
}

@media screen and (max-width: 420px) {
  .progress-bar {
    height: 5px;
  }
  .contributions {
    padding: 20px;
  }
  .section-content {
    margin: 100px 0px 80px 0px;
  }
  .section-title {
    font-size: 22vw;
  }
}

@media screen and (max-width: 420px) {
  .contributions {
    padding: 20px;
  }
}
