/* 
--- 01 TYPOGRAPHY SYSTEM

- Font sizes (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98

- Font weights
Default: 400 
Medium: 500
Semi-medium: 600
Bold: 700 

- Line heights
Default: 1
Small: 1.05
Medium: 1.2
Paragraph default: 1.6
Large: 1.8

- Letter spacing
0.5px
0.75px

--- 02 COLORS

- Primary: #2d7dd2
- Tints:
#e8f0fa
#f5f7fa
#00aeef

- Shades:
#1e56a0
#1a3a6b

- Accents:
- Greys

#888
#767676 (lightest grey allowed on #fff)
#6f6f6f (lightest grey allowed on #fdf2e9 )
#555
#333

--- 05 SHADOWS

0 2.4rem 4.8rem rgba(0, 0, 0, 0.075);

--- 06 BORDER-RADIUS

Default: 9px
Medium: 11px

--- 07 WHITESPACE

- Spacing system (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128

*/

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
}

body {
  /* background-color: skyblue; */
  line-height: 1;
  font-weight: 400;
  font-family: "Ubuntu", sans-serif;
  overflow-x: hidden;
}

/**************************/
/* GENERAL REUSABLE COMPONENTS */
/**************************/

.divider {
  width: 7rem;
  height: 0.3rem;
  background-color: #00aeef;
  margin-bottom: 1.6rem;
}
.divider2 {
  height: 7rem;
  width: 0.3rem;
  background-color: #00aeef;
}
.divide {
  margin-top: 2.4rem;
  margin-left: 1rem;
}

.grey-long-divider {
  align-self: stretch;
  width: 0.1rem;
  background-color: #888;
  /* align-content: center; */
  margin-top: 12rem;
  max-height: 50rem;
}

/* - Font sizes (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98

- Spacing system (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128
*/

.hero-btn {
  margin-top: 9.8rem;
}

.btn {
  font-size: 1.8rem;
  color: #e8f0fa;
  text-decoration: none;
  font-weight: 600;
}
.btn-space {
  margin-right: 4.8rem;
}

.btn-1 {
  background-color: #00aeef;
  padding: 0.8rem 2.4rem;
  border-radius: 0.5rem;
  border: 2px solid transparent;
  transition: all 1s ease;
  display: inline-block;
}

.btn-1:hover,
.btn-1:active {
  background-color: transparent;
  border: 2px solid #00aeef;
}
.btn-2 {
  padding: 0.8rem 2.4rem;
  border-radius: 0.5rem;
  border: 2px solid #fff;
  transition: all 1s ease;
}
.btn-2:hover,
.btn-2:active {
  background-color: #00aeef;
  border: 2px solid transparent;
}

.nav-btn {
  font-size: 1.8rem;
  color: #e8f0fa;
  text-decoration: none;
  /* font-weight: 600; */
}

.nav-btn-2 {
  padding: 0.8rem 2.4rem;
  border-radius: 0.5rem;
  /* border: 1px solid #fff; */
  transition: all 1s ease;
}
.nav-btn-2:hover,
.nav-btn-2:active {
  background-color: #00aeef;
  /* border: 1px solid transparent; */
}

/**************************/
/* POP-UP'S */
/**************************/

/* - Font sizes (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98

- Spacing system (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128
*/

.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-box {
  background: white;
  width: 600px;
  max-width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 10px;
  padding: 25px;
  position: relative;
}

#popup-img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
  display: none;
}

#close-popup {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 3rem;
  cursor: pointer;
}

#popup-title {
  font-size: 5.2rem;
  color: #00aeef;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1.6rem;
}

#popup-text {
  font-size: 1.8rem;
  color: #555;
  line-height: 1.8;
  text-align: justify;
}

.popup-box {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

/* style popup image */

#popup-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 1.2rem;
  margin-bottom: 2rem;
}

/* styling popup close button */

#close-popup {
  font-size: 3.2rem;
  color: #777;
  transition: 0.3s;
}

#close-popup:hover {
  color: #d62828;
  transition: rotate(90deg);
}
