html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
body {
    font-family: Arial, sans-serif 14px;
    color: black;
    display: flex;
    flex-direction: column;
    text-align: center;
}
footer {
    background-color: #D69A2D;
    padding: 10px;
    text-align: center;
    width: 100%;
    margin-top: auto; 
    border-top: 2px solid orange;
    border-bottom: 2px solid orange;
}
header {
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: #D69A2D;
    border-bottom: 2px solid orange;
    flex-wrap: wrap;
    align-items: center;
}
header img {
    height: 50px;
}
.aws-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}
.aws-bar a{
    color: black;
}
nav a:hover {
    color: #4169E1;
}
h1 {
    margin: 20px 0;
    color: black;
    text-shadow: 2px 2px 5px #F6C28B;
}
.courses {
    display: flex;
    flex-wrap: wrap;
    /* align-items: center; */
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 20px;
}
.course {
    width: 90%;
    max-width: 250px;
    padding: 15px;
    border: 2px solid #f4f4f4;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}
.course:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
    background-color: #ADB4BF ;
    border-color:  #D69A2D;
}
.course img {
    width: 100px;
    height: auto;
    object-fit: cover;
}
.course button {
    margin-top: 10px;
    padding: 10px 15px;
    color: black;
    border-color: black;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}
.course button {
    background-color: transparent;
    border-color:#0077cf;
}
button:hover {
    border: transparent;
}
.cart {
    display: flex;
    align-items: center;
    position: fixed;
    top: 10px;
    right: 20px;
    background-color: #fff;
    border: 2px solid #007bff;
    border-radius: 30px;
    padding: 5px 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.cart img {
    width: 25px;
    height: auto;
    margin-right: 10px;
}
.cart span {
    font-weight: bold;
}
footer a {
    margin: 0 10px;
    text-decoration: underline;
    color: black;
}
footer a:hover {
    text-decoration: underline;
    color: #4169E1;
}
/* Pop */
.modal {
    display: none; 
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}
.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 20px;
    border: 2px solid orange;
    width: 35%;
    height: 20%;
    /* overflow: auto; */
}
.modal-content button {
    background-color: transparent;
    border-color:#0077cf;
}
.close {
    color: #aaa;
    font-size: 16px;
    font-weight: bold;
    position: absolute;
    top: 10px; 
    right: 20px;
}
.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
button {
    padding: 10px;
    margin: 5px;
}
/* Toast Notification */
.toast {
    visibility: hidden;
    min-width: 250px;
    background-color: #ADB4BF;
    color: black;
    text-align: center;
    padding: 10px;
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.5s, visibility 0.5s;
    z-index: 1000;
}
.toast.show {
    visibility: visible;
    opacity: 1;
}
/* Responsive design for smaller screens */
@media (max-width: 768px) {
header {
    flex-direction: column;
    align-items: center;
    padding: 15px;
}
.aws-bar {
    flex-direction: column;
    gap: 10px;
} 
.cart {
    position: relative;
    top: 0;
    right: 0;
    margin-top: 10px;
}
.courses {
    flex-direction: column;
    align-items: center;
} 
.course {
    width: 80%;
}
footer {
    font-size: 12px;
    padding: 5px;
}
}
/* For very small screens */
@media (max-width: 480px) {
.course {
    width: 95%;
}  
footer {
    text-align: center;
    font-size: 10px;
  }
}
.title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 120px; 
}

h1 {
    margin: 20px 0;
    color: black;
    text-shadow: 2px 2px 5px #F6C28B;
    text-align: center;
}

.back-link {
    font-size: 50px; 
    font-weight: bold;
    text-decoration: none;
    color: black; 
}

.back-link:hover {
    color: #0077cf; 
}