html{
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

body{
    background-color: #000;
    color: #12ffff;
    font-family: 'MuseoModerno', sans-serif;
    margin: 0;
    overflow-x: hidden;
}

.logo {
  width: 80%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: -10vh;
  display: block;
}

#services, #portfolio{
  text-align: center;
}

#main:not(.parallax-portfolio){
  color: #fff;
}

.default{
  text-align: right;
}

.sections{
  height: 100vh;
  padding: 10vh 10vh 40vh 10vh;
  margin: 20vh 10vh 10vh 10vh;
}

#main h1:not(#portfolio, #tiers){
  background-color: #121212;
  border-radius: 10px;
  padding: 10px;
  padding-left: 2vh;
}

#main #our-motto{
  background-image: url(./../img/cyber-security-17.png);
  background-position-x: -100%;
  background-clip:padding-box;
}

#portfolio{
  text-align: right;
  border-radius: 25px 10px;
  border: 2px solid;
  margin: auto auto auto 10px;
}

#tiers{
  text-align: left;
  border-radius: 10px 25px;
  border: 2px solid;
  margin: auto auto 10px auto;

}

#portfolio, #tiers{
  opacity: 0.97;
  background-color: #121212;
}

#portfolio:hover, #tiers:hover{
  background-color: #fff;
  color: #000;
}

.headingSlide{
  animation: slideInFromRight 0.3s ease-in-out forwards, shadowLag 0.5s ease-in-out forwards;
}

#about{
  box-shadow: 10px 10px #bf40bf;
}

#our-motto h1{
  box-shadow: 10px 10px #12ffff;
}

#services h1{
  box-shadow: 10px 10px #ffff00;
}

#p2 .spining-wheel{
  -webkit-transform: scaleX(-1);
  -moz-transform: scaleX(-1);
  -o-transform: scaleX(-1);
  transform: scale(-1);
}

#p3 .spining-wheel{
  -webkit-transform: scaleY(-1);
  -moz-transform: scaleY(-1);
  -o-transform: scaleY(-1);
  transform: scaleY(-1);
}

#p4 .spining-wheel{
  -webkit-transform: scaleY(-1);
  -moz-transform: scaleY(-1);
  -o-transform: scaleY(-1);
  transform: scaleY(-1);
  -webkit-transform: scaleX(-1);
  -moz-transform: scaleX(-1);
  -o-transform: scaleX(-1);
  transform: scale(-1);
}

@keyframes slideInFromRight {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes shadowLag {
  from {
    box-shadow: 200px 10px #ffff00;
  }
  to {
    box-shadow: 20px 20px #ffff00;
  }
}

.boxed-text {
  background-color: #121212;
  border-radius: 25px;
  box-shadow: 10px 10px #ffff00;
  height: 50vh;
  overflow: hidden;
  margin-top: 5vh;
  text-align: left;
  padding: 2vh;
  font-size: 20pt;
  display: none;
  animation: slideInFromRight 0.3s ease-in-out forwards, shadowLag 0.5s ease-in-out forwards;
}

.boxed-text a {
  color: #ffff00;
}

.hidden {
  display: none;
}

.boxed-text.visible {
  display: block;
}

.code-snippet{
  color: #70F020;
}

.code-snippet span{
  color: #A020F0;
}

.coded-text{
  padding-left: 6vh;
}

.show {
  opacity: 0;
  transform: translatex(-50px);
  animation: slideIn 3s 0.5s ease forwards;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translatex(-50px);
  }
  to {
    opacity: 1;
    transform: translatex(0);
  }
}

@media only screen and (max-width: 912px) {
    .boxed-text{
      font-size: 14pt;
      overflow-y: scroll;
    }
}

.tiers-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.tier:nth-child(1){
  box-shadow: 10px 10px rgba(255, 0, 255, 0.5);
}

.tier:nth-child(2){
  box-shadow: 10px 10px rgba(255, 255, 0, 0.5);
}

.tier:nth-child(3){
  box-shadow: 10px 10px rgba(18, 255, 255, 0.5);
}

.tier {
  opacity: 0.97;
  max-width: 350px;
  height: 50vh;
  background-color: #121212;
  border-radius: 10px;
  padding: 20px;
  margin: 20px;
  flex-basis: max-content;
}

