*,
*::after,
*::before {
    box-sizing: border-box;
}



@font-face {
    font-family: "Polaroid";
    src: url("../polaroid-script.otf") format("opentype");

}



@font-face {
   font-family: "Leorio";
    src: url("../leorio.ttf") format("truetype");
}

:root{
    --main-color: #D7AD7B;
    --second-color: #fff8f8;
    --bg-color: #152842;
    
}


h1, h2, h3{
     font-family: Polaroid, sans-serif;
}

body {
    background-color: var(--bg-color);
    justify-content: center;
    margin: 0%;
    overflow-x: hidden;
   
    font-family: Leorio, serif;
}



.page {

    border: var(--main-color) solid 1px;
    border-radius: 25px;
    padding: 5px 10px;


}


nav{
    width: 500px;
    height: fit-content;
}

@media (max-width: 800px){
 nav{

    width: 300px;
    height: fit-content;
}}

nav ul {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px;
    margin: 0;

}

nav a {
    font-size: 1.3rem;
    text-decoration: none;
    color: var(--second-color);
}


nav a:hover {
    transition: all ease-in-out 0, 9s;
    color: var(--main-color);
}


header {

    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    justify-content: space-evenly;
    align-items: flex-end;
}

h1 {
  
    color: var(--main-color);
    font-style: italic;
    font-size: 6em;
    margin: 0;
    align-self: center;
    

}



footer {
    
    background-color: var(--main-color);
    color: var(--bg-color);
    padding: 60px 10% 40px; 
    display: flex;
    flex-wrap: wrap; 
    justify-content: space-between;
    gap: 40px;
    margin-top: auto;
}

.footer-group p {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--bg-color);
    display: inline-block;
    padding-bottom: 5px;
}

.footer-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-group li {
    margin-bottom: 12px; 
}

.footer-group a {
    font-size: 1rem;
    text-decoration: none;
    color: var(--bg-color);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-group a:hover {
    opacity: 1;
    padding-left: 8px; 
    color: var(--second-color); 
}
   
