:root {
  --primary-color: #a74e3e;
  --secondary-color: #ececec;
  --third-color: #353535;
  --accent-color: #a74e3e7b;
  --header-color: #ececec;
  --header-blur: blur(16px);
  --primary-gradient: linear-gradient(
    57deg,
    var(--primary-color) 0%,
    #ab6d62 100%
  );
  --text-color: #353535;
  --name: 'The Tennis Architect';
}

body.darkmode {
  --primary-color: #a74e3e;
  --secondary-color: #353535;
  --accent-color: #a74e3e7b;
  --text-color: #ececec;
}

body {
  font-family: 'Sporty', sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--secondary-color);
}

h1 {
  color: var(--text-color);
  font-size: clamp(2rem, 3vw, 6rem);
  font-weight: 900;
  margin-bottom: 1rem;
  margin-left: 1rem;
  margin-right: 1rem;
  margin-top: 1rem;
  border-bottom: 3px solid rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}

.container {
  width: 100%;
  max-width: 1170px;
  overflow: hidden;
  margin: 0 auto;
  padding: 0 1rem;
}

.maincontainer {
  display: grid;
  grid-template-rows: auto auto;
}

.start {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

/*.startpic-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 500vh;
  background-color: rgba(0, 0, 0, 0.1);
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}*/

.startpic {
  width: 90%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  height: auto;
  object-fit: cover;
  position: absolute;
  z-index: 0;
}

#startspacer1 {
  height: 60px;
}

#startspacer2 {
  height: 60px;
}

#navspacer {
  height: 100px;
}

.starttextcontainer {
  color: var(--secondary-color);
  z-index: 2;
  position: relative;
  margin-top: 10%;
  width: 50%;
  padding: 0 1rem;
}

.startbuttonarrow {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  height: 16px;
  filter: invert(97%) sepia(3%) saturate(1%) hue-rotate(93deg) brightness(112%)
    contrast(85%);
}

.starttitle {
  border-bottom: none;
  color: inherit;
  margin: 0px;
}

.startbutton {
  position: absolute;
  bottom: 20%;
}

.startbuttontext {
  display: inline-block;
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
  background-color: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  padding: 1rem 2rem;
  cursor: pointer;
  border-radius: 2rem;
  font-size: clamp(0.8rem, 2.5vw, 1rem);
  font-weight: 600;
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-transform: uppercase;
  letter-spacing: 1px;
  justify-content: center;
  text-align: center;
  transition: all 0.3s ease;
  white-space: nowrap;
  position: relative;
  z-index: 100;
  margin: 0 auto;
  margin-left: 5px;
  margin-right: 5px;
  margin-bottom: 10px;
  margin-top: 4px;
}

.startbuttontext:hover {
  background-color: #ac5b4d;
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

.startbuttontext:hover .startbuttonarrow {
  transform: translateX(20%);
}

.startbuttontext:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.thisis {
  background: var(--secondary-color);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.thisiscard {
  display: grid;
  grid-template-columns: 50% 50%;
  align-items: center;
  width: 100%;
  padding: 1rem 1rem;
}

.thisiscardimg {
  width: 90%;
  height: 45vh;
  object-fit: cover;
  border-radius: 10px;
  background: var(--primary-gradient);
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

.thisiscardtext {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  margin-left: 10px;
}

#right {
  justify-self: end;
}
#left {
  justify-self: start;
}

/*Small specific styles*/
@media (550px > width >= 310px) {
  .container {
    width: calc(100vw - 30px);
  }

  .startpic {
    width: auto;
    height: 100%;
    align-self: center;
    justify-self: center;
  }

  .starttextcontainer {
    width: 100%;
  }

  .mob-nav,
  .menu-toggle {
    display: flex;
  }
}

/*Phone specific styles*/
@media (768px > width >= 550px) {
  .container {
    width: calc(100vw - 30px);
  }
  .startpic {
    width: auto;
    height: 100%;
    align-self: center;
    justify-self: center;
  }

  .starttextcontainer {
    width: 100%;
  }

  .mob-nav,
  .menu-toggle {
    display: flex;
  }
}

/*Tablet specific styles*/
@media (1200px > width >= 768px) {
  .container {
    width: calc(100vw - 30px);
  }

  .startpic {
    width: 1200px;
  }

  .starttextcontainer {
    width: 100%;
  }

  .pri-nav,
  .menu-toggle {
    display: flex;
  }

  .pri-nav-grid {
    display: none;
  }
}

/*PC specific styles*/
@media (width >= 1200px) {
  .container {
    width: calc(100vw - 30px);
  }

  .pc-nav {
    display: flex;
  }
}
