@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Funnel+Sans:ital,wght@0,300..800;1,300..800&family=Lexend:wght@100..900&display=swap");
*, html {
  margin: 0;
  border: 0;
  padding: 0;
}

#secondType {
  display: none;
}

body {
  margin-top: clamp(1rem, 0.1rem + 10vw, 1rem);
  margin-right: clamp(1rem, 0.5rem + 50vw, 4.5rem);
  margin-left: clamp(1rem, 0.5rem + 50vw, 4.5rem);
}

.body-font {
  font-family: "Funnel Sans", sans-serif;
  font-style: light;
  font-size: clamp(0.7rem, 0.05rem + 5vw, 1rem);
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: "Funnel Sans", sans-serif;
  font-style: light;
  font-size: clamp(0.7rem, 0.05rem + 5vw, 1rem);
}

a {
  text-decoration: none;
}

#menu {
  position: absolute;
}

header {
  position: sticky;
  top: 0;
  background-color: white;
  z-index: 1000;
  display: block;
  padding-top: clamp(2px, 1px + 10vw, 15px);
}
header #lightDark {
  float: left;
  z-index: 100000000;
  transform: translateY(30%);
  cursor: pointer;
}
header #lightDark img {
  width: 30px;
  height: auto;
}
header #logo {
  width: clamp(5rem, 1rem + 100vw, 15rem);
  display: block;
  margin-left: auto;
  margin-right: auto;
}
header .search {
  float: right;
  transform: translateY(-100%);
  cursor: pointer;
}
header .search img {
  width: clamp(1rem, 0.1rem + 10vw, 2rem);
}
header .horizontal_line {
  border-bottom: 1px solid lightgrey;
  margin-top: clamp(2px, 1px + 10vw, 15px);
  margin-bottom: clamp(2px, 1px + 10vw, 15px);
}

nav .horizontal_line {
  border-bottom: 1px solid lightgrey;
  margin-top: clamp(2px, 1px + 10vw, 15px);
  margin-bottom: clamp(2px, 1px + 10vw, 15px);
}
nav .nav-list {
  list-style: none;
  text-align: center;
}
nav .nav-list ul {
  display: inline;
  color: black;
  font-family: "Funnel Sans", sans-serif;
  font-style: light;
  font-size: clamp(0.7rem, 0.05rem + 5vw, 1rem);
  padding-left: clamp(0.1rem, 0.1rem + 10vw, 0.5rem);
  padding-right: clamp(0.1rem, 0.1rem + 10vw, 0.5rem);
}
nav .nav-list a {
  color: black;
}
nav .nav-list a:hover {
  color: red;
}
nav .nav-list #nav-selected {
  color: red;
}

.sub-heading {
  font-family: "Lexend", sans-serif;
  font-style: normal;
  font-size: clamp(0.5rem, 0.05rem + 5vw, 0.9rem);
  padding-bottom: clamp(0.2rem, 0.5rem + 20vw, 1rem);
}

#news {
  display: inline-block;
  width: 80%;
  padding-right: clamp(0.5rem, 0.2rem + 50vw, 0.8rem);
}
#news #options {
  font-family: "Funnel Sans", sans-serif;
  font-style: light;
  font-size: clamp(0.7rem, 0.05rem + 5vw, 1rem);
  padding-inline: clamp(0.2rem, 0.5rem + 20vw, 0.5rem);
  margin-bottom: clamp(0.2rem, 0.5rem + 20vw, 0.5rem);
}
#news #options:focus {
  color: white;
  background-color: black;
  border: 1px solid black;
  padding-inline: clamp(2px, 1px + 20vw, 5px);
}
#news #options:not(:focus) {
  color: rgba(128, 128, 128, 0.7);
}
#news #options.selected {
  color: white;
  background-color: black;
  border: 1px solid black;
  padding-inline: clamp(2px, 1px + 20vw, 5px);
}
#news #title, #news #descpt {
  padding-bottom: clamp(0.2rem, 0.5rem + 20vw, 0.5rem);
}
#news #date {
  padding-inline: clamp(0.2rem, 0.5rem + 20vw, 0.6rem);
  background-color: lightgrey;
  width: -moz-fit-content;
  width: fit-content;
}
#news #news-url {
  overflow: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
  height: auto;
  cursor: pointer;
}
#news #news-url:hover h1 {
  -webkit-text-decoration: 3px rgb(255, 155, 155) underline;
          text-decoration: 3px rgb(255, 155, 155) underline;
}

