@font-face {
    font-family: 'sarabun';
    src: url(static/Sarabun-Regular.ttf) format("truetype");
}

@font-face {
    font-family: 'sarabun bold';
    src: url(static/Sarabun-Bold.ttf) format("truetype");
}

.caveat-brush-regular {
  font-family: "Caveat Brush", cursive;
  font-weight: 400;
  font-style: normal;
}

html {
    height: 100%;
}

body {
    margin: 0px;
    padding: 0px;

    font-family: "sarabun";
    font-size: large;

    height: 100%;
}

h1 {
    font-family: "Caveat Brush", cursive;
    font-size: 37pt;
}

h2 {
    font-family: "Caveat Brush", cursive;
    font-size: 25pt;
}

b {
    font-family: "sarabun bold";
}

a {
    all: unset;
    cursor: pointer;
}

nav {

    display: flex;
    flex-direction: row;
    
    gap: 70%;

    justify-content: space-around;
    align-items: center;

    min-height: 10em;

    background-color: #ff8300;
    background-image: url("static/menu-bg.png");
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: 6.5em -3em;
}

nav>section {
    display: flex;
    flex-direction: column;
}

nav>section>a {
    color: #003a5d;
    font-size: x-large;
    font-family: "sarabun bold";
}

nav>section>a:hover {
    text-decoration: underline;
    text-decoration-color: #003a5d;
}

nav>section>p {
    font-size: x-large;
}

main {
    color: white;

    padding: 25px;
    background-color: #003a5d;

    min-height: 100%;
}

section {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

article {

    display: flex;
    flex-direction: column;
    justify-content: center;

    background-color: #ff8300;

    color: black;
    border-style: solid;
    border-radius: 25px;

    padding: 1em;
    margin: 0.5em;
}

article:hover {
    box-shadow: 10px 5px 5px black;
}

article>h2 {
    margin-top: 0px;
}

img {
    border-radius: 25px;
}

article.solo {
    height: auto;
    width: 25%;
}

.annonce {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

button {
    margin-top: 25px;
    padding: 10px;
    font-size: x-large;

    background-color: #ff8300;
    border: solid;
    border-color: black;
    border-radius: 15px;
}

button:hover {

    box-shadow: inset -3px -3px 3px black;
}

.connexion {
    display: flex;
    flex-direction: row;
    
    justify-content: space-evenly;

}

.connexion>section {
    display: flex;
    flex-direction: column;
    min-width: 25%;
}

hr {
    margin: 0px;
    border-color: white;
    border-style: solid;
    border-width: 1px;
}

form {
    display: flex;
    flex-direction: column;
}

footer {
    background-color: #ff8300;
    text-align: center;
    padding: 15px;
}