*{
  box-sizing: border-box;
  scroll-behavior: smooth;
}

header{
  position: relative;
  display: flex;
  align-items: center;
  font-family: "Contrail One", sans-serif;
  min-height: 90px;
  margin: 0;
  padding: 0;
  background-color: white;
}
.off-screen-menu a{
  text-decoration: none;
  color: black;
  font-size: 19px;
  padding: 4px;
  /* border: 1px solid; */
  border-radius: 10px;
  margin: 0px;
  transition: 0.5s ease;
}
.off-screen-menu a:hover{
  background-color: black;
  color: white;
}
.off-screen-menu a.free-trial {
  display: inline-block;
  padding: 10px 18px;
  background-color: rgb(215, 25, 32);
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 0;
  clip-path: polygon(
    0 0,
    calc(100% - 14px) 0,
    100% 14px,
    100% 100%,
    0 100%
  );
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.off-screen-menu a.free-trial:hover {
  background-color: rgba(215, 25, 31, 0.622);
  color: white;
  transform: translateY(-2px);
}
header h1 {
  margin: 0;
  margin-left: 10px;
  animation: comeInLeft 2s ease
}
header h1:hover{
  cursor: pointer;
}
nav{
  display: flex;
  gap: 10px;
  margin-left: auto;
  margin-right: 10px;
  animation: comeInRight 2s ease
}
.trial-class-btn{
  /* padding: 0px;
  margin: 0px; */
  position: relative;
  /* animation: attention-text 2s ease;
  animation-iteration-count: infinite; */

}
.logo-container {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('/images/upper_logo_top_only_small.webp');

  background-size: 80%;
  background-position: 50% 0%;
  background-repeat: no-repeat;
  background-color: black;
  width: 80px;
  height: 80px;
  border-radius: 100px;
}
.logo-container:hover{
  cursor: pointer;
}
hr{
  margin: 0px;
  padding: 0px;
}
.title{
  color: black;
}

@keyframes attention-text {
  50% {
    bottom: 2px;
    left: 2px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 1);
    text-decoration: underline;
  }
  100%{

  }
}
@media (max-width: 1100px){
  nav{
    flex-wrap: wrap;
  }
  .logo-container{
    position: relative;
    transform: none;
    left: 0%;
    margin-left: auto; 
  }
}
@media (max-width: 600px){
  body {
    max-width: 100%;
    width: 100%;
    overflow-x: hidden;
  }
  nav{
    flex-wrap: wrap;
    max-width: 100%;
    width: 100%;
    overflow-x: hidden;
  }
  footer{
    max-width: 100%;
    width: 100%;
    overflow-x: hidden;
  }
  .logo-container{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('/images/upper_logo_top_only_small.webp');

    background-size: 80%;
    background-position: 50% 0%;
    background-repeat: no-repeat;
    background-color: black;
    width: 80px;
    height: 80px;
    border-radius: 100px;
  }
  .title{
    width: fit-content;
    color: black;
  }

  .off-screen-menu {
      background-color:  rgb(129, 129, 129);
      height: 100%;
      width: 70%;
      max-width: 450px;
      position: fixed;
      top: 0;
      right: -450px;
      display: flex;
      flex-direction: column;
      align-items: center;    
      justify-content: center;
      text-align: center;
      transition: .3s ease;
      z-index: 99;
  }
  .off-screen-menu.active {
    right: 0px;
  }
  .off-screen-menu a{
    font-size: 30px;
  }
  .hamburger{
  height: 50px;
  width: 50px;
  margin-left: auto;
  position: relative;
  z-index: 999;
  }
  .hamburger span{
    height: 5px;
    width: 100%;
    background-color: black;
    border-radius: 25px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: .3s ease;
  }
  .hamburger span:nth-child(1){
    top: 25%;
  }
  .hamburger span:nth-child(3){
    top: 75%;
  }
  .hamburger.active span:nth-child(1){
    top:50%;
    transform: translate(-50%, -50%) rotate(45deg);
  }
  .hamburger.active span:nth-child(2){
    opacity: 0;
  }
  .hamburger.active span:nth-child(3){
    top:50%;
    transform: translate(-50%, -50%) rotate(-45deg);
  }
}
@keyframes comeInLeft {
  from {
    transform: translateX(-100px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes comeInRight {
  from {
    transform: translateX(100px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}
