@font-face {
  font-family: "Zenzero";
  src: url("../fonts/ZenzeroGroteskSans-Round.ttf");
}

@font-face {
  font-family: "Quicker";
  src: url("../fonts/Quicker-mingo.otf");
}

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

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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Zenzero", "Times New Roman", Times, serif;
}

:root {
  --black: #000000;
  --gray: #e5e4e2;
  --darkgray: #838996;
  --white: #ffffff;
  --darkergray: rgb(74, 74, 74);
  --beige: #f5f5dc;
}

body {
  overflow-x: 0;
  /* color: var(--black); */
}

#land {
  background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.4)),
    url("../img/0.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  height: 100vh;
  background-size: cover;
  text-align: center;
  color: var(--white);
  position: relative;
}

#nav {
  display: flex;
  justify-content: end;
  align-items: center;
  padding: 44px 0;
  width: 100%;
  position: fixed;
  background-color: none;
  transition: background-color 1000ms ease-in-out;
  z-index: 999;
}

.initials {
  left: 0;
  font-size: 28px;
  font-size: 2.5vw;
  position: absolute;
  margin-left: 40px;
  opacity: 0;
  transition: opacity 1000ms ease-in-out;
}

.initials.here {
  opacity: 1;
  transition: opacity 1000ms ease-in-out;
}

.center-icon {
  display: none;
}

#new-ic {
  line-height: 1.5;
  display: flex;
  justify-content: center;
  margin-top: 10%;
}

.nav-scrolled {
  background-color: rgba(0, 0, 0, 0.72);
  transition: background-color 1000ms ease-in-out;
}

.top-icon
 {
  text-align: right;
  color: var(--white);
  margin: 4px 20px 0px 20px;
}

#top-right {
  margin-right: 40px;
}

.centered {
  font-size: 100px;
  font-family: "Zenzero", "Times New Roman", Times, serif;
}

#name {
  display: inline-block;
  margin-top: 20vh;
}

#title {
  font-size: 2.35em;
}

#scroll {
  font-size: 16px;
}

#line {
  font-size: 16px;
}

#scroll-line {
  position: absolute;
  bottom: 0%;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  width: 100px;
}

#header-name {
  font-size: 40px;
  font-size: 4.5vw;
  text-align: center;
  margin: 6% 0;
}

#app-section {
  margin-bottom: 8%;
}

.app-contain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: -5% 6% 0 6%;
}

.app-contain-mobile {
  display: none;
}

.app-img-card {
  width: 65%;
  height: auto;
}

.app-img {
  border: var(--darkergray);
  border-width: 20px;
  border-width: 1vw;
  border-style: solid;
  border-radius: 20px;
  padding: 0%;
}

.app-content {
  width: 35%;
  height: auto;
}

.app-name {
  line-height: 1;
  font-size: 50px;
  font-size: 4vw;
  margin-bottom: 5%;
}

.app-desc {
  line-height: 1;
  font-size: 20px;
  font-size: 1.5vw;
  margin-top: 2%;
}

#top-app {
  margin-top: 0;
}

.rick {
  text-align: right;
  margin-right: 10%;
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  align-items: center;
}

.larry {
  display: flex;
  text-align: left;
  margin-left: 10%;
}

.fade-in {
  opacity: 0;
  transition: opacity 1000ms ease-in;
}

.fade-in.appear {
  opacity: 1;
}

.from-left {
  /* transform: translateX(-1%); */
}

.from-right {
  /* transform: translateX(1%); */
}

.from-left,
.from-right {
  /* transition: transform 600ms ease-in; */
}

.from-left.appear,
.from-right.appear {
  /* transform: translateX(0); */
}

#cyclic {
  border-radius: 20%;
}

#footy {
  width: 100%;
  background-color: var(--darkergray);
  color: var(--white);
  padding: 2%;
  font-size: 20px;
  font-size: 1vw;
  text-align: center;
}

#left-foot {
  width: 50%;
  display: flex;
  align-items: center;
}

#right-foot {
  width: 50%;
  text-align: right;
  align-items: center;
}

.white {
  color: var(--white);
  font-size: 20px;
  font-size: 1.6vw;

  padding: 0 2%;
}

.spacer-left {
  margin-left: 0.8vw;
}

.spacer-right {
  margin-right: 0.8vw;
}

.pngicon {
  width: 1.5vw;
  height: 1.5vw;
}

a {
  color: var(--darkergray);
}

@media (max-width: 1369px) {
  .centered {
    font-size: 80px;
  }

  #name {
    display: inline-block;
    margin-top: 20vh;
  }

  #title {
    font-size: 1.9em;
  }
}

/* tablets */
@media (max-width: 920px) {
  .initials {
    font-size: 34px;
    font-size: 3.8vw;
  }

  #header-name {
    font-size: 40px;
    font-size: 10vw;
    margin: 10% 0;
  }

  .app-contain {
    display: none;
  }

  .app-contain-mobile {
    display: block;
  }

  .app-content {
    display: block;
    text-align: center;
    width: auto;
    margin-bottom: 10%;
  }

  .app-img-card {
    width: 80%;
    height: auto;
    margin: 0 auto;
  }

  .app-name {
    margin-bottom: 0%;
    margin-top: 2%;
    font-size: 25px;
    font-size: 7vw;
  }

  #nav {
    padding: 40px 0;
  }

  .top-icon {
    margin: 4.5px 20px 0px 20px
  }

  #top-right {
    margin-right: 40px;
  }

  .app-desc {
    font-size: 10px;
    font-size: 3vw;
    display: flex;
    justify-content: center;
  }

  .pngicon {
    width: 3vw;
    height: 3vw;
  }

  .spacer-left {
    margin-left: 1.6%;
  }

  .spacer-right {
    margin-right: 1.6%;
  }

  #footy {
    font-size: 16px;
    font-size: 2vw;
  }

  .white {
    font-size: 24px;
    font-size: 3vw;
    padding: 0 2%;
  }
}

/* phones */
@media (max-width: 576px) {
  
  .top-icon {
   display: none;
    /* opacity: 1;
    transition: opacity 1000ms ease-in-out;
    margin: 0; */
  }

  .center-icon {
    display:contents;
  }

  .top-icon.here {
    opacity: 1;
    transition: opacity 1000ms ease-in-out;
  }

  #top-left {
    position: absolute;
    right: 0;
    margin-right: 130px;
  }

  #top-center {
    position: absolute;
    right: 0;
    margin-right: 80px;
  }

  #top-right {
    position: absolute;
    right: 0;
    margin-right: 30px;
  }

  .initials {
    font-size: 24px;
    font-size: 7.2vw;
    margin-left: 30px;
  }

  .white {
    font-size: 18px;
    /* font-size: 4.6vw; */
  }

  .centered {
    font-size: 55px;
  }

  #name {
    display: inline-block;
    margin-top: 20vh;
  }

  #title {
    font-size: 1.3em;
  }

  #header-name {
    font-size: 44px;
    font-size: 12vw;
  }

  .app-img-card {
    width: 80%;
  }

  .app-name {
    margin-bottom: 0%;
    margin-top: 2%;
    font-size: 34px;
    font-size: 9vw;
  }

  .app-desc {
    font-size: 18px;
    font-size: 5vw;
  }

  .pngicon {
    width: 5vw;
    height: 5vw;
  }

  .spacer-left {
    margin-left: 1.8vw;
  }
  
  .spacer-right {
    margin-right: 1.8vw;
  }

  #footy {
    font-size: 14px;
    font-size: 3vw;
  }
  
  .white-new {
    padding: 0 6%;
  }
}
