/*
ADDRESS:weather32.dev

--- 01 TYPOGRAPHY SYSTEM

- FONT SIZE SYSTEM (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98

- Font weights
Default: 400

- Line weights
Default: 400
Medium: 500
Semi-bold: 600
Bold: 700

-Line heights
Default: 1
Small: 1.05
Paragraph default: 1.6

--- 02 COLORS
- Primary: #1c7ed6
- Tints: #1665ab
- Shades:
- Accents:
- Greys:
#ced4da
#fff

--- 05 SHADOWS

--- 06 BORDER RADIUS
Default: 9px

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

* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}

*:focus {
   outline: none;
   /* outline: 4px dotted #0b3256; */
   box-shadow: 0 0 0 0.8rem #bbd8f3;
   transition: all 0.3s;
}

html {
   /* 1 rem = 10px */
   font-size: 62.5%;
   overflow-x: hidden;
   scroll-behavior: smooth;
}
body {
   font-family: "Rubik", sans-serif;
   line-height: 1;
   font-weight: 400;
   overflow-x: hidden;
}

h2 {
   font-size: 4.4rem;
}

h2 {
   font-size: 44px;
}

/**************************/
/*GENERAL REUSABLE COMPONENTS*/
/**************************/
.container {
   max-width: 120rem;
   margin: 0 auto;
   padding: 0 3.2rem;
}

.container-feat {
   max-width: 130rem;
}

.center-text {
   text-align: center;
}

.margin-right-sm {
   margin-right: 1.6rem !important;
}

.margin-bottom-md {
   margin-bottom: 4.2rem !important;
}

.grid {
   display: grid;
   gap: 9.6rem;
   /* margin-bottom: 9.6rem; */
}

/* .grid:last-child {
   margin-bottom: 0;
} */

.grid:not(:last-child) {
   margin-bottom: 9.6rem;
}

.grid--center-v {
   align-items: center;
}

.grid--2-cols {
   grid-template-columns: repeat(2, 1fr);
   gap: 12.8rem;
}

.grid--3-cols {
   grid-template-columns: repeat(3, 1fr);
}

/* .grid--3-cols:nth-child(2) {
   grid-template-columns: repeat(3, 1fr);
} */

.grid--4-cols {
   grid-template-columns: repeat(4, 1fr);
   gap: 7.2rem;
}

.grid--5-cols {
   grid-template-columns: repeat(5, 1fr);
   gap: 7.2rem;
}

.heading-primary {
   font-size: 5rem;
   font-weight: 700;
   margin-bottom: 3.2rem;
   line-height: 1.05;
   letter-spacing: -0.5px;
   color: #fff;
}
.btn,
.btn:link,
.btn:visited {
   font-size: 2rem;
   font-weight: 600;

   text-decoration: none;

   display: inline-block;
   padding: 1.6rem 3.2rem;
   border-radius: 9px;

   transition: all 1s;

   border: none;
   cursor: pointer;
}

.btn--full:link,
.btn--full:visited {
   color: white;
   background-color: #1c7ed6;
}

.btn--full:hover,
.btn--full:active {
   color: #1c7ed6;
   background-color: white;
   /* outline: 4px solid #1c7ed6;*/ /* nie wplywa na rozmiar buttona, rysowana nad*/
   box-shadow: inset 0 0 0 4px #1c7ed6;
}

.btn--outline:link,
.btn--outline:visited {
   background-color: #1c7ed6;
   color: white;
}

.btn--outline:hover,
.btn--outline:active {
   color: #1c7ed6;
   background-color: white;
   /* outline: 4px solid #1c7ed6;*/ /* nie wplywa na rozmiar buttona, rysowana nad*/
   box-shadow: inset 0 0 0 4px #1c7ed6;
}

.btn--form {
   background-color: #0b3256;
   color: #e8f2fb;
   align-self: end;
   padding: 1.2rem;
}

.btn--form:hover {
   background-color: #e8f2fb;
   color: #0b3256;
}

/**************************/
/*       HEADER           */
/**************************/
.logo {
   height: 3.2rem;
   align-self: center;
   cursor: pointer;
}

