:root {
  --bg-color: #002945;
  --secondary-bd-color: #003b5d;
  --text-color: #ededed;
  --primary: #0093cd;
}
* {
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  outline: none;
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  background-repeat: no-repeat;

}
::-webkit-scrollbar{
  width: 1.2rem;
}

::-webkit-scrollbar-track{
  background: linear-gradient(to bottom right, #00253E,#001a2c) ;;
}

::-webkit-scrollbar-thumb{
  background: rgb(168, 168, 168);
  border-radius: 10px;
}
p{
    font-size: 2rem;
    color: rgb(237, 237, 237, 0.8);
    margin: 2rem 0 4rem;
}
.home h1 span{
  color:var(--primary)
}
html{
  font-size: 62%;
  overflow-x: hidden;
  background-image: no-repeat;
  background: no-repeat;
}
body{
  background: linear-gradient(to bottom right, #00253E,#001A2C) ;
  color: var(--text-color);
  
}
section{
    color: var(--text-color);
    min-height: 100vh;
    padding: 5rem 9% 2rem;
    margin: 0 auto;
}

.home{
    padding: 0 9%;
}

.header {
  width: 100%;
  position: fixed;
  padding: 2rem 9%;
  top: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.header.sticky{
  background: linear-gradient(to bottom right, #00253E,#001A2C);
}

.logo{
  font-size: 2.5rem;
  color: var(--text-color);
  font-weight: 600;
}

.navbar a{
  font-size: 1.7rem;
  color: var(--text-color);
  font-weight: 500;
  margin-left: 3.5rem;
  transition: .3s;
}

.navbar a:hover,
.navbar a.active
{
  color: var(--primary);
}

#menu-icon{
    font-size: 3.5rem;
    color: var(--text-color);
    cursor: pointer;
    display: none;
}
.home {
  text-align: center;
  
}
.home h1{
    font-size: 5rem;
    font-weight: 600;
    line-height: 1.3;
    margin-top: 10rem;
    text-align: center;
}

.home p{
  text-align: center;
}
h2{
  font-size: 3rem;
  font-weight: 400;
  line-height: 1.3;
}

table{
  margin: 0 auto;
  border: solid 2px #0093cd;
  font-size: 1.7rem;
  border-collapse: collapse;
  margin-bottom: 6rem;
}
table thead tr {
  background-color: rgb(0, 147, 205, .5);
  text-align: left;
  font-weight: bold;
}

table th, table td {
  padding: 12px 15px;
  border: 1px solid #0093cd;
}
table tbody tr:nth-of-type(even) {
  background-color: var(--secondary-bd-color);
}
table tbody tr:hover {
  background-color: rgb(241, 241, 241, .2);
}
.figure1{
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 3rem;
}
.figure1 img{
  max-width: 40%;
  min-width: 250px;
  height: auto;
}
/*Media section*/

@media (max-width: 1200px) {
  html{
    font-size: 55%;

  }
  table{
  margin: 0 auto;
  border: solid 2px #0093cd;
  font-size: 1.5rem;
  border-collapse: collapse;
  
}

table th, table td {
  padding: 12px 12px;
  border: 1px solid #0093cd;
}
}

@media (max-width: 990px) {
  .header{
    padding: 2rem 4%;
  }

  section{
    padding: 10rem 4% 2rem;
  }

  .home{
    padding: 0 4%;
  }

}

@media (max-width: 700px) {
  .header{
    background: var(--bg-color);
  }

  #menu-icon{
    display: block;
  }
 table{
  margin: 0 auto;
  border: solid 2px #0093cd;
  font-size: 1.2rem;
  border-collapse: collapse;
  
  }

  .navbar{
    position: absolute;
    top: 100%;
    left: -100%;
    width: 100%;
    padding: 1rem 4%;
    background: var(--bg-color);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .2);
    transition: .25s ease;
    transition-delay: .1s;
  }

  .navbar.active{
    transition-delay: 0s;
    left: 0;
  }

  .navbar .active-nav{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    border-top: .1rem solid rgba(0, 0, 0, .2);
    z-index: -1;
    transition: .25s ease;
    transition-delay: 0s;

  }

  .navbar.active .active-nav{
    transition-delay:.1s;
  }

  .navbar a{
    display: block;
    font-size: 2rem;
    margin: 3rem;
  }
  .pricePredictionPdf{
    width: 100%;
    height: 80vh;
  }

}

@media (max-width: 520px) {
  html{
    font-size: 50%;
  }
  .figure1{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 3rem;
  }
  img{
    width: 250px;
  }
  table{
    margin: 0 auto;
    border: solid 2px #0093cd;
    font-size: 1.3rem;
    border-collapse: collapse;
    margin-bottom: 6rem;
  }

  table th, table td {
    padding: 2px 2px;
    border: 1px solid #0093cd;
  }
}

@media (max-width: 462px){
  .home-content h1{
    font-size: 5.2rem;
  }
}

@media (max-width: 371px){

  .home-content h1{
    font-size: 5rem;
  }
}