.next {
  opacity: 0.97;
  max-width: 100vh;
  background-color: #121212;
  border-radius: 10px;
  box-shadow: 10px 10px rgba(112, 240, 32, 0.5);
  padding: 5px;
  margin: 20px;
  align-self: center;
}

#tiersContent{
  flex-direction: column;
}

.tier, .next{
  transition: transform 0.3s ease;
}

#portfolioContent{
  display: flex;
  justify-content: center;
  overflow: auto;
}

.profile-container {
  width: 52%;
  overflow-x: auto;
  white-space: nowrap;
  overflow-y: hidden;
}

.item {
  width: 900px;
  height: 400px;
  display: inline-block;
  margin: 50px;
}

.scroll-content {
  display: inline-block;
  overflow-y: hidden;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #000000;
}
::-webkit-scrollbar-thumb {
  background: var(--scrollbar-color);
}

#section5 {
  background-image: url('./../img/18338155.webp');
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  justify-content: space-between;
}

@media only screen and (max-width: 912px) {
  #section5 {
    padding: 20px;
  }

  .profile-container {
    width: unset;
  }

  .item{
    width: 350px;
    height: 500px;
    margin: 30px;
  }
}

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: auto;
  background-color: #000;
  color: #fff;
  padding: 10px;
  border-radius: 25px 25px 0 0;
}

footer svg{
  margin: 0 10px;
  cursor: pointer;
  width: 28px;
  height: 28px;
}

footer a, footer span{
  color: #fff;
  text-decoration: none;
}

footer a:hover{
  color: #fff;
  text-decoration: none;
}

footer a:active{
  color: #fff;
  text-decoration: none;
}

@media only screen and (max-width: 912px) {
  footer{
    padding: 0;
    font-size: 10pt;
  }
  footer svg{
    margin: 0;
    width: 14px;
    height: 14px;
  }

  .row{
    margin-left: unset;
    margin-right: unset;
  }
}


/* navigation and landing content */
/* --page title area-- */
.parallax-top {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
  width: 100%;
  opacity: 1;
  transition: opacity 0.5s ease-out;
}

.typing-conainer {
    display: flex;
    vertical-align: middle;
    margin-top: 20vh;
    margin-left: 5rem;
    max-width: 75%;
}

#page-title{
    margin-top: auto;
    width: 100%;
    height: 100vh;
    padding: 20vh 0 0 0;
}
/* --nav-- */
.navbar {
  display: flex;
  width: 100%;
  position: fixed;
  z-index: 1;
}

.nav-item {
  flex: 1;
  text-align: center;
  padding: 10px;
  margin: 10px;
  background: #3498db;
  color: #fff;
  text-decoration: none;
  border: 1px solid #3498db;
  box-sizing: border-box;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
  font-weight: 800;
}

.nav-item:first-child{
  border-bottom-left-radius: 35px;
}

.nav-item:last-child{
  border-top-right-radius: 35px;
}

.nav-item:hover {
  background: #fff;
}

#toggleButton{
  display: none;
}

/* about us */
#about-us {
  position: relative;
}
/* --grid items-- */
.shape-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-template-rows: repeat(4, 1fr);
gap: 10px;
}

.shape-grid .default{
text-align: right;
}

.shape-grid .circle{
text-align: left;
}

.grid-item {
padding: 30px;
font-size: 20pt;
}

.circle .grid-item {
padding: 10px;
}

/* --paragraph placement in grid-- */
.default p{
  background-color: #121212;
  border-radius: 15px;
  box-shadow: 10px 10px #bf40bf;
}

#p1 {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

#p2 {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}

#p3 {
  grid-column: 3 / 4;
  grid-row: 1 / 2;
}

#p4 {
  grid-column: 4 / 5;
  grid-row: 2 / 4;
}

.default #p4{
  grid-column: 4 / 5;
  grid-row: 3 / 4;
}