.logo:hover {
   transform: scale(1.1);
   transition: ease 1.5s;
}

.header {
   display: flex;
   justify-content: space-between;
   align-items: center;

   /* TO MAKE THE HEADER STICKY LATER */
   height: 6.2rem;
   padding: 0 4.8rem;
   /* overflow-x: hidden; */
}

/**************************/
/*       HEADER           */
/**************************/
.main-nav {
   /* background-color: green; */
   /* background-image: linear-gradient(to right, red, blue); */
   font-size: 2rem;
   font-weight: 700;
   cursor: pointer;
}

.main-nav-list {
   list-style: none;
   display: flex;
   align-items: center;
   gap: 4.8rem;
}

.main-nav-link:link,
.main-nav-link:visited {
   text-decoration: none;
   color: white;
   font-size: 1.8rem;
   font-weight: 500;

   transition: all 0.3;
}

.main-nav-link:hover,
.main-nav-link:active {
   display: inline-block;
   text-decoration: none;
   color: #ced4da;
   font-size: 1.8rem;
   font-weight: 500;
}

.main-nav-link.nav-cta:link,
.main-nav-link.nav-cta:visited {
   padding: 0.8rem 1.6rem;
   border-radius: 9px;
   background-color: #1c7ed6;
   transition: all 1s;
}

.main-nav-link.nav-cta:hover,
.main-nav-link.nav-cta:active {
   color: #1c7ed6;
   background-color: white;
   /* outline: 4px solid #1c7ed6;*/ /* nie wplywa na rozmiar buttona, rysowana nad*/
   box-shadow: inset 0 0 0 2px #1c7ed6;
}

/* STICKY NAVIGATION */
.sticky-nav .header {
   position: fixed;
   top: 0;
   bottom: 0;
   width: 100%;
   height: 6 rem;
   padding-top: 0;
   padding-bottom: 0;
   background-color: rgba(8, 38, 64, 0.95);
   z-index: 9999;
   box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.03);
}

.sticky-nav .section-hero {
   margin-top: 6.2rem;
}

/* MOBILE */
.btn-mobile-nav {
   border: none;
   background: none;
   cursor: pointer;
   display: none;
}

.icon-mobile-nav {
   height: 4.2rem;
   width: 4.2rem;
   color: #1c7ed6;
}

.icon-mobile-nav[name="close-outline"] {
   display: none;
}

/**************************/
/* HERO SECTION*/
/**************************/
.section-hero {
   padding: 4.8rem 3.2rem 9.6rem 3.2rem;
   min-height: 100vh;
   margin: 0 auto;
}

.hero-background {
   /* background-color: brown; */
   min-height: 100vh;
   position: relative;
   background-image:
      linear-gradient(rgba(22, 22, 22, 0.6), rgba(22, 22, 22, 0.6)),
      url(../img/hero.jpg);
   background-size: cover;
   background-position: center;
   color: #fff;
}

.header-container {
   /* in relation to its own dimensions */
   /* background-color: blueviolet; */
   width: 100%;
   max-width: 120rem;
   padding: 0 3.2rem;
   position: absolute;

   /* in relation to the parent */
   left: 50%;
   top: 50%;

   transform: translate(-50%, -50%);
}

.header-container-inner {
   /* box-shadow: 0 0 1px #414040; */
   /* background-color: chartreuse; */
   width: 65%;
}

.heading-text {
   font-size: 2rem;
   line-height: 1.6;
   margin-bottom: 4.8rem;
}

.enthusiasts-tracking {
   display: flex;
   align-items: center;
   margin-top: 4.8rem;
   gap: 1.2rem;
}
.enthusiasts-imgs {
   display: flex;
}
.enthusiasts-imgs img {
   width: 4.8rem;
   height: 4.8rem;
   border-radius: 50%;
   margin-right: -1.6rem;
   box-shadow: 0 0 3px/ 0.5px #fff;
}

.enthusiasts-imgs img:last-child {
   margin-right: 0;
}

.enthusiasts-text {
   font-size: 1.8rem;
   font-weight: 600;
}

.enthusiasts-text span {
   color: #1665ab;
}

