﻿@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;1,700&display=swap");

:root {
    --primary-color: #3d3933;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: "Poppins", sans-serif;
}

body {
    overflow: auto;
}

.background {
    position:absolute;
    background-image: url(Images/bg.jpg);
    background-size:cover;
   background-repeat:no-repeat;
    width:100%;
    height:100%;
    top: 0;
    left: 0;

}

.nav-header {
    height: 100px;
    width: 100%;
    background-color: white;
    color: black;
    padding: 10px 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 7px solid var(--primary-color);
    border-bottom: 7px solid var(--primary-color);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}

.brand {
    font-size: 2rem;
    font-weight: bold;
    position: absolute;
    margin-top: 10px;
}

    .brand img {
        width: 150px;
        height: 60px;
    }

.nav-header a {
    color: black;
    font-size: 1.5rem;
    text-decoration: none;
}

.nav-header a {
    font-weight: bold;
}

.links {
    list-style-type: none;
    display: flex;
    justify-content: space-between;
    max-width: 1000px;
    width: 600px;
}



.star-cards {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    height: 50vh;
    width: 70vw;
    margin-top: 50px;
    z-index: 2;
}

/* .star-cards a {
        margin-right: 50px;
    }*/

.star-card {
    /*display: flex;*/
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 220px;
    width: 280px;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
    margin-right: 50px;
}

.star-card-header {
    background-color: var(--primary-color);
    width: 100%;
    height: 55px;
    color:white;
    text-align: center;
    text-transform: capitalize;
    padding: 5px 20px;
    white-space: nowrap;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
}

.star-card-body {
    background-color: white;
    width: 100%;
    text-align: center;
    text-transform: capitalize;
    padding: 5px 20px;
    color: black;
    height: 110px;
    font-size: 1.3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.star-card-footer {
    background-color: var(--primary-color);
    width: 100%;
    color: white;
    text-align: center;
    padding: 5px 20px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    min-height: 1.5rem;
    height: 50px;
}

/* resizing */

@media (max-width: 768px) {
    body {
        overflow-y: scroll;
    }

    .brand {
        left: 0;
    }

    .star-cards {
        margin-top: 100px;
        height: auto;
    }

    .links {
        flex-direction: column;
        background-color: black;
        margin-top: 73px;
        align-items: center;
        justify-content: center;
        width: 100vw;
    }
}

/* Utilities */

.flex {
    display: flex;
}

.flex-center {
    justify-content: center;
    align-items: center;
}

.flex-column {
    flex-direction: column;
}