#weather {
  padding-inline: clamp(10px, 10px + 10vw, 20px);
  margin-bottom: clamp(10px, 10px + 10vw, 20px);
}
#weather #city {
  font-family: "Lexend", sans-serif;
  font-style: normal;
  font-size: clamp(0.5rem, 0.5rem + 5vw, 1.5rem);
}
#weather :not(#city) {
  font-size: clamp(10px, 2px + 1vw, 20px);
  font-family: "Funnel Sans", sans-serif;
}

#stock-data {
  padding-inline: clamp(10px, 10px + 10vw, 20px);
}
#stock-data #symbol {
  font-family: "Lexend", sans-serif;
  font-style: normal;
  font-size: clamp(0.5rem, 0.5rem + 5vw, 1.5rem);
}
#stock-data :not(#symbol) {
  font-size: clamp(10px, 2px + 1vw, 20px);
  font-family: "Funnel Sans", sans-serif;
}

#wholeBlock {
  position: relative;
}

#Block2 {
  display: inline-block;
  vertical-align: top;
  padding-top: clamp(5px, 10px + 10vw, 20px);
  padding-bottom: clamp(5px, 10px + 10vw, 20px);
  width: 18%;
}
#Block2 #addData {
  background-color: rgba(211, 211, 211, 0.25);
  padding-top: clamp(5px, 10px + 10vw, 20px);
  padding-bottom: clamp(5px, 10px + 10vw, 20px);
}
#Block2 #ad {
  background-color: lightyellow;
  font-family: "Funnel Sans", sans-serif;
  font-style: light;
  font-size: clamp(0.7rem, 0.05rem + 5vw, 1rem);
  margin-top: clamp(5px, 10px + 10vw, 20px);
}
#Block2 #ad #subsbtn {
  font-size: medium;
  padding-top: 9%;
}

#news-img {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: auto;
}

#news-img img {
  transform: scale(1);
  transition: 0.3s ease-in-out;
  -o-object-fit: cover;
     object-fit: cover;
}

#news-img:hover img {
  transform: scale(1.1);
  height: auto;
}

.red {
  color: red;
}

#second-sec {
  cursor: pointer;
  display: flex;
}
#second-sec .headlines {
  flex: 1;
  padding: 20px;
}
#second-sec .headlines:hover h1 {
  -webkit-text-decoration: 3px rgb(255, 155, 155) underline;
          text-decoration: 3px rgb(255, 155, 155) underline;
}
#second-sec #date2, #second-sec #date3, #second-sec #date4, #second-sec #tech-date4, #second-sec #tech-date5, #second-sec #tech-date6 {
  padding-inline: clamp(0.2rem, 0.5rem + 20vw, 0.6rem);
  background-color: lightgrey;
  width: -moz-fit-content;
  width: fit-content;
  margin-top: 2%;
}
#second-sec #sname2, #second-sec #sname3, #second-sec #sname4, #second-sec #tech-sname4, #second-sec #tech-sname5, #second-sec #tech-sname6 {
  color: red;
}

#linedot {
  border-bottom: 1px dotted lightgrey;
  margin-top: clamp(2px, 1px + 10vw, 15px);
  margin-bottom: clamp(2px, 1px + 10vw, 15px);
}

.overlay {
  height: 0%;
  width: 100%;
  position: fixed;
  z-index: 10000001;
  top: 0%;
  left: 0;
  background-color: black;
  overflow-y: hidden;
  transition: 0.5s;
}

.overlay-content {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(0.3rem, 0.1rem + 100vw, 2rem);
  font-family: "Lexend", sans-serif;
  font-style: normal;
  font-size: clamp(0.5rem, 0.05rem + 5vw, 0.9rem);
  z-index: 1009;
}

#nav-selected {
  color: white;
}

.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 36px;
  color: rgba(128, 128, 128, 0.7);
  display: block;
  transition: 0.3s;
}
.overlay a:hover {
  cursor: pointer;
  color: red;
}

.overlay .closebtn {
  position: absolute;
  top: 2%;
  right: 65px;
  font-size: 60px;
}