/**************************/
/*SECTION POWERED BY*/
/**************************/

.section-powered {
   margin-top: 0.5px;
   padding: 1.2rem 0 1.2rem 0;
   /* border-top: 5px solid #082640; */
   border-bottom: 5px solid #082640;
}
.heading-powered-by {
   font-size: 1rem;
   text-transform: uppercase;
   letter-spacing: 0.75px;
   font-weight: 500;
   text-align: center;
   margin-bottom: 1.4rem;
}

.logos {
   display: flex;
   align-items: center;
   justify-content: space-around;
}

.logos img {
   height: 3.2rem;
}

/**************************/
/*SECTION HOW*/
/**************************/
.section-how {
   /* background-color: red; */
   padding: 6.2rem 0;
   /* border-top: 42px solid #082640; */
}

.subheading {
   display: inline-block;
   font-size: 1.8rem;
   font-weight: 600;
   color: #1c7ed6;
   text-transform: uppercase;
   margin-bottom: 2.4rem;
}

.heading-secondary,
.heading-tertiary {
   font-size: 4.2rem;
   font-weight: 700;
}

.heading-secondary {
   margin-bottom: 6.2rem;
}

.heading-tertiary {
   font-size: 3rem;
   color: #333;
   margin-bottom: 3.2rem;
}

.how-number {
   font-size: 9.6rem;
   font-weight: 700;
   margin-bottom: 1.6rem;
   text-shadow: 0 0 1rem #082640;
   color: #d2e5f7;
}

.how-description {
   font-size: 1.8rem;
   line-height: 1.6;
   color: #555;
}
.section-how div div {
   /* padding: 10rem;
   font-size: 5rem;
   background-color: royalblue; */
}

.how-img-box {
   display: flex;
   align-items: center;
   justify-content: center;
   position: relative;
}

.how-img-box::before,
.how-img-box::after {
   content: "";
   position: absolute;
   border-radius: 2rem;
}

.how-img-box::before {
   background-color: #1665ab;
   width: 80%;
   padding-bottom: 50%;
   z-index: -2;
   box-shadow: inset 0 0 20px 4px #1c7ed6;
}

.how-img-box::after {
   background-color: #4998de;
   width: 70%;
   padding-bottom: 40%;
   z-index: -1;
   box-shadow: inset 0 0 2rem 4px #1c7ed6;
}

.how-img {
   width: 60%;
   border-radius: 1rem;
   box-shadow: 0 0 5rem 1rem rgba(255, 255, 255, 0.415);
}

/**************************/
/* TECH SECTION*/
/**************************/
.section-tech {
   padding: 7.4rem 0;
   /* border-top: 4.2rem solid #082640; */
}
.heading-tech {
   margin-bottom: 5.2rem;
}

.tech {
   box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.1);
   border-radius: 1.2rem;
   overflow: hidden;
   transition: all 0.4s;
}

.tech:hover {
   transform: translateY(-1.2rem);
   box-shadow: 0 3.2rem 6.4rem rgba(0, 0, 0, 0.3);
}

.tech-img {
   width: 100%;
}

.tech-content {
   padding: 1.8rem 2.4rem;
   display: flex;
   flex-direction: column;
   align-items: center;
}

.tech-tags {
   margin-bottom: 1.2rem;
   display: flex;
   gap: 1.4rem;
   align-self: flex-start;
}

.tag {
   display: inline-block;
   padding: 0.4rem 0.8rem;
   font-size: 1.2rem;
   font-weight: 500;
   color: #444;
   background-color: #d2e5f7;
   border-radius: 5rem;
   text-transform: uppercase;
}

.tech-name {
   font-size: 2.4rem;
   font-weight: 500;
   margin-bottom: 1.6rem;
}

.tech-attributes {
   list-style: none;
   display: flex;
   flex-direction: column;
   gap: 1.2rem;
   color: #555;
}

.tech-attribute {
   font-size: 1.6rem;
   font-weight: 400;

   display: flex;
   align-items: center;
   gap: 1.2rem;
}

.tech-icon {
   width: 2.4rem;
   height: 2.4rem;
   color: #1c7ed6;
}

