@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700&display=swap%27");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  transition: all 0.25s ease-in-out;
}

:root {
  --main-color: #00518b;
  --bg: #111111;
}

body {
  height: 100vh;
  width: 100%;
  background-color: var(--bg);
}
/*Start of header section style */

header {
  width: 100%;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header div {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

header div input {
  width: 100%;
  height: 100%;
  border: 1px solid #00518b;
  border-radius: 15px;
  outline: 0;
  background-color: var(--bg);
  padding: 0.4rem 1rem;
  color: white;
}

header div a {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--main-color);
}

header img {
  width: 150px;
  cursor: pointer;
}
/*End of header section style */
/*Start of launches section style*/

main {
  color: white;
  padding: 2rem;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
}

#space-container {
  width: 100%;
  display: flex;
  justify-content: center;
  /* align-items: flex-start; */
  flex-direction: column;
  margin: 2rem 4rem;
}

#space-container .container {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin: 3rem 0;
}

#space-container .container .card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  background-color: #333333;
  width: calc(90% / 5);
  height: 250px;
  border: 1px solid #ffffff;
  border-radius: 10px;
  cursor: pointer;
}

#space-container a {
  text-decoration: none;
  padding: 0.5rem 5rem;
  background-color: var(--main-color);
  color: white;
  border-radius: 50px;
  font-size: 0.8rem;
  align-self: center;
}
#space-container .container .card h3 {
  display: flex;
  justify-content: center;
  padding: 0.4rem 0;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  width: 100%;
  background-color: var(--main-color);
}

#space-container p {
  color: white;
  display: none;
  justify-content: center;
  align-items: center;
}
.container .card img {
  padding: 1rem 0;
  width: 180px;
  height: 200px;
}

.container .card h3 {
  font-weight: 400;
  font-size: 0.8rem;
}
/*End of launches section style*/

#info {
  margin: 2rem 0;
  width: 80%;
  /* display: flex; */
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  background-color: #181818;
  display: none;
}

#info .container {
  padding: 5rem 1.5rem;
  width: 100%;
  display: flex;
  background: rgba(51, 51, 51, 0.2);
  border: 2px solid #ffffff;
  border-radius: 30px;
}

#info .container .card {
  margin-left: 2rem;
}

#info .container .card h4 {
  padding: 1rem 0;
  font-weight: 400;
  font-size: 1.1rem;
}

#info .container .card h4 span {
  padding-left: 0.5rem;
  font-weight: 200;
}

#info .container img {
  background-color: #d9d9d9;
  padding: 5.5rem 2.5rem;
}

.fa-youtube {
  color: #ff0000;
}
.fa-wikipedia-w,
.fa-newspaper {
  color: #e6e6e6;
}

/*Start of footer section style */
footer {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #1c1c1c;
  padding: 0 2rem;
  color: white;
}

footer img {
  width: 150px;
}

footer ul {
  width: 35%;
  list-style: none;
  display: flex;
  justify-content: space-between;
}

footer ul li {
  font-size: 0.7rem;
}

.social {
  width: 6%;
  display: flex;
  justify-content: space-between;
}

.fa-facebook-f {
  color: #0a80ec;
}

.fa-twitter {
  color: #2aa9e0;
}

.fa-instagram {
  color: #f04d4a;
}
/*End of footer section style */

.loader {
  width: 100%;
  height: 100vh;
  position: fixed;
  background: #000
    url("https://media0.giphy.com/media/XEhIJM6mn56c8YesMe/giphy.gif?cid=ecf05e47yvuiw8my73m2dlyzbhlw5pgn0v3zo0baeepggpoa&rid=giphy.gif&ct=g")
    center no-repeat;
  z-index: 1;
}
