body {
    font-family: 'Roboto', sans-serif !important;
}

.portfolio-header {
    display: block ;
    background: #9427ee;
    color: #000;
    padding: 8px;
    border: 2px solid #000;
    z-index: 2000;
}

.portfolio-link {
    color: #000 !important;
    font-size: 1.2em !important;
}

.dark-mode {
    background-color: rgb(63, 62, 62);
    color: white; 
    .modal-content {
        background-color: rgb(63, 62, 62);
    }
}

h1 {
    color: rgb(137, 84, 187);
    text-align: center;
    margin: 0;
    padding: 0;
}

h2 {
    color: rgb(171, 105, 233);
}

.logo {
    width: 20%; 
    height: auto; 
    margin-left: 40%; 
}

/* ARROW CODE BORROWED FROM https://codepen.io/Niobe_Codes/pen/jWoEWb with edits */

.arrowed {
	margin: 10px 20px 20px 20px;
}

.back-arrow {
    font-size: 1.2em;
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 5px;
}

.arrow-1 {
	height: 15px; 
    width: 15px;
	border: 1px solid white;
	border-width: 3px 3px 0 0;
	transform: rotate(225deg);
}

.hamburger-button {
    position: absolute;
}

.summary_container {
    width: 60%;
}

.summarycards {
    width: 25%;
    padding: 10px;
    border-radius: 10px;
    position: relative;
}

.homecards {
    display:block;
    text-decoration: none;;
}

.product-image {
    height: 200px;
    display: block;
    margin: auto;
}

.product {
   padding: 10px;
    margin: 7px;
    border-radius: 10px;
}

.edit-button {
    position: absolute;
    top: 10px;
    right: 10px;
}

.logging-buttons {
    margin: 5px 2px;
}
  
/* Styles for the Modal */
.modal {
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Modal Content Box */
.modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    text-align: center;
    position: relative;
}

/* Close Button */
.closeLogin {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
}

.closeLogout {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
}

/* Input Fields */
.loginInput {
    width: 100%;
    padding: 8px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#signup {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

#signupForm {
    width: 80%;
}

#edit {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
#editForm {
    width: 80%;
}

#conditions {
    tr td {
    margin: 10px;
    padding: 5px;
    }
}

.signupInput {
    width: 70%;
    padding: 8px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Submit Button */
#loginButton {
    background-color: blueviolet;
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
    width: 100%;
    border-radius: 5px;
}

#signupButton {
    background-color: blueviolet;
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
    width: 70%;
    border-radius: 5px;
}

#mealType {
    width: 30%;
}


/* LIGHT/DARK MODE TOGGLE */
/* box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
  }
  
  /* Hide default HTML checkbox */
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  /* slider */
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  input:checked + .slider {
    background-color: blueviolet;
  }
  
  input:focus + .slider {
    box-shadow: 0 0 1px blueviolet;
  }
  
  input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
  }
  
  /* Rounded sliders */
  .slider.round {
    border-radius: 34px;
  }
  
  .slider.round:before {
    border-radius: 50%;
  }

  

@media (min-width: 600px) {
    .hamburger-button {
        display: none;
    }
}