.tech-attributes strong {
   font-weight: 500;
}

.telemetry {
   display: flex;
   flex-direction: column;
   justify-content: center;
}
.heading-telemetry {
   font-size: 2.4rem;
   color: #333;
   margin-bottom: 2.4rem;
}

.list {
   list-style: none;
   display: flex;
   flex-direction: column;
   gap: 1.8rem;
}

.list-item {
   font-size: 1.8rem;
   font-weight: 500;
   display: flex;
   align-items: center;
   gap: 1rem;
   color: #555;
}

.list-item--temp {
   font-size: 1.6rem;
   font-weight: 400;
   margin: 0 3.2rem;
}

.list-icon {
   width: 2.4rem;
   height: 2.4rem;
   color: #1c7ed6;
}

.list-icon--temp {
   width: 1.6rem;
   height: 1.6rem;
}

.project-documentation {
   display: flex;
   align-self: center;
   justify-self: center;
}

.tech-link:link,
.tech-link:visited {
   display: inline-block;
   font-size: 1.5rem;
   font-weight: 500;
   color: #1665ab;
   text-decoration: none;
   border-bottom: 1px solid currentColor;
   padding: 2px;
   cursor: pointer;
   transition: all 0.3s;
}

.tech-link:hover,
.tech-link:active {
   display: inline-block;
   font-size: 1.5rem;
   font-weight: 500;
   color: #114c80;
   text-decoration: none;
   border-bottom: 1px solid transparent;
   padding: 2px;
   cursor: pointer;
}
/**************************/
/*TESTIMONIALS SECTION*/
/**************************/
.section-testimonials {
   /* border-top: 4.2rem solid #082640; */
   display: grid;
   grid-template-columns: 60fr 40fr;
   background-color: #d2e5f7;
   align-items: center;
}

.testimonials-container {
   padding: 4.2rem 6.2rem;
}
.testimonials {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 4.8rem;
   padding: 3.2rem 0;
}

.testimonial-img {
   width: 4.8rem;
   border-radius: 50%;
   margin-bottom: 1.4rem;
}

.testimonial-text {
   font-size: 1.4rem;
   line-height: 1.8;
   margin-bottom: 1.8rem;
}

.testimonial-author {
   font-size: 1.4rem;
   color: #555;
}

.gallery {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 1.6rem;
   padding: 2.4rem;
}

.gallery-item {
   overflow: hidden;
   border-radius: 4px;
}

.gallery-item img {
   display: block;
   width: 100%;
   transition: all 1s;
}

.gallery-item img:hover {
   transform: scale(1.05);
}
/**************************/
/*PRICING SECTION*/
/**************************/
.grid--pricing {
   gap: 6.2rem;
}

.section-pricing {
   /* border-top: 4.2rem solid #082640; */
   padding: 6.2rem 0;
}

.starter-header {
   text-align: center;
   margin-bottom: 4.8rem;
}
.starter-name {
   color: #1c7ed6;
   font-weight: 600;
   font-size: 2rem;
   text-transform: uppercase;
   letter-spacing: 0.75;
   margin-bottom: 3.2rem;
}

.starter-pricing {
   border-radius: 1.2rem;
   width: 80%;
}

.starter-pricing--starter {
   justify-self: end;
   padding: 4.6rem;
   border: 3px solid #d2e5f7;
}

.starter-pricing--pro {
   padding: 4.8rem;
   background-color: #d2e5f7;
   position: relative;
   overflow: hidden;
}

.starter-pricing--pro::after {
   content: "BEST VALUE";
   position: absolute;
   top: 6%;
   right: -17%;

   text-transform: uppercase;
   font-size: 1.4rem;
   font-weight: 700;
   color: #333;
   background-color: #ffd43f;
   transform: rotate(45deg);
   padding: 0.8rem 8rem;
}

.starter-price {
   font-size: 6.2rem;
   font-weight: 600;
   color: #333;
   margin-bottom: 1.6rem;
}

.starter-price span {
   font-size: 3rem;
   font-weight: 500;
   margin-right: 0.8rem;
}

.starter-text {
   font-size: 1.6rem;
   line-height: 1.6;
   color: #6f6f6f;
}