@media only screen and (max-width: 912px) {
  h2{
    font-size: unset;
    font-weight: 800;
    text-align: center;
  }
  .navbar {
      flex-direction: column;
      position: fixed;
      left: -100%;
      top: 25%;
  }

  .nav-item {
      width: 80%;
      padding: 5px;
  }

  .nav-item:first-child{
    border-bottom-left-radius: unset;
    border-top-left-radius: 35px;
  }
  
  .nav-item:last-child{
    border-top-right-radius: unset;
    border-bottom-right-radius: 35px;
  }

  #toggleButton{
    display: unset;
    position: fixed;
    z-index: 2;
    border: none;
    background-color: transparent;
    bottom: 5%;
    left: 5%;
  }

  .slide-in{
    left: 0 !important;
  }

  .sections{
    padding: 0 0 100vh;
    margin: 50vh 0;
  }

  #about-us .shape-grid{
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(1, 1fr);
  }

  .default #p1{
    grid-column: 1;
    grid-row: 1;
  }

  .default #p2{
    grid-column: 1;
    grid-row: 2;
  }

  .default #p3{
    grid-column: 1;
    grid-row: 3;
  }

  .default #p4{
    grid-column: 1;
    grid-row: 4;
  }

  #our-motto .shape-grid{
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(1, 1fr);
    text-align: center;
  }

  .circle #p1{
    display: none;
    grid-column: 1;
    grid-row: 1;
  }

  .circle #p2{
    display: none;
    grid-column: 1;
    grid-row: 1;
  }

  .circle #p3{
    display: none;
    grid-column: 1;
    grid-row: 1;
  }

  .circle #p4{
    display: none;
    grid-column: 1;
    grid-row: 1;
  }

  .grid-item {
    padding: 10px;
    font-size: 12pt;
  }

  .typing-conainer{
    margin-left: 5%;
    max-width: unset;
    font-size: 20pt;
  }

  #p-title{
    font-family: 'Cutive-mono';
  }
}

/* our motto */
.spining-wheel{
  width: 60px;
  height: 40px;
}

/* Services */
.col-lg-6 > h3{
  cursor: pointer;
}

#design-info, #development-info{
  font-family: monospace;
}

.large-lonely-p{
  padding: auto;
  margin: 10rem auto auto auto;
  font-size: 40pt;
  font-family: "Cutive Mono", monospace;
}

/* porfolio */
.parallax-portfolio {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
  opacity: 1;
  transition: opacity 0.5s ease-out;
  padding: 10vh;
}

/* contact modal */

/* --Modal Styles-- */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-image: url(./../img/Untitled.png);
  background-color: #121212;
  background-position: 20rem 10px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  position: fixed;
  border-radius: 25px;
  width: 80%;
  max-width: 600px;
  font-family: "Cutive Mono", monospace;
  font-weight: 400;
  font-style: normal;
  color: #70F020;
  padding: 50px;
  background-size: 200%;
  background-repeat: no-repeat;
}

.close {
  float: right;
  cursor: pointer;
  font-size: 30pt;
  color: #0b1b00;
}

.close:hover {
  color: #70F020;
}

@media only screen and (max-width: 912px) {
  .modal-content{
    padding: 0;
    width: 95%;
  }
  .modal-content h2{
    text-align: center;
  }

  .large-lonely-p {
    font-size: 20pt;
  }
}


/* --Form Styles-- */
form {
  display: grid;
  gap: 10px;
  margin: 10px;
}

form button[type="submit"]{
  padding: 10px 20px;
  color: #70F020;
  background-color: #000;
  border-color: #70F020;
  border-radius: 10px;
  border-width: 2px;
}
label {
  font-weight: bold;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  background-color: #000;
  box-shadow: 10px 10px #70F020;
  color: #fff;
}

/* --fixed button for contact form-- */
.mailButton {
  position: fixed;
  bottom: 20px;
  right: 30px;
  border-radius: 50%;
}

.checklistButton{
  position: fixed;
  bottom: 80px;
  right: 30px;
  border-radius: 50%;
}

.checklistButton a{
  color: unset;
}


.section {
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

@media only screen and (max-width: 912px) {
  .section {
    scroll-snap-align: start;
  }

  h1{
    font-size: 1.25rem;
  }

  .tiers-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
  }

  .tier{
    max-width: unset;
  }
}


@media only screen and (min-width: 540px) and (max-width: 912px) {
  #main #our-motto {
    background-position-x: unset;
  }
}

@media only screen and (min-width:768px) and (max-width: 912px) {
  h1{
    font-size: 30pt;
  }
}