*{ /* crazy shi */
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  forced-color-adjust: none;
  touch-action: manipulation;
}

:root {
  color-scheme: dark;
}

@font-face {font-family: 'Parkinsans'; src: url('/fonts/parkinsans.ttf');}
@font-face {font-family: 'Montserrat'; src: url('/fonts/montserrat.ttf');}

html.navved{
  scroll-behavior: smooth;
  scroll-padding-top: 60px;
}

body{
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

body.navved{
  /*padding-top: 60px;*/
  padding-top: calc(env(safe-area-inset-top, 0px) + env(titlebar-area-height, 0px) + 60px);
}

#mask{
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

#mask h1{
  position: absolute;
  padding: 40px;
  margin-bottom: 50px;
  font-size: 50px;
  color: white;
}

#mask .bimba{
  position: absolute;
  margin: 30px;
  color: black;
  background-color: rgb(255, 255, 255);
  padding: 0 20px;
  font-size: 22px;
}

@media (max-width: 1000px) {
  #mask h1{
    font-size: 40px;
  }
}

@media (max-width: 800px) {
  #mask .bimba{
    font-size: 18px;
    height: 40px;
  }
  #mask h1{
    margin-bottom: 40px;
    font-size: 30px;
  }
}

@media (max-width: 600px) {
  #mask .bimba{
    margin: 20px;
  }
  #mask h1{
    font-size: 26px;
    padding: 20px;
    margin-bottom: 50px;
  }
}

body{
  font-family: Parkinsans, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: rgb(201, 201, 201);
  background-color: rgb(20, 20, 20);
  min-height: 100vh;
}

a{
  color: #ccc;
  text-decoration: none;
  color-scheme: none;
}

h1{font-weight: 550}
h3{opacity: 50%; font-weight:500}

.ending{
  background-color: #090909;
  height: 200px;
  flex-direction: column;
  padding-top: 25px;
}

.sigma{
  display: flex;
  justify-content: center;
  overflow: hidden;
  row-gap: 20px;
  flex-wrap: wrap;
}

.pwa{
  opacity: 0.4;
  max-height: 20px;
  margin-left: 9px;
}

.sigma img{
  height: 25px;
  opacity: 0.15;
  padding: 0px 15px;
}

.etext{
  padding:20px;
  font-size: 15px;
  font-weight: 400;
}

.toppart {
  position: relative;
  padding: 20px;
  width: 100%;
  height: calc(100vh - 200px);
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: padding .2s;
}

.toppart a {
  display: flex;
  align-items: center;
}

.toppart::after{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url("/images/dergisigma.png");
  filter: blur(100px);
  opacity: 0.5;
}

.toppart img{
  max-width: 100%;
  max-height: calc(100vh - 240px);
  border-radius: 1rem;
}

/* NAVBAR */

ul {
  top: 0;
  padding-bottom: 8px;
  padding-left: 300px;
  padding-right: 300px;
  padding-top: calc(env(titlebar-area-height, 0px) + env(safe-area-inset-top, 0px) + 8px);
  list-style-type: none;
  margin: 0;
  overflow: hidden;
  background-color: #333;
  position: fixed;
  z-index: 1000;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(30px);
  background-color: rgba(30, 30, 30, 0.75);
  transition: .2s;
}

.gyat.top{
  height: 44px;
  border-radius: .75rem;
}

.skibidi.bruh{
  background-color: rgba(30, 30, 30, 0);
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
  backdrop-filter: blur(0px);
  padding-left: 305px;
  padding-right: 305px;
}

li{
  float: right;
  font-size: 17px;
}

.logo{
  float: left;
  font-size: 30px;
  font-weight: 650;
}

li a{
  transition: .05s, height .2s, font-weight .2s;
  height: 24px;
  padding: 10px;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  border-radius: 1.3rem;
}

li:not(.logo) a{
  color: #fff9;
  padding: 10px 15px;
}

.highlight {
  color: rgb(255, 255, 255) !important;
  font-weight: 500 !important;
}

@media (max-width: 1400px) {
  ul{
    padding-left: 200px;
    padding-right: 200px;
  }
  .skibidi.bruh{
    padding-left: 205px;
    padding-right: 205px;
  }
}

