* {
    box-sizing: border-box;
}
body {
    margin: 0;
    font-family: "Helvetica", sans-serif;
    background-image: url(background-image.svg);
    background-size: auto;
    background-repeat: no-repeat;
    padding-top: 56px;
}

.content {
    padding: 11px;
}

.space-between {
    margin-top: 30px;
}

.navbar-light {
    background-color: #e2e2e2 !important;
}

.navbar-nav li a {
    color: #09499c !important;
    font-weight: 500 !important;
    float: right;
    display: block;
    padding: 5px;
}

.navbar-nav li a:hover {
    color: black !important;
    font-weight: 700 !important;
    padding: 5px;
}

.search-container {
    /*margin: 30px;*/
    margin-top: 30px;
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: center;
    background-color: #45a1de;
    padding: 10px;
    padding-left: 20px;
    box-sizing: border-box;
    border: 0px;
}

.search-label {
    font-size: 40px;
    color: #09499c;
    text-align: left;
    width: 100%;
    font-weight: bold;
    margin-bottom: 5px;
}

.text-under-label {
    font-size: 25px;
    color: #000000;
    text-align: left;
    width: 100%;
    margin-bottom: 10px;
}

.search-wrapper { /*search bar*/
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    transition: transform 250ms ease-in-out;
    font-size: 20px;
    padding: 12px 24px;
    padding-top: 5px; /*space ontop of "campus directory" box*/
    width: 100%;
    max-width: 600px;
}

input[type=search] { /*search bar container box style*/
    width: 80%;
    padding: 20px 20px;
    margin: 8px 0;
    box-sizing: border-box;
    border: 3px solid #ccc;
    border-radius: 40px; /*roundness of border*/
    -webkit-transition: 0.5s; 
    transition: .5s; /*delay out/in focus transition*/ 
}

input[type=search]:focus {
    border: 3px solid #555;
}

::placeholder { /*placeholder style*/
    color: rgba(92, 92, 92, 0.423);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 20px;

}

input {
    font-size: 20px;
    padding: 12px, 24px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px 40px; /* vertical and horizontal spacing between cards */
    justify-content: center;
    padding: 40px;
    margin: 0 auto;
    max-width: 1600px;
}

.card-wrapper {
    display: flex;
}

.card {
    display: flex;
    flex-direction: column;
    padding: 15px;
    min-height: 550px;
    max-width: fit-content;
    height: 100%;
    color: #555;
    background-color: #ffffff;
    font-size: 16px;
    border-radius: 10px;
    transition: 0.3s;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}

.card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card:hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.31);
}

.card-img {
    display: flex;
    width: 500px;
    height: 275px;
    object-fit: cover;
}

.card-button {
    display: block;
    float: left;
    background-color: #09499c;
    color: #ffffff;
    padding: 8px;
    font-size: 18px;
    width: 49%;
    text-align: center;
    cursor: pointer;
    border: none;
    border-radius: 2px;
    outline: 0;
    margin: 1px;
}

.mt-auto {
    background-color: #09499c;
    color: #e2e2e2;
    width: 100%;
    gap: 5px !important;
    margin-bottom: -20px;
    margin-top: auto;
}

h1, h2, h3, h4, h5, h6, h7, h8, h9, h10, h11, h12 {
    font-size: 20px;
    font-weight: bold;
    color: #000000;
    margin: 1px;
}


.highlight {
    background-color: rgba(97, 97, 97, 0.279);
    border-radius: 3px;
}

.card-button:hover {
    opacity: 0.95;
}

.container {
    padding: 2px 16px;
}

.hide {
    display: none;
}

#search-bar {
    margin-top: 20px;
}
input[type="text"] {
    padding: 8px;
    width: 250px;
}

