@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@500;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;700&display=swap");
a {
  text-decoration: none;
}

.infocard {
  color: #fff;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  background: #fff;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 0 40px;
}
.infocard header {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
.infocard header .left-side {
  display: flex;
  flex-direction: column;
  width: 60%;
}
.infocard header .left-side span {
  color: #000;
}
.infocard header .left-side .c-title {
  font-family: "Playfair Display", serif;
  font-size: 35px;
  font-weight: 800;
}
.infocard header .left-side .source {
  background-color: #ccc;
  font-size: 20px;
  color: #fff;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding: 5px 15px;
  border-radius: 15px;
}
.infocard header .close-btn {
  position: relative;
  top: -50px;
  left: 0;
  font-size: 40px;
  background-color: #fff;
}
.infocard main {
  display: flex;
  color: #000;
}
.infocard main img {
  padding-right: 20px;
  margin-right: 20px;
  border-right: 2px solid #000;
  width: 50%;
}
.infocard main .description {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 25px;
}
.infocard main .description p {
  font-size: 25px;
  margin-bottom: 10px;
  width: 100%;
  border-bottom: 1px solid #ccc;
  font-weight: 500;
}
.infocard main .author {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 25px;
}
.infocard main .author p {
  font-size: 25px;
  margin-bottom: 10px;
  width: 100%;
  border-bottom: 1px solid #ccc;
  font-weight: 500;
}

@media only screen and (max-width: 600px) {
  .infocard {
    padding: 10px;
  }
  .infocard .card {
    height: 100%;
  }
  .infocard .card header {
    display: flex;
    position: relative;
    margin-bottom: 0px;
  }
  .infocard .card header .left-side {
    display: flex;
    flex-direction: column;
    width: 60%;
    margin-left: 50px;
  }
  .infocard .card header .left-side span {
    color: #000;
    margin-left: -25%;
  }
  .infocard .card header .left-side .c-title {
    font-family: "Playfair Display", serif;
    font-size: 20px;
  }
  .infocard .card header .left-side .source {
    display: none;
    background-color: #ccc;
    font-size: 15px;
    color: #fff;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    padding: 5px 10px;
    border-radius: 15px;
  }
  .infocard .card header .close-btn {
    position: absolute;
    top: 0;
    left: 90%;
    font-size: 20px;
    background-color: #fff;
  }
  .infocard .card main {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #000;
  }
  .infocard .card main img {
    padding-right: 0;
    margin-right: 0;
    border-right: none;
    width: 90%;
    height: 100%;
    height: 180px;
    border-radius: 10px;
  }
  .infocard .card main .description {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
  }
  .infocard .card main .description p {
    font-size: 15px;
    margin-bottom: 0px;
    width: 90%;
    border-bottom: 1px solid #ccc;
    font-weight: 600;
  }
  .infocard .card main .description span {
    font-size: 15px;
  }
  .infocard .card main .author {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 25px;
  }
  .infocard .card main .author p {
    font-size: 15px;
    margin-bottom: 0px;
    width: 90%;
    border-bottom: 1px solid #ccc;
    font-weight: 600;
  }
  .infocard .card main .author span {
    font-size: 15px;
  }
}
.clear {
  position: fixed;
  top: 90%;
  left: 5%;
  z-index: 2;
  background: #d38265;
  color: #000;
  font-size: 18px;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  border: none;
  outline: none;
  border-radius: 15px;
  cursor: pointer;
}

.no-key {
  color: #d38265;
  display: flex;
  position: relative;
  top: 0;
  left: 0;
  z-index: 3;
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: -webkit-fit-content;
  min-height: -moz-fit-content;
  min-height: fit-content;
  text-align: center;
}
.no-key i {
  font-size: 150px;
  margin-bottom: 20px;
}
.no-key p {
  font-size: 20px;
  font-weight: lighter;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

li {
  list-style: none;
}

.container {
  padding: 30px 25px;
}
.container header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #d38265;
  margin-bottom: 25px;
}
.container header .search {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid #000;
  padding: 5px 0px 5px 5px;
}
.container header .search:focus {
  border-bottom: 2px solid #d38265;
}
.container header .search input {
  font-size: 20px;
  border: none;
  outline: none;
  color: #000;
}
.container header .search input::-moz-placeholder {
  color: #000;
}
.container header .search input:-ms-input-placeholder {
  color: #000;
}
.container header .search input::placeholder {
  color: #000;
}
.container header .search i {
  color: #000;
  font-size: 20px;
  cursor: pointer;
  padding: 10px;
}
.container header .search i:hover {
  background-color: #000;
  color: #fff;
  border-radius: 5px;
}
.container header button {
  display: flex;
  align-items: center;
  font-size: 1.2em;
  padding: 5px 10px;
  border: none;
  cursor: pointer;
  background-color: #fff;
}
.container header button:hover {
  border-bottom: 2px solid #000;
}
.container header button i {
  margin-left: 10px;
}
.container main {
  margin-top: 15px;
}
.container main .nav {
  display: flex;
  flex-wrap: nowrap;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 0;
  margin-block: 0;
  margin-bottom: 10px;
  overflow-x: auto;
  list-style: none;
  text-align: center;
  white-space: nowrap;
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
}
.container main .nav ul {
  background-color: #d38265;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
@media only screen and (max-width: 600px) {
  .container main .nav ul {
    width: auto;
  }
}
.container main .nav button {
  cursor: pointer;
  padding: 5px 10px;
  outline: none;
  border: none;
  background-color: inherit;
  font-size: 19px;
  margin-left: 20px;
  color: #fff;
  display: inline-block;
  text-align: center;
  text-transform: capitalize;
}
.container main .nav button:hover {
  border-bottom: 2px solid #000;
  color: #000;
}
.container main .nav button:focus {
  border-bottom: 2px solid #000;
  color: #000;
}
.container main .nav button.active {
  border-bottom: 2px solid #000;
  color: #000;
}
.container main .nav::-webkit-scrollbar {
  display: none;
}
.container main .newses {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 25px;
  position: relative;
}
.container main .newses .noNetwork img {
  width: 100%;
}
.container main .newses .news {
  background-color: #ccc;
  width: 300px;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
  padding: 5px 5px 10px 5px;
}
.container main .newses .news:hover {
  box-shadow: 7px 6px 5px 0px #ccc;
}
.container main .newses .news img {
  width: 100%;
  height: 290px;
  border-radius: 10px;
}
.container main .newses .news .bookmark {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  z-index: 5;
  cursor: pointer;
  padding-top: 10px;
  border-top: 2px solid #000;
}
.container main .newses .news .bookmark span {
  font-weight: 600;
  color: #000;
  padding: 5px 10px;
  text-align: center;
  border-radius: 15px;
}
.container main .newses .news .bookmark i {
  color: #000;
  border-radius: 50%;
  padding: 9px 10px;
  z-index: 1;
}
.container main .newses .news .bookmark i:hover {
  background-color: #000;
  color: #fff;
}
.container main .newses .news .bookmark i.active {
  background-color: #000;
  color: #fff;
}
.container main .newses .news p {
  color: #000;
}

@media only screen and (max-width: 600px) {
  .container {
    padding: 10px 5px;
  }
  header {
    flex-direction: column;
    margin-bottom: 0px;
    position: relative;
  }
  header .left .search {
    width: 100%;
    margin-bottom: 10px;
  }
  header button {
    z-index: 2;
    position: absolute;
    top: px;
    left: 90%;
    text-align: center;
    padding: 0px;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    border: none;
  }
  header button:hover {
    border-bottom: none;
  }
  header button p {
    display: none;
  }
  header button i {
    margin-left: 0px;
  }
}/*# sourceMappingURL=style.css.map */