@media (max-width: 1100px) {
  ul{
    padding-left: 100px;
    padding-right: 100px;
  }
  .skibidi.bruh{
    padding-left: 105px;
    padding-right: 105px;
  }
}

/* definitely moment */

@media (max-height: 700px){
  .toppart {
    padding: 20px 0 0 0;
    height: calc(100vh - 75px);
  }
  .toppart img{
    max-height: calc(100vh - 95px);
  }
}

@media (max-width: 700px){
  ul{
    padding-left: 8px;
    padding-right: 8px;
  }
  .skibidi.bruh{
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 700px) and (min-height: 700px){
  .toppart {
    padding: 20px 0 0 0;
    max-height: calc(80vh - 220px);
  }
  .toppart img{
    max-height: calc(80vh - 240px);
  }
}

@media (max-width: 430px) {
  li:not(.logo) a{
    padding: 10px;
  }
}

li a:hover{background-color: rgba(255, 255, 255, 0.05);}
li a:active{background-color: transparent;}

/* CARDS */

.grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 550px));
  gap: 20px;
  justify-content: center;
  justify-items: center;
  align-items: center;
  padding: 20px;
}

.card{
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: start;
  height: 350px;
  color: white;
  border-radius: 1rem;
  padding: 20px;
  background-size: cover;
  background-position: top;
  overflow: hidden;
  transition: transform 0.15s;
}

@media (pointer: fine){
  .card:hover{
    transform: scale(1.02);
  }
}

.card p{
  color: rgb(221, 221, 221);    
  margin-bottom: 13px;
}

.card img{
  height: 38px;
  margin-bottom: 10px;
  max-width: 150px;
}

.coke{
  display: flex;
  gap: 10px;
  flex-flow: wrap;
}

.coke a{
  min-width: 80px;
}

.link{
  color: black;
  background-color: white;
  padding: 10px 20px;
  font-size: 1.05em;
  font-weight: 500;
  border-radius: 0.5rem;
  min-width: 110px;
  text-align: center;
  position: relative;
  z-index: 2;
  transition: 0.05s;
}

.link:hover{
  background-color: #ddd;
}

.link:active{
  background-color: #bbb;
}

.card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.card h1{
  font-size: 2.5em;
  margin-bottom: -4px;
  font-weight: 600;
}

@media (max-width: 600px){
  .card{
    height: 300px;
  }
  .card img{
    height: 30px;
  }
  .card h1{
    font-size: 1.9em;
  }
  .card p{
    line-height: 1.2;
    font-size: 0.95em;
  }
}

@media (max-width: 550px){
  .card{
    align-items: normal;
  }
  .coke a{
    flex-grow: 1;
  }
}

.cardprepart{
  background-color: rgba(30, 30, 30);
  text-align: center;
  font-size: 32px;
  font-weight: 600;
  padding: 10px;
}

.cardprepart h3{
  font-size: 16px;
  margin-top: 5px;
}

.socialpart{
  display: grid;
  grid-template-columns: repeat(auto-fit, 150px);
  gap: 15px;
  padding: 0px 20px 20px 20px;
  justify-content: center;
  background-color: rgb(30, 30, 30);
}

#socials .cardprepart{
  padding: 15px;
}

.bimba{
  background-color: rgb(43 43 43);
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-weight: 500;
  font-size: 19px;
  text-align: center;
  transition: 0.05s;
}

.shrink {
  font-size: 28px;
}

.pawli {
  color:rgb(236, 215, 168);
}

.card-content p{
  color:#777;
  font-size: 15px;
  Line-height: 1.3;
  flex-grow: 1;
}

.card-content .btn{
  display: block;
  padding: 10px;
  font-weight: 500;
  background-color: #222222;
  font-size: 18px;
  border-radius: 10px;
  margin-top: 12px;
  text-align: center;
  transition: 0.05s;
}

#knowy{
  height: 2.2em;
}

.bimba:hover{
  background-color: rgba(255, 255, 255, 0.1);
}

.card-content .btn:active, .card-content #pawli:active, .bimba:active{
  background-color: transparent;
}