body{
    font-family: 'montserrat';
}
header {
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    height: 9vh;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 10px #00000010;
}

header .mobile-container {
    display: none;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1.2vh 4vw;
}

header .mobile-container img {
    width: 30%;
}

header .mobile-container .burger {
    width: 10%;
    cursor: pointer;
    /*useless for phones lol */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 2vh auto;
}

.nav-links {
    list-style: none;
}

.nav-links a,
.nav-links button {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 1px;
    transition: color 0.3s;
    text-transform: uppercase;
    font-size: 0.9em;
    background: none;
    border: 0px;
    cursor: pointer;
}

.nav-links *:hover {
    color: var(--hr);
}

.external-links,
.external-links a,
.nav-links {
    gap: 1.7vw;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.external-links a {
    width: fit-content;
}

nav img {
    width: 30px;
    border-radius: 25%;
    transition: .4s;
}

nav img:hover {
    transform: scale(1.1);
}

main {
    margin-top: 9vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.accueil {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    margin: 0;
}

.patates {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0;
    width: 100%;
}

.patates .wrapper{
    overflow:hidden;
}

.patates img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1/1;
    transition:.4s;
    object-fit: cover;
}
.patates img:hover{
    transform: scale(1.1);
}

.patates :nth-child(1) {
    grid-area: 1/1/2/2;
}

.patates :nth-child(2) {
    grid-area: 1/2/2/3;
}

.patates :nth-child(3) {
    grid-area: 2/1/3/2;
}

.patates :nth-child(4) {
    grid-area: 2/2/3/3;
}

.hero-logo {
    width: 50%;
    margin-bottom: 2vh;
    filter: drop-shadow(4px 4px 4px #0005);
    transition: .4s;
    z-index: 2;
}

.hero-logo,
.tagline {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-logo:hover {
    transform: scale(1.2) translate(-42%, -42%);
}

.tagline {
    top: 60%;
    font-family: 'lazydog';
    font-size: 1.6em;
    letter-spacing: 5px;
    color: var(--hr);
    text-transform: uppercase;
    text-shadow: 1px 1px 16px #000000ee;
}

section {
    width: 45%;
    margin: 7vh auto 0 auto;
}

.section-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    font-family: 'lazydog';
    font-size: 1.3em;
    letter-spacing: 7px;
    margin: 2vh 0 1.4vh 0;
}

.section-title h2 {
    margin: 1vh auto;
    text-align: center;
}

.section-title hr {
    border: 3px solid var(--hr);
    border-radius: 12px;
    width: 100%;
}

.about-content {
    display: flex;
    gap: 3vw;
    margin-top: 5vh;
}

.about-content h3 {
    font-family: 'lazydog';
    font-size: 1.2em;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 2vh;
    color: var(--hr);
}

.about-content p {
    font-size: 1em;
    letter-spacing: 2px;
    font-weight: 300;
    margin-bottom: 2vh;
}

.specialties {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.specialty-item {
    text-align: center;
    padding: 2rem;
    border: 2px solid #f5f5f5;
    border-radius: 8px;
    transition: all 0.3s;
}

.specialty-item:hover {
    border-color: var(--hr);
    transform: translateY(-5px);
}

.specialty-item h3 {
    font-family: 'lazydog';
    font-size: 1.2em;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--hr);
}

.contact-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1vw;
    margin: 5vh 0 0 0;
}

.contact-item {
    text-align: center;
    padding: 2vh 1.2vw;
    background: #f5f5f5;
    border-radius: 8px;
}

.contact-item h3 {
    font-family: 'lazydog';
    font-size: 1.1em;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--hr);
}

.contact-item p {
    font-size: 0.9em;
    letter-spacing: 1px;
}

.contact-item a {
    color: black;
}

footer {
    background: var(--text);
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
    font-size: 0.9em;
    letter-spacing: 1px;
}

@media screen and (max-width: 810px) {
    section {
        width: 90%;
        margin: 2vh auto 0 auto;
    }

    header {
        height: auto;
        width: 100vw;
    }

    header .mobile-container {
        display: flex;
    }

    nav {
        display: none;
    }

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

    nav.active ul {
        display: flex;
        flex-direction: column;
        margin: 0px;
        gap: 2vh;
    }

    .external-links {
        gap: 10vw;
        margin-top: 2vh;
    }

    .accueil {
        min-height: 20vh;
    }

    .patates {
        width: 80vw;
    }

    .hero-logo {
        width: 30vh;
    }

    .tagline {
        top: 70%;
        font-size: 1.8em
    }

    .section-title h2 {
        font-size: 1.2em;
    }

    .about-content h3 {
        font-size: 1.1em;
        text-align: center;
    }

    .about-content p {
        font-size: .8em;
    }

    .specialty-item {
        padding: 2vh 1vw;
    }

    .specialty-item p {
        font-size: .9em;
    }

    .contact-info {
        flex-direction: column;
        align-items: stretch;
        gap: 2vh;
    }

}


@media screen and (max-height: 500px) {
    header {
        height: 14vh;
    }

    nav {
        max-width: initial;
        width: 100%;
        padding: 0 1vw;
    }

    main {
        margin-top: 14vh;
    }

    section {
        width: 60%;
    }
}

.secret{
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 100;
    transform: translate(-50%,-50%);
}