/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/*
Spacing System (px)
2/4/8/12/16/24/32/48/64/80/96/128

Font Size System (px)
10/12/14/16/18/20/24/30/36/44/52/62/74/86/98
*/

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/*
 add variables
*/
:root {
  --background-color: #ffffff; /* Main background color */
  --second-background: #f4f4f3; /* Secondary background color for sections */
  --primary-color: #fe983d; /* Orange-based primary color from logo */
  --secondary-color: #f4f4f3; /* Light gray for backgrounds */
  --third-color: #cecece;
  --accent: #fff2e9; /* Light peach for card/section backgrounds */
  --second-color: #f36c3d; /* Stronger orange for buttons and links */
  --hover-color: #e45b00; /* Soft hover tone for interactive elements */
  --hover-cards: #ffe5d6; /* Light orange for card hover background */
  --main-text-color: #1b1b1b; /* Main text color (dark gray) */
  --secondary-text-color: #7b4b20; /* Muted orange-brown for secondary text */
  --success: #00c853; /* Success state color (green) */
  --danger: #c62828; /* Error or danger color */
  --warning: #ff9100; /* Warning or alert color */
  --white: #ffffff; /* White */
  --dark: #1d1b20; /* Very dark for borders or footers */
  --light-dark: #666; /* Light gray for helper text/elements */
  --telegram: #0088cc; /* Telegram brand color */
  --twitter: #000000; /* Twitter brand color (black) */
}

/**
 * Remove the margin in all browsers.
 */
*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border: none;
}

body {
  margin: 0;
  padding: 0;
  font-size: 16px;
  box-sizing: border-box;
  background: var(--background-color);
  color: var(--main-text-color);
  font-family: "Poppins", sans-serif;
  transition: 1s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "DM Serif Display", serif;
}

img {
  width: 100%;
  height: 100%;
}

.cw {
  max-width: 1440px;
  margin: 0 auto;
}

.public-btn {
  transition: all 0.2s ease-in;
  color: var(--secondary-color);
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  background: var(--primary-color);
  border: 2px solid var(--second-color);
  box-shadow: 6px 6px 12px #c5c5c5, -6px -6px 12px #ffffff;
  font-weight: 600;
  max-width: 17rem;
  text-align: center;
  cursor: pointer;
}

.public-btn:active {
  transform: scale(0.95);
}

.public-btn:before {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%) scaleY(1) scaleX(1.25);
  top: 100%;
  width: 140%;
  height: 180%;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 50%;
  transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
  z-index: -1;
}

.public-btn:after {
  content: "";
  display: block;
  position: absolute;
  transform: translateX(-50%) scaleY(1) scaleX(1.45);
  top: 180%;
  left: 55%;
  width: 160%;
  height: 190%;
  background-color: var(--second-color);
  border-radius: 50%;
  transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
  z-index: -1;
}

.public-btn:hover {
  border: 2px solid var(--second-color);
  scale: 1.1;
}

.public-btn:hover:before {
  top: -35%;
  background-color: var(--second-color);
  transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}

.public-btn:hover:after {
  top: -45%;
  background-color: var(--second-color);
  transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}

.caption {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input {
  /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select {
  /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

footer a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease-in-out;
}

footer a:hover {
  border-color: black;
}