@media screen and (max-height: 450px) {
  .overlay {
    overflow-y: auto;
  }
  .overlay a {
    font-size: 20px;
  }
  .overlay .closebtn {
    font-size: 40px;
    top: 15px;
    right: 35px;
  }
}
#ad {
  padding-inline: clamp(10px, 10px + 10vw, 20px);
  padding-top: clamp(10px, 10px + 10vw, 20px);
  padding-bottom: clamp(10px, 10px + 10vw, 20px);
}
#ad #subsbtn {
  color: blue;
}

.gallery {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Ensure the parent container is positioned correctly for centering */
.parent-container {
  position: relative; /* Make the parent container relative */
  height: 100vh; /* Make the parent container take full viewport height */
}

/* Gallery container style */
.gallery {
  position: absolute;
  top: 50%; /* Vertically center the gallery */
  left: 50%; /* Horizontally center the gallery */
  transform: translate(-50%, -50%); /* Offset by half of the width and height */
  width: 75%;
  display: flex;
  justify-content: center; /* Center the content horizontally inside the gallery */
  align-items: center; /* Center the content vertically inside the gallery */
}

/* Flexbox layout for images */
.imagesGallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center; /* Center the items horizontally within the imagesGallery */
  align-items: center; /* Center the items vertically within the imagesGallery */
  width: 100%;
  margin-top: 30%;
  margin-bottom: 20%;
}

/* Each image container */
.imageG {
  position: relative;
  width: 200px;
  height: 180px;
}

/* Style for each image inside the container */
.imageG img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/* The overlay for the fade-in effect */
.imageG::after {
  content: attr(data-label);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
  color: white;
  display: flex;
  align-items: center;
  justify-content: center; /* Center the text */
  opacity: 0;
  transition: opacity 0.3s ease; /* Fade-in effect */
  font-family: "Funnel Sans", sans-serif;
  font-style: light;
  font-size: clamp(0.7rem, 0.05rem + 5vw, 1rem);
  font-size: x-large;
}

/* Show overlay on hover */
.imageG:hover::after {
  opacity: 1;
}

footer {
  position: absolute;
  left: 0;
  background-color: black;
  right: 0;
  padding-bottom: 5%;
  padding-top: 5%;
  padding-right: clamp(1rem, 0.5rem + 50vw, 4.5rem);
  padding-left: clamp(1rem, 0.5rem + 50vw, 4.5rem);
}
footer #logo2 {
  width: 30%;
}

#wholeBlock .hide {
  visibility: hidden;
}

.block50 {
  cursor: pointer;
  padding-bottom: 1%;
  flex: 1;
}
.block50:hover h1 {
  -webkit-text-decoration: 3px rgb(255, 155, 155) underline;
          text-decoration: 3px rgb(255, 155, 155) underline;
}

#newsBlocks {
  display: flex;
  justify-content: space-between; /* Equal space between items */
  gap: 1%;
}
#newsBlocks #tech-sname1, #newsBlocks #tech-sname2, #newsBlocks #tech-sname3 {
  color: red;
}

.date {
  padding-inline: clamp(0.2rem, 0.5rem + 20vw, 0.6rem);
  background-color: lightgrey;
  width: -moz-fit-content;
  width: fit-content;
  margin-top: 2%;
}

.float {
  float: right;
  display: flex;
  color: red;
}

footer .footerblock {
  display: flex;
  float: right;
}
footer .nav-list1 {
  margin-left: -50%;
  margin-right: 50%;
  list-style: none;
}
footer .nav-list1 ul {
  display: block;
  color: white;
  font-family: "Funnel Sans", sans-serif;
  font-style: light;
  font-size: clamp(0.7rem, 0.05rem + 5vw, 1rem);
  padding-left: clamp(0.1rem, 0.1rem + 10vw, 0.5rem);
  padding-right: clamp(0.1rem, 0.1rem + 10vw, 0.5rem);
  padding-bottom: clamp(0.1rem, 0.1rem + 10vw, 0.5rem);
}
footer .nav-list1 a {
  color: white;
}
footer .nav-list1 a:hover {
  color: red;
}
footer .nav-list2 {
  list-style: none;
}
footer .nav-list2 ul {
  display: block;
  color: white;
  font-family: "Funnel Sans", sans-serif;
  font-style: light;
  font-size: clamp(0.7rem, 0.05rem + 5vw, 1rem);
  padding-left: clamp(0.1rem, 0.1rem + 10vw, 0.5rem);
  padding-right: clamp(0.1rem, 0.1rem + 10vw, 0.5rem);
  padding-bottom: clamp(0.1rem, 0.1rem + 10vw, 0.5rem);
}
footer .nav-list2 a {
  color: white;
}
footer .nav-list2 a:hover {
  color: red;
}
footer .highl {
  font-weight: bold;
  -webkit-text-decoration: underline white 1px;
          text-decoration: underline white 1px;
}

.wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 30px;
}

.container {
  max-width: 1200px;
  width: 100%;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
}
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    gap: 15px;
  }
}

input[type=radio] {
  display: none;
}

.card {
  flex: 0 0 120px;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: all 0.8s cubic-bezier(0.28, -0.03, 0, 0.99);
  color: white;
  padding: 25px;
  position: relative;
  height: 280px;
  background-size: cover;
  background-position: center;
}
.card::before {
  content: "";
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.8) 100%);
  transition: opacity 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.2);
}
.card:hover::before {
  opacity: 0.6;
}

.container .card:nth-of-type(1) {
  background: linear-gradient(135deg, #ff0000 0%, #cc0000 50%, #990000 100%);
}
.container .card:nth-of-type(1)::after {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  opacity: 0.3;
}

.container .card:nth-of-type(2) {
  background: linear-gradient(135deg, #b60000 0%, #990000 50%, #660000 100%);
}
.container .card:nth-of-type(2)::after {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  opacity: 0.3;
}

.container .card:nth-of-type(3) {
  background: linear-gradient(135deg, #5e0000 0%, #400000 50%, #200000 100%);
}
.container .card:nth-of-type(3)::after {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  opacity: 0.3;
}

.container .card:nth-of-type(4) {
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
}
.container .card:nth-of-type(4)::after {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  opacity: 0.3;
}

.card .row {
  display: flex;
  width: 100%;
  align-items: flex-start;
  gap: 20px;
  height: 100%;
  position: relative;
  z-index: 2;
}

.card .icon {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  color: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  font-size: 1.5rem;
  font-weight: bold;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  font-family: "Lexend", sans-serif;
  font-style: normal;
  font-size: clamp(0.5rem, 0.05rem + 5vw, 0.9rem);
}

.card .description {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  height: 100%;
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.6s cubic-bezier(0.28, -0.03, 0, 0.99);
  color: white;
  font-size: 0.95rem;
  line-height: 1.6;
  padding-top: 10px;
}

.card .description h4 {
  margin: 0 0 15px 0;
  text-transform: uppercase;
  color: white;
  font-size: 1.3rem;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  font-family: "Lexend", sans-serif;
  font-style: normal;
  font-size: clamp(0.5rem, 0.05rem + 5vw, 0.9rem);
}

.card .description p {
  font-family: "Funnel Sans", sans-serif;
  font-style: light;
  font-size: clamp(0.7rem, 0.05rem + 5vw, 1rem);
  margin: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.card .description p strong {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}
.card .description p em {
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
}

.card .description .features {
  margin-top: 15px;
  font-family: "Funnel Sans", sans-serif;
  font-style: light;
  font-size: clamp(0.7rem, 0.05rem + 5vw, 1rem);
}
.card .description .features .feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.9rem;
}
.card .description .features .feature-item::before {
  content: "✓";
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: bold;
}

.card .description .stats {
  display: flex;
  gap: 20px;
  margin-top: 15px;
  font-family: "Funnel Sans", sans-serif;
  font-style: light;
  font-size: clamp(0.7rem, 0.05rem + 5vw, 1rem);
}
.card .description .stats .stat {
  text-align: center;
}
.card .description .stats .stat .number {
  display: block;
  font-size: 1.4rem;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.9);
}
.card .description .stats .stat .label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

input[type=radio]:checked + label {
  flex-basis: 650px;
}
@media (max-width: 768px) {
  input[type=radio]:checked + label {
    flex-basis: 100%;
    height: auto;
    min-height: 300px;
  }
}
input[type=radio]:checked + label .icon {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
  border-color: rgba(255, 255, 255, 0.5);
}

input[type=radio]:checked + label .description {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.2s;
}

@media (max-width: 1024px) {
  .container {
    gap: 15px;
  }
  .card {
    flex-basis: 100px;
    height: 250px;
  }
  input[type=radio]:checked + label {
    flex-basis: 500px;
  }
}
@media (max-width: 768px) {
  .wrapper {
    padding: 20px 15px;
  }
  .card {
    flex-basis: 100%;
    height: 200px;
    margin-bottom: 10px;
  }
  input[type=radio]:checked + label {
    height: 350px;
  }
  .card .description {
    font-size: 0.9rem;
  }
  .card .description h4 {
    font-size: 1.1rem;
  }
}
.whatis {
  font-family: "Funnel Sans", sans-serif;
  font-style: light;
  font-size: clamp(0.7rem, 0.05rem + 5vw, 1rem);
  padding-bottom: 20px;
}

.contact-form {
  max-width: 500px;
  margin: auto;
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}

.contact-form h2 {
  margin-bottom: 20px;
  font-size: 24px;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding-top: 12px;
  padding-bottom: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

.contact-form button {
  background-color: #e60000;
  color: white;
  border: none;
  padding: 12px 20px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  font-family: "Funnel Sans", sans-serif;
  font-style: light;
  font-size: clamp(0.7rem, 0.05rem + 5vw, 1rem);
}

.contact-form button:hover {
  background-color: #cc0000;
}

iframe {
  padding-bottom: 40px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background-color: black;
  margin: 5% auto;
  padding: 0;
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.3s ease;
  padding-bottom: 30px;
}

.modal-header {
  background-color: red;
  color: white;
  padding: 20px;
  position: relative;
}

.modal-header h2 {
  margin: 0;
  font-size: 24px;
  font-family: "Lexend", sans-serif;
  font-style: normal;
  font-size: clamp(0.5rem, 0.05rem + 5vw, 0.9rem);
}

.close {
  position: absolute;
  right: 20px;
  top: 20px;
  color: white;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
}

.close:hover {
  opacity: 0.7;
}

.modal-body {
  padding: 30px;
  overflow-y: auto;
  max-height: calc(80vh - 80px);
  color: white;
  line-height: 1.6;
  font-family: "Funnel Sans", sans-serif;
  font-style: light;
  font-size: clamp(0.7rem, 0.05rem + 5vw, 1rem);
}

.modal-body h3 {
  color: red;
  margin-top: 25px;
  margin-bottom: 15px;
  font-family: "Lexend", sans-serif;
  font-style: normal;
  font-size: clamp(0.5rem, 0.05rem + 5vw, 0.9rem);
}

.modal-body ul {
  padding-left: 20px;
}

.modal-body li {
  margin-bottom: 8px;
  font-family: "Funnel Sans", sans-serif;
  font-style: light;
  font-size: clamp(0.7rem, 0.05rem + 5vw, 1rem);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Responsive design */
@media (max-width: 768px) {
  .footerblock {
    gap: 30px;
  }
  .modal-content {
    margin: 10% auto;
    width: 95%;
  }
  .modal-body {
    padding: 20px;
  }
}
.legal-link {
  color: #cccccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.legal-link:hover {
  color: red;
}

/* Legal links section */
.legal-links {
  text-align: center;
  border-top: 1px solid #333;
  padding-top: 20px;
  margin-top: 20px;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding-bottom: 20px;
  font-family: "Funnel Sans", sans-serif;
  font-style: light;
  font-size: clamp(0.7rem, 0.05rem + 5vw, 1rem);
}

.legal-links a {
  margin: 0 15px;
  font-size: 14px;
}

#save-news-btn {
  padding: 2px;
  margin-top: 5px;
}

.dark-mode {
  background-color: black;
}
.dark-mode header {
  background-color: black;
}
.dark-mode #nav-selected {
  color: red;
}
.dark-mode .horizontal_line {
  border-bottom: 1px solid rgba(211, 211, 211, 0.5);
}
.dark-mode .overlay {
  background-color: white;
}
.dark-mode .overlay a:hover, .dark-mode .overlay a:focus {
  color: black;
}
.dark-mode .nav-list ul {
  color: white;
}
.dark-mode .nav-list a {
  color: white;
}
.dark-mode .nav-list a:hover {
  color: red;
}
.dark-mode .sub-heading {
  color: white;
}
.dark-mode #news #options:focus {
  color: black;
  background-color: white;
  border: 1px solid white;
}
.dark-mode #news #options:not(:focus) {
  color: rgba(128, 128, 128, 0.7);
}
.dark-mode #news #options.selected {
  color: black;
  background-color: white;
  border: 1px solid white;
}
.dark-mode #news #title, .dark-mode #news #descpt {
  color: white;
}
.dark-mode #news-url:hover h1 {
  color: rgba(128, 128, 128, 0.7);
}
.dark-mode #Block2 #addData {
  background-color: white;
  color: black;
}
.dark-mode .white {
  color: white;
}
.dark-mode footer {
  background-color: white;
  color: black;
}
.dark-mode footer a {
  color: black;
}
.dark-mode footer .highl {
  color: black;
  -webkit-text-decoration: underline black 1px;
          text-decoration: underline black 1px;
}
.dark-mode .whatis {
  color: white;
}
.dark-mode .container .card:nth-of-type(4) {
  background: linear-gradient(135deg, #2e2e2e 0%, #1a1a1a 50%, #555555 100%);
}
.dark-mode button {
  color: white;
}

.overlay {
  height: 0%;
  width: 100%;
  position: fixed;
  z-index: 10000001;
  top: 0;
  left: 0;
  background-color: black;
  overflow-y: hidden;
  transition: 0.5s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#nav-selected {
  color: white;
}

.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: clamp(1rem, 2vw, 2.25rem);
  color: rgba(128, 128, 128, 0.7);
  display: block;
  transition: 0.3s;
}
.overlay a:hover {
  cursor: pointer;
  color: red;
}

