@font-face {
    font-family: 'Song';
    src: url('../fonts/songersemiexpanded_heavy.otf') format('opentype');
    /* font-weight: normal;
    font-style: normal; */
}

@font-face {
    font-family: 'Gil';
    src: url('../fonts/Gilroy-Light.otf') format('opentype');
}
::-webkit-scrollbar {
  width: 10px;
  background-color: #a9b79c;
}

::-webkit-scrollbar-thumb {
  background-color: #3a574237;
}

::-webkit-scrollbar-track {
  background-color: #a9b79c;
}

body {
    margin: 0px;
    padding: 0px;
    font-family: 'Song', Arial, sans-serif;
    background-color: #D2DBC9;
    color: #3A5742;
    z-index: 1;
overflow-y: scroll;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* body > * {
    max-width: 1200px;
    margin: auto;
} */

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #a9b79c;
    padding: 15px 20px;
    height: 20px;
    margin-top: 0;
    font-family: 'Song';
}

.logo {
    /* background: #8fa184; */
    padding: 8px 15px;
    font-weight: bold;
}

.logo img{
    height: 40px;
    display: block;
}

.logo-block {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-name {
    letter-spacing: 1px;
}

.BigO{
    font-size: larger;
}

.nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #3A5742;
    font-weight: bold;
    padding: 4px 10px;
}

.nav button {
    margin-left: 20px;
    text-decoration: none;
    border: 0;
    color: #3A5742;
    background-color: #324b3a00;
    font-weight: bold;
    padding: 4px 10px;
    cursor: pointer;
}


.nav .active {
    border: 1px solid #324b3a;
    padding: 4px 10px;
}




.main {
    /* background-color: #d8d0b8; */
    position: relative;
    padding: 40px 20px;
    text-align: center;
    z-index: 1;
    flex: 1;
}
body::before{
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("../assets/Perlin\ \(contour\).png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-blend-mode: darken;


    /* width: 100%;
    height: 100%;
    left: 0;
    top: 0; */
    z-index: -1;
    opacity: 0.2;
}

.block{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;

    background: #a9b79c;
    padding: 0px 20px;
    margin: 60px auto;

    max-width: 1000px;
    /* border-radius: 8px; */
}

.TextBlock{
    max-width: 500px;
}

.TextBlock p{
    font-family: 'Gil';
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.Button{
    background: #a9b79c;
    color: #3A5742;

    border: none;
    padding: 12px 40px;

    font-family: 'Song';
    font-size: 16px;
    font-weight: bold;

    cursor: pointer;

    transition: 0.2s;
}

.Button:hover{
    background: #D2DBC9;
    /* transform: translateY(-2px); */
}

.image{
    width: 280px;
    height: auto;
}

.image#img2{
    width: 280px;
    height: 250px;
}

.create-btn {
    background: #a9b79c;
    border: none;
    padding: 10px 150px;
    font-weight: bold;
    margin-bottom: 40px;
    cursor: pointer;
    color: #3A5742;
    font-size: large;
}



.footer {
    display: flex;
    justify-content: space-between;
    background: #a9b79c;
    padding: 30px 20px;
    height: 100px;
    font-family: 'Gil';
}

/* @media (max-width: 800px) {

    .header {
        flex-direction: column;
        align-items: center;
        height: auto;
        gap: 10px;
    }

    .nav {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
        width: 100%;
    }

    .nav a {
        margin: 0;
        padding: 6px 10px;
    }

    .nav button {
        margin: 0;
        padding: 6px 10px;
    }

    .create-btn {
        width: 100%;
        max-width: 400px;
        padding: 12px;
    }

     .block{
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .TextBlock{
        max-width: 100%;
    }

    .image{
        width: 200px;
    }

    .Button{
        width: 100%;
        max-width: 250px;
    }

    .footer {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        height: auto;
    }
} */


.mobile .header {
    flex-direction: column;
    align-items: center;
    height: auto;
    gap: 10px;
}

.mobile .nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
}

.mobile .nav a {
    margin: 0;
    padding: 6px 10px;
}

.mobile .nav button {
    margin: 0;
    padding: 6px 10px;
}

.mobile .create-btn {
    width: 100%;
    max-width: 400px;
    padding: 12px;
}

.mobile .block {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
}

.mobile .TextBlock {
    max-width: 100%;
}

.mobile .image {
    width: 300px;
}

.mobile .Button {
    width: 100%;
    max-width: 250px;
}

.mobile .footer {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    height: auto;
}