@tailwind base;
@tailwind components;
@tailwind utilities;

@import url("./font.css");

html {
  font-family: "Inter", sans-serif;
  font-size: clamp(14px, 1.45vw, 1.25em);
  scroll-behavior: smooth;
  scroll-padding-top: 4rem;
  overflow-x: hidden;
}

:root {
  --black: #1e1e1e;
  --black-2: #4b494a;
  --white: #ffffff;
  --off-white: #fef6f6;
  --primary: #e34e4e;
  --grey: #e7e7e7;
  --grey-2: rgba(241, 241, 241, 0.35);
  --secondary: rgba(227, 78, 78, 0.2);
  --border: #e6e6e6;
  --danger: #ca1919;
  --success: #22790c;
  --pending: #f7ca17;
  --section-grey: #f8f8f8;
  --font-l: 1.5rem;
  --font-m: 1.15rem;
  --font-s: 0.75rem;
  --font-ss: 0.55rem;
  --font-xs: 0.5rem;
  --radius: 0.55rem;
  --padding: 0.6rem;
  --transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
  --cta-2-hover: brightness(85%);
  --cta-hover: brightness(85%);
}

/* @media not all and (min-width: 640px) {
  html {
    font-size: clamp(16px, 1.55vw, 1.45em);
  }
} */

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
  background-color: var(--white);
  overflow-x: hidden;
  overflow-y: auto;
  width: 100vw;
  min-height: 100vh;
}

* {
  padding: 0;
  margin: 0;
  color: var(--black);
  box-sizing: border-box;
  font-size: var(--font-s);
  scroll-behavior: smooth;
  font-family: "Inter", sans-serif;
  font-weight: 500;
}

h1 {
  font-size: var(--font-l);
  font-weight: 600;
  line-height: 130%;
  text-transform: capitalize;
}



h2 {
  font-size: var(--font-m);
  font-weight: 500;
  line-height: 130%;
  text-transform: capitalize;
}
h4 {
  font-weight: 600;
  font-size: var(--font-s);
  line-height: 180%;
  text-transform: capitalize;
}

.section-header span {
  font-size: var(--font-m);
  font-weight: 500;
  line-height: 130%;
  text-transform: capitalize;
  opacity: 65%;
}

p {
  line-height: 180%;
}

ul li {
  line-height: 180%;
}

a {
  text-decoration: none;
}

.cta,
.cta-2 {
  display: flex;
  align-items: center;
  text-align: center;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
  color: var(--off-white);
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
  user-select: none;
  text-align: center;
  width: fit-content;
  font-weight: 500;
  user-select: none;
  outline: none;
  border: none;
  font-family: "Inter", sans-serif;
  background-color: var(--primary);
  font-size: var(--font-s);
  height: 2.35rem;
  gap: 0.25rem;
}

.cta-2 {
  background-color: var(--white);
  color: var(--black);
  border: 1px solid var(--border);
}

.cta:hover,
.cta-2:hover {
  filter: var(--cta-hover);
}

.navbar {
  background-color: var(--white);
  z-index: 2;
}
.navbar .logo img {
  height: 2.5rem;
  width: initial;
  object-fit: contain;
}

@media not all and (min-width: 640px) {
  .navbar .nav-links {
    display: none;
  }
}

.menu-btn {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  cursor: pointer;
  margin-top: auto;
  margin-bottom: auto;
  display: none;
}


@media not all and (min-width: 640px) {
  .menu-btn {
    display: flex;
  }
}

.menu-btn span {
  width: 1.5rem;
  height: 0.15rem;
  background-color: var(--black);
  border-radius: 0.25rem;
}

.menu-list {
  width: 0;
  visibility: hidden;
  opacity: 0;
  transition: var(--transition);
  z-index: 5;
}

.menu-list-active{
  width: 35vw;
  visibility: visible;
  opacity: 1;
}

.menu-overlay{
  height: 100vh;
  width: 100vw;
  position: fixed;
  z-index: 4;
  background: black;
  opacity: 0.15;
  left: 0;
  top: 0;
  display: none;
}



input {
  padding: 0.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  outline: 0;
  font-size: var(--font-s);
  height: 2.35rem;
}

input:active {
  outline: 0px solid var(--primary);
}

.footer {
  padding: 3rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
  margin-top: auto;
  background-color: var(--section-grey);
  width: 100%;
}

.footer .top {
  padding-bottom: 2rem;
  border-bottom: 1px solid #e5e5e6;
  grid-template-columns: 37% auto auto;
  justify-content: space-between;
}


@media not all and (min-width: 640px) {
  .footer .top{
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
}


.footer ul {
  list-style: disc;
  padding-left: 1rem;
}

.footer p {
  width: 100%;
}

.footer .logo img {
  height: 3rem;
}

.footer ul li {
  line-height: 200%;
}

.footer .info {
  width: fit-content;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
}

.footer .bottom span {
  color: var(--black-2);
  font-size: 0.65rem;
}


@media not all and (min-width: 500px) {
  .footer .bottom {
    display: flex;
    flex-direction: column-reverse;
    gap: 1rem;
  }
}

.footer .bottom .kaso {
  color: var(--black);
}