.overlay .closebtn {
  position: absolute;
  top: 2%;
  right: clamp(25px, 8vw, 65px);
  font-size: clamp(40px, 8vw, 60px);
  z-index: 1000000000;
}

.overlay-content {
  display: flex;
  align-items: center;
  margin-top: 12vh;
  gap: 0.5rem;
  padding-bottom: 10%;
}

.gallery {
  margin-top: clamp(2rem, 5vh, 4rem);
  width: 90%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 5%;
}
.gallery .imagesGallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(0.8rem, 2vw, 1.5rem);
  padding: 1rem;
  width: 100%;
}
.gallery .image-link {
  flex: 0 1 auto;
}
.gallery .imageG {
  width: clamp(80px, 15vw, 150px);
  position: relative;
}
.gallery .imageG img {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.2s ease;
}
.gallery .imageG:hover img {
  transform: scale(1.05);
}

@media screen and (min-width: 1200px) {
  .gallery .imagesGallery {
    max-width: 900px;
    gap: 2rem;
  }
  .gallery .imageG {
    width: clamp(120px, 12vw, 160px);
  }
  .footerblock {
    padding-bottom: 15%;
  }
}
@media screen and (max-width: 990px) {
  #wholeBlock {
    display: block;
  }
  #news {
    width: 100%;
  }
  #Block2 {
    width: 100%;
  }
  #addData {
    display: flex;
  }
  #second-sec {
    display: block;
  }
  #secondType {
    display: block;
    border-bottom: 1px solid lightgrey;
    margin-top: clamp(2px, 1px + 10vw, 15px);
    margin-bottom: clamp(2px, 1px + 10vw, 15px);
  }
  #newsBlocks {
    width: 100%;
    display: block;
  }
  .container .card {
    width: 100%;
  }
  input[type=radio]:checked + label {
    width: 100%;
    min-height: 700px;
  }
  .wrapper {
    width: 70%;
  }
  .card .row {
    display: block;
  }
}
@media screen and (max-width: 768px) {
  .overlay-content {
    margin-top: 10vh;
    gap: 1rem;
  }
  .gallery {
    margin-top: clamp(1.5rem, 4vh, 3rem);
  }
  .gallery .imagesGallery {
    gap: clamp(0.6rem, 1.5vw, 1.2rem);
  }
  .gallery .imageG {
    width: clamp(70px, 18vw, 120px);
  }
  #nav-lists {
    display: none;
  }
  .footerblock {
    padding-bottom: 15%;
    gap: 5px;
  }
  .nav-list2 .highl, .nav-list1 .highl {
    font-size: 10px;
  }
  .nav-list2 a, .nav-list1 a {
    font-size: 13px;
  }
  footer #logo2 {
    width: 60%;
  }
  footer {
    padding-bottom: 20%;
  }
  #weather :not(#city), #stock-data :not(#symbol) {
    font-size: 13px;
  }
}
@media screen and (max-width: 600px) {
  .logo-container {
    float: left;
    position: absolute;
  }
  #lightDark {
    position: absolute;
    right: 0;
    margin-right: 9%;
  }
  #search {
    position: absolute;
    right: 0;
    margin-top: 9px;
  }
  header .horizontal_line {
    padding-bottom: 7%;
  }
  #weather :not(#city), #stock-data :not(#symbol) {
    font-size: 13px;
  }
  footer {
    padding-bottom: 20%;
  }
  .nav-list2 .highl, .nav-list1 .highl {
    font-size: 10px;
    padding-left: 60%;
    margin-top: 65px;
  }
  .nav-list2 a, .nav-list1 a {
    font-size: 13px;
    padding-left: 60%;
  }
}
@media screen and (max-height: 500px) {
  .overlay {
    overflow-y: auto;
  }
  .overlay-content {
    margin-top: 5vh;
    gap: 0.5rem;
  }
  .overlay a {
    font-size: clamp(16px, 3vw, 20px);
    padding: 4px;
  }
  .overlay .closebtn {
    top: 10px;
    font-size: clamp(32px, 6vw, 40px);
  }
  .gallery {
    margin-top: 1rem;
  }
  .gallery .imagesGallery {
    gap: 0.5rem;
    padding: 0.5rem;
  }
  .gallery .imageG {
    width: clamp(60px, 18vw, 90px);
  }
}
@media screen and (max-width: 480px) {
  .overlay-content {
    margin-top: 100px;
    gap: 0.1rem;
  }
  .overlay a {
    height: 90px;
    font-size: 17px;
  }
  .gallery {
    margin-top: clamp(1rem, 3vh, 2rem);
    width: 95%;
    padding-top: 15%;
  }
  .gallery .imagesGallery {
    gap: clamp(0.5rem, 1vw, 0.8rem);
    padding: 0.5rem;
  }
  .gallery .imageG {
    width: clamp(65px, 20vw, 100px);
  }
  .footerblock {
    padding-bottom: 20%;
    gap: 5px;
  }
  .nav-list2 .highl, .nav-list1 .highl {
    font-size: 10px;
    padding-left: 60%;
    margin-top: 65px;
  }
  .nav-list2 a, .nav-list1 a {
    font-size: 13px;
    padding-left: 60%;
  }
  footer #logo2 {
    width: 80%;
  }
  footer {
    padding-bottom: 20%;
  }
  .logo-container #logo {
    width: 60%;
    margin: 0;
  }
  #lightDark {
    position: absolute;
    right: 0;
    margin-right: 12%;
  }
  #search {
    position: absolute;
    right: 0;
    margin-top: 9px;
  }
  header .horizontal_line {
    padding-bottom: 10%;
  }
  body {
    margin: 20px;
  }
  #weather :not(#city), #stock-data :not(#symbol) {
    font-size: 15px;
  }
  #wholeBlock {
    display: block;
  }
  #news {
    width: 100%;
  }
  #news #options {
    font-size: small;
    padding-inline: 5px;
  }
  #Block2 {
    width: 100%;
  }
  #addData {
    display: flex;
  }
  #second-sec {
    display: block;
  }
  #secondType {
    display: block;
    border-bottom: 1px solid lightgrey;
    margin-top: clamp(2px, 1px + 10vw, 15px);
    margin-bottom: clamp(2px, 1px + 10vw, 15px);
  }
  #newsBlocks {
    width: 100%;
    display: block;
  }
  .container .card {
    width: 100%;
  }
  input[type=radio]:checked + label {
    width: 100%;
    min-height: 700px;
  }
  .wrapper {
    width: 70%;
  }
  .card .row {
    display: block;
  }
}/*# sourceMappingURL=style.css.map */