@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');
:root {
    --ff-red: #d90540;
    --ff-yellow: #f3cc02;
    --ff-orange: #f4a105;
    --ff-green: #97c004;
    --ff-brightred: #f43002;
}

* {
    font-family: Quicksand;
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
}

/* content inside containers in main */
main > * *, header>*, footer>*, .sponsors>*{
    max-width: 1080px;
    margin: 0 auto;
}

h1, h2, h3 {
    text-align: center;
    font-weight: lighter;
}
*::first-letter {
    text-transform: capitalize;
}
h1 {
    font-size: 3rem;
}
h2 {
    font-size: 2rem;
}
h3 {
    font-size: 1.5rem;
}
h1:first-child { /*itll hit all h1 but the first one as it comes after the logo*/
    padding: 2rem;
}

main li:first-child .bgc-text {
    background-color: var(--ff-red);
}
main li:nth-child(2) .bgc-text {
    background-color: var(--ff-yellow);
}
main li:nth-child(3) .bgc-text {
    background-color: var(--ff-orange);
}
main li:nth-child(4) .bgc-text {
    background-color: var(--ff-green);
}
main li:nth-child(5) .bgc-text {
    background-color: var(--ff-brightred);
}
main li:nth-child(6) .bgc-text {
    background-color: var(--ff-orange);
}
main li:nth-child(7) .bgc-text {
    background-color: var(--ff-red);
}
main li:nth-child(8) .bgc-text {
    background-color: var(--ff-green);
}
.bgc-text {
    padding: 5px;
    color: white;
}
a, .guests img {
    transition: 500ms;
}
a:hover:not(header a) {
    text-decoration: underline;
}

header, nav {
    height: 60px;
}
nav {
    display: flex;
    width: max-content;
}
nav a {
    display: flex;
    align-items: center;
    padding: 0 2rem;
    font-size: 1.3rem;
    color: black;
}
nav a:hover {
    color: white;
    background-color: var(--ff-green);
}


.welcome {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 600px;
    background-image: url(/food-festival-materialer/img/bg-image.jpg);
}
.welcome *{
    display: block;
    background-color: var(--ff-red);
    width: fit-content;
    padding: .5rem;
    color: white;
}
.logo {
    width: 160px;
}
.welcome h1 {
    font-size: 3.5rem;
}
.welcome h3 {
    font-size: 1.7rem;
}


.guests {
    background-color: whitesmoke;
    padding: 5rem 0;
    padding-top: 0;
}
.guests ul {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin: auto;
}
.guests li {
    font-size: medium;
    text-align: left;
    background-color: white;
    overflow: hidden;
}
.guests .bgc-text,
.person {
    position: relative;
    z-index: 2;
}
.person {
    padding: 10px;
    background-color: white;
}
.person p:first-child {
    font-weight: 500;
}
.guests img:hover {
    transform: scale(1.2);
    
}


.schedule {
    display: flex;
}
.schedule h3{
    text-align: left;
    font-size: 1.3rem;
}
.sat-program,
.sun-program {
    display: flex;
    flex-direction: column;
    width: 35%;
}
[class*="program"] ul {
    width: 100%;
    padding: 2rem 0;
}
[class*="program"] li{
    height: 80px;
}
.time  {
    display: flex;
    justify-content: center;
    align-items: center;
    float: left;
    height: 60px;
    aspect-ratio: 1;
    border-radius: 50%;
    margin-right: 10px;
}

footer {
    padding-bottom: 4rem;
}
footer, footer a {
    background-color: var(--ff-green);
    color: white;
}
footer h2, footer p {
    text-align: left;
}
.footer-section {
    display: flex;
    margin-bottom: 5rem;
}
.footer-section > * {
    width: 100%;
}
.footer-section h2 {
    margin-bottom: .5rem;
    font-weight: 500;
}
.contact-us, .order-ticket{
    line-height: 1.5em;
}
.order-ticket a {
    font-weight: 600;
}
.ticket-button {
    text-align: center;
}
.ticket-button a {
    padding: 1rem 3rem;
    background-color: #00000030;
    border-radius: 3rem;
    font-size: larger;
}
.ticket-button a:hover {
    background-color: #00000090;
}


.sponsors {
    color: var(--ff-green);
    background-color: rgb(78, 78, 78);
    padding-bottom: 5rem;
}
.sponsors ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}
.sponsors li {
    display: flex;
    background-color: white;
    padding: .5rem;
}
.sponsors li img {
    max-height: 100px;
    max-width: 150px;
}
.sponsors li:nth-child(2) {
    background: none;
}


