* {
    margin: 0;
}

body {
    background-color: #f6f5ef;
    font-family: 'Times New Roman', Times, serif;
}

main {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    border-bottom: 1px solid black;
    text-align: center;
    padding: 24px;
}

footer {
    border-top: 1px solid black;
    text-align: center;
    padding: 24px;
    font-size: 14px;
}

hr {
    border: 0.5px solid black;
}


h1 {
    font-size: 64px;
    font-weight: normal;
}

h2 {
    font-size: 48px;
    font-weight: normal;
}

.titleContainer{
    border-bottom: 1px solid black;
    text-align: center;
    padding: 24px;
}

#timeDisplay{
    font-size: 108px;
}

#pageContainer {
    flex: 1;
    display: flex;
}

#pageContainer > section {
    flex: 1;
}

#focacciaImageContainer {
  display: flex;
  justify-content: center;
}

#focacciaImage {
    background-color: green;
}

#timerContent {
    padding: 48px 24px 48px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex: 1;
}

#recipeContent {
    padding: 32px 24px 48px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 850px;
}

#recipeContainer {
    display: flex;
    flex-direction: column;
}

/* ACCORDION */

.accordion {
    border-bottom: 1px solid black; 
    font-size: 16px;
}

.accordion-header{
    padding: 16px 0px 16px 4px;
    cursor: pointer;
    
}

/* Style the header text when open */
.accordion[open] .accordion-header {
  font-weight: bold;

}

/* Style the content container inside the open accordion */
.accordion[open] .accordion-content {
  padding: 0px 16px 16px 16px;
}

.accordion-header:hover {
    background-color: #FFE668;
    font-style: italic;
}

#lastAccordion{
    border-bottom: none;
}

a {
    color: black;
    text-decoration: underline dotted;
    text-underline-offset: 3px;

}


a:hover {
   
    text-decoration: solid;
}


span:hover{
    background-color: #FFE668;
    text-decoration: underline solid;
    font-style: italic;
    text-underline-offset: 3px;
}

button {
    font-size: 16px;
    font-family: 'Times New Roman', Times, serif;
    background-color: #f6f5ef;
    border: 1px solid black;
    padding: 8px 12px 8px 12px;
    cursor: pointer;
    width: 132px;
    min-height: 44px;
    min-width: 44px;
}

button:hover {
    background-color: #EAEAEA;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
    outline: 3px dashed #111111;
    outline-offset: 3px;
}

#buttonContainer {
    display: flex;
    justify-content: center;
    gap: 8px;
}

#currentStepContainer{
    font-size: 16px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

#focacciaMediaContainer {
    
}

/* making video responsive */
#focacciaAnimation {
    width: 100%;
    max-width: 264px;
    height: auto;
    object-fit: cover;
}

#recipeImageContainer {
    margin-top: auto;
    display: flex;
    justify-content: flex-end;
}
    
#recipeImageContainer img {
    width: 100%;
    max-width: 350px;
    height: auto;
}

#timerImageContainer {
    margin-top: auto;
    display: flex;
    justify-content: left;
    padding: 32px 0px 48px 24px;
}

.illo {
    width: 264px;
    height: 264px;
}

#timerContainer {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* BREAKPOINTS */
/* Start stacking */
@media (max-width: 900px) {
    #pageContainer {
        flex-direction: column;
    }

    hr {
        width: 100%;
    }
}

/* Phone screen sizes */
@media (max-width: 600px) {

    h1 {
        font-size: 42px;
    }

    h2 {
        font-size: 32px;
    }

    #timeDisplay {
        font-size: 72px;
    }

    #buttonContainer {
        flex-wrap: wrap;
    }

    #focacciaAnimation {
        width: 100%;
        max-width: 264px;
        height: auto;
    }

    #timerContent {
        padding: 24px 16px;
    }
    #recipeContent {
        padding: 24px 16px;
        min-height: auto;
    }

   
}