.page {
  width: 100%; /* Set the width to 100% */
  display: flex; /* Use flexbox */
  justify-content: center; /* Center the contents horizontally */
  flex-direction: column;
}


.header-ticker {
  color: #d1d3d7;
  text-align: center;
  background-color: black;
  padding: 0.8rem 0;
}

.header-ticker .categorie {
  color: blue;
}

.categorie{
  display: flex;
  align-items: end;
  
}

.categorie img {
  max-width: 100%;
  height: 2em;
  margin-right: 5px;
} 

body {
  background-color: white;
  color: #d1d3d7;
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  height: 100vh;
  font-family: 'Kelvetica-Nobis';
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.clickable:hover {
  cursor: url('/cursor/cursor.cur'), auto;
}

.categories {
  width: 100%;
  text-align: center;
  background-color: #efefef;
  border-bottom: 2px solid #c4c4c4;
  height: min-content;
  font-size: large;
  font-weight: 400;
  border-top: 8px solid #fcbe04;
  border-bottom: 1% solid #d1d3d7;
  line-height: 1;
  padding: 0 0 2vh;
}

.categories ul {
  display: flex;
  list-style: none;
  justify-content: space-between;
  padding: 0;
  white-space: pre-line;
  line-height: 1;
  font-weight: 500;
  align-items: center;
}

.categories li {
  height: 100%; /* Set the height to 100% */
  display: flex; /* Use flex display */
  align-items: center; /* Center items vertically */
}

.favSites {
  display: flex;
  gap: 30px;
}

.favSitesWrapper{
  margin-bottom: 10px;
}

.image-wrapper {
  background-color: #02728e;
  border-top: 4px solid #fcbe04;
  flex: 1;
  padding: 10px;
}

.image-wrapper img {
  float: left;
  width:  100%;
  height: calc(100% - 20px);
}

.image-wrapper h4 {
  margin: 0;
  color: white;
  text-align: center;
}


.favSites a, .favSites a:visited, .favSites a:active, .favSites a:hover {
  text-decoration: none;
  color: white;
}

.thumbnail {
  height: calc(100% - 10px);
}

.favSites .site {
  flex: 1;
  margin-right: 10px; /* Adjust as needed */
}

.favSites .site:last-child {
  margin-right: 0;
}

div#\32 {
  margin-right: 0;
}


.otherSites {
  margin: 10px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  /* Adjust the width of the grid */
  margin: 0 auto;
  /* Center the grid */
  margin-top: 10px;
}

.site img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.header2 {
  background-color: #498bc2;
  color: white;
}

.header-ticker h6 {
  margin: 0;
}

.weather {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-direction: row;
}

.weather .info {
  border-right: 5px solid white;
  margin: 10px;
  padding: 0 10px;
  display: flex;
  flex-direction: column  ;
  align-items: flex-end;
}

.weather h1 {
  margin: 0;
  line-height: 1;
}

.search {
  display: flex;
  align-items: stretch;
  padding: 10px 0;
  font-size: x-large;
  font-weight: 700;
  gap: 5%;
  height: 8vh;
}

.search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 8px;
  border-radius: 5px;
  /* Increase the margin to create more space between input and button */
  height: 100%;
}

.search button {
  background-color: #02728e;
  color: #ffffff;
  border: none;
  padding: 8px 4%;
  border-radius: 5px;
  cursor: pointer;
  height: 100%;
  line-height: 1;
}

.mail {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  margin-left: 5%;
  margin-right: 20%;
}

.mail h5 {
  margin: 0;
  line-height: 1;
}

.mail .inbox {
  border-right: 3px solid white;
  margin: 0 10px;
  padding: 0 10px;
}

.mail i {
  margin-right: 5px;
  line-height: 1;
}

.compose {
max-height: fit-content;
}

.topNav {
  align-items: center;
  display: flex;
  justify-content: space-between;
  background-color: #498bc2;
  color: white;
  padding: 10px 0;
}

.categories ul,
.favSites,
.search,
.otherSites,
.navContents,
.topNav,
.botNav {
  width: 1200px; /* Set the width of the content */
  margin: 0 auto;
} 