.list--pricing .list-item {
   font-size: 1.6rem;
   font-weight: 400;
   display: flex;
   align-items: center;
   gap: 1rem;
   color: #555;
}

.plan-sign-up {
   text-align: center;
   margin-top: 4.8rem;
}

.plan-details {
   font-size: 1.6rem;
   line-height: 1.6rem;
   text-align: center;
}
.feature-icon {
   color: #1c7ed6;
   height: 3.2rem;
   width: 3.2rem;
   background-color: #d2e5f7;
   padding: 1.6rem;
   border-radius: 50%;
   margin-bottom: 3.2rem;
}

.feature-title {
   font-size: 2.4rem;
   color: #333;
   font-weight: 700;
   margin-bottom: 1.6rem;
}

.feature-text {
   font-size: 1.6rem;
   line-height: 1.8;
}
/**************************/
/* CTA SECTION*/
/**************************/

.section-cta {
   padding: 4.8rem 0 12.8rem 0;
}

.cta {
   display: grid;
   grid-template-columns: 74fr 26fr;
   /* background-color: #1c7ed6; */
   box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.15);
   border-radius: 12px;
   background-image: linear-gradient(to right bottom, #77b2e6, #1c7ed6);
   overflow: hidden;
}

.cta-text-box {
   padding: 4.8rem 5.2rem 5.2rem 6.4rem;
   color: #0b3256;
}

.cta .heading-secondary {
   color: inherit;
   margin-bottom: 3.2rem;
}

.cta-text {
   font-size: 1.8rem;
   line-height: 1.8;
   margin-bottom: 4.8rem;
}

.cta-form {
   display: grid;
   grid-template-columns: 1fr 1fr;
   column-gap: 3.2rem;
   row-gap: 2.4rem;
}

.cta-form label {
   display: block;
   font-size: 1.6rem;
   font-weight: 500;
   margin-bottom: 1.2rem;
}

.cta-form input,
.cta-form select {
   width: 100%;
   padding: 1.2rem;
   font-size: 1.8rem;
   font-family: inherit;
   color: inherit;
   border: none;
   background-color: #e8f2fb;
   border-radius: 9px;
   box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.cta-form input::placeholder {
   color: rgba(11, 50, 86, 0.5);
}

.cta-form *:focus {
   outline: none;
   box-shadow: 0 0 0 0.8rem rgba(232, 242, 251, 0.5);
}

.cta-img-box {
   background-image:
      linear-gradient(
         to right bottom,
         rgba(119, 178, 230, 0.21),
         rgba(28, 127, 214, 0.21)
      ),
      url("../img/cta.png");
   background-size: cover;
   background-position: center;
}
/**************************/
/* FOOTER SECTION*/
/**************************/
.grid--footer {
   grid-template-columns: 16fr 18fr 19fr 21fr 26fr;
   gap: 8.2rem;
}

.footer {
   padding: 12.8rem 0;
   background-color: #082640;
   color: #fff;
}

.logo-col {
   display: flex;
   flex-direction: column;
}

.footer-logo {
   display: block;
   margin-bottom: 3.2rem;
}

.footer-logo .logo {
   height: 3.2rem;
}

.social-icon {
   height: 2.4rem;
   width: 2.4rem;
}

.social-links {
   list-style: none;
   display: flex;
   gap: 2.4rem;
}

.copyright {
   font-size: 1.4rem;
   line-height: 1.6;
   margin-top: auto;
}

.footer-heading {
   font-size: 1.8rem;
   font-weight: 500;
   margin-bottom: 4rem;
}

.contacts {
   font-style: normal;
   font-size: 1.6rem;
   line-height: 1.6;
   display: flex;
   flex-direction: column;
   gap: 1.2rem;
}

.footer-nav {
   list-style: none;
   display: flex;
   flex-direction: column;
   gap: 2.4rem;
}

.footer-link:link,
.footer-link:visited {
   text-decoration: none;
   font-size: 1.6rem;
   color: #fff;
   transition: all 0.3s;
}

.footer-link:hover,
.footer-link:active {
   color: #ced4da;
}
