@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
/*@font-face {
  font-family: 'Roboto';
  src: url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
}
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.flex-item{
  display: flex;
  flex-direction: row;
  overflow-wrap: anywhere;
}

#hamburger{
  display: none;
}

.slider-content {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.slider {
    position: relative;
    width: 100%;
    height: 100vh; /* Adjust as needed */
    overflow: hidden;
    height: calc(100vh - 60px);
    top: 0;
    z-index: 1;
    box-shadow: #000000;
  }
  
  .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures images cover the entire slider */
    opacity: 0;
    transition: opacity 1s ease; 
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.4);
  }
  
  .slide.active {
    opacity: 1; /* Display active image */
  }
  

/* Basic styling */
body {
    font-family: Arial, sans-serif;
}

header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.3);
  position: fixed;
  z-index: 999;
  width: 100vw; /* Make the header take the full width of the screen */
  padding: .25vh 1.5vw; /* Adjust padding for better spacing */
}

/* If CSS styling is reused, please place the relevant rules in a shared class or definition like this.
   This makes modifying repeated styling easier. */

.button-login-header,
.button-register-header {
  padding: 1rem 2rem; /* Adjust padding for better button size */
  font-size: 1rem; /* Adjust font size for better readability */
  margin-right: 1rem; /* Reduce margin for better spacing */
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  cursor: pointer;
  transition: 0.15s ease-in-out;
}

.button-login-header {
    background-color: #92D050;
    position: relative;
    border:#F3F3F3;
    text-align: center;
    text-decoration:dotted;
    overflow: hidden;
    font-family: 'Roboto',sans-serif;
  }
  
  .button-login-header:hover {
    background-color: #62962a; /* Change background color to green on hover */
  }
  
.button-register-header {
  background-color:#1A76DC;
  color: #ffffff;
  border: 2px #F3F3F3;
  font-family:'Roboto', sans-serif;
}

.button-register-header:hover {
  background-color: #1d54a1; /* Change background color to dark blue on hover */
}

.slider-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white; /* Adjust text color as needed */
    z-index: 2; /* Ensure it's above the background */
    font-size: larger;
    font-family: 'Roboto',sans-serif;
}

.highlighted-blue {
  color: #1A76DC;
}

.highlighted-green {
    color: #92D050;
}

.logo-container {
  display: flex;
  align-items: center;
  margin-right: 1vw;
}

.logo-container img{
  max-height: 10vh; /* Adjust the height as needed */
  width: 10vw;
}
.logo{
  margin-right: 2vw; /* Add some space between the logos */
}

/* Adding flex to the nav div to allow for appropriate flex behaviour. */
div.navbar{
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  /* flex-grow to allow the menu to expand and shrink as needed. */
  flex-grow: 0;
  width: 100%;
}

a.navbar{
  position: relative;
  color: black;
  font-weight:800;
  text-decoration: none;
  font-size: 1.25em;
  font-family:'Roboto',sans-serif;
  font-style: normal;
  margin: 2.5vw;
}

a.navbar:hover {
  color: #92D050;
}

/* footer css not relevant, no footer in html, please remove if not in use */
footer {
  background-color:rgb(36, 33, 33);
    color: #ffffff;
    padding: 20px;
    text-align: center;
    box-shadow: 0px -5px 10px rgba(0, 0, 0, 0.5);
}

.box-section {
  display: flex;
  justify-content: space-around;
  background-color: rgba(31, 106, 181, 0.522);
}

.content-1 h1 {
  font-size: xx-large;
  color:white ;
  color: #fff;
  text-shadow:
    2px 2px 1px #000,
    -1px 2px 1px #000,
    -1px -1px 0 #000,
    1px -1px 0 #000;
  font-family: 'Roboto',sans-serif;
}

.content-2 {
  font-family: 'Roboto',sans-serif;
  font-size:300%;
  font-weight: 600;
}

.content-3 {
  text-align: center;
  font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  margin: 15px;
  font-size:120%;
  font-weight:500;
  color: white;
  font-style: italic;
  color: white;
  -webkit-text-stroke: 0 #F8F8F8;
  text-shadow: 0px 1px 7px #23430C;
  font-family: 'Roboto', sans-serif;
}
.highlighted-text4 {
  color:#1A76DC ;
}

.icon{
  display: none;
}
/* simplification of bottom button CSS into one class as all attributes are shared between buttons */
.bottom-buttons{
  border: none;
  background-color: inherit;
  padding: 14px 28px;
  cursor: pointer;
  margin-inline-start: 0;
  width: 25vw;
  color: #ffffff;
  font-weight: 800;
  font-family: "Roboto",sans-serif;
  font-size: larger;
  font-style: italic;
}

/* On mouse-over */
.bottom-buttons:hover {background: #5cbb3f;}

/* I have moved this CSS to the bottom as I believe these are not relevant to the homepage.
   (This is the CSS for your POT page, right?)  */
/* CSS */
.button-74 {
  background-color: white;
  border: 2px solid rgb(153, 187, 222);
  border-radius: 30px;
  box-shadow: rgb(139, 172, 205) 4px 4px 0 0;
  color: #422800;
  cursor: pointer;
  display: inline-block;
  font-weight: 600;
  font-size: 18px;
  padding: 0 18px;
  line-height: 50px;
  text-align: center;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  margin-right: 0px;
  height: 50px;
  margin-top: 50px;
}

.button-74:hover {
  background-color: #d4e4c3;
}

.button-74:active {
  box-shadow: #422800 2px 2px 0 0;
  transform: translate(2px, 2px);
}

@media (min-width: 768px) {
  .button-74 {
    min-width: 120px;
    padding: 0 25px;
  }
}

.Pot-Button {
  display: flex; /* Use flexbox layout */
  justify-content: flex-end; /* Align items to the right */
  height: 100px;
  background-color: #c3bbbb;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.4);
}
.Pot-Button h2 {
    align-self: flex-start;
    margin-right: auto;
    margin-left: 40px; 
    margin-top: 32px;
}

/* mobile styling */
#hamburger{
  display:none;
}
.hidden{
  visibility: hidden;
}

@media (max-width: 800px) {
  header{
    align-items: center;
    justify-content: center;
  }
  header.active{
    background-color: #1A76DC6c;
  }
  .logo-container{
    flex-direction: row;
    justify-content: center;
    row-gap:1vh;
    .logo {
      margin:0;
    }
    img{
      width:20vw;
    }
  }
  div.navbar{
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .buttons{
    display: flex;
    flex-direction: column;
    row-gap: 1vh;
    column-gap: 1vw;
  }

  .bottom-buttons{
    display: block;
    width: 100vw;
  }
  .box-section{
    flex-direction: column;
  }
  .slider{
    height: 100vh;
  }
  .content-1 h1, .content-2, .content-3{
    font-size: 1em;
  }

  .button-login-header,
  .button-register-header {
    padding: .5rem 1rem;
    font-size: 1rem; 
    margin-right: 1rem; 
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    cursor: pointer;
    transition: 0.15s ease-in-out;
    margin-right: 0.25vw;
    font-weight: bolder;
  }
  .buttons{
    margin-bottom: 1vh;
  }
  #hamburger{
    display: inline;
    margin: 0.125em;
  }
  #hamburger.active{
    color: #050505;
  }
  .mobile-menu-items{
    display: none;
  }
}

