/* GENERAL */
/* GENERAL */
/* GENERAL */

@import url('https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300..700;1,300..700&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

@font-face {
    font-family: "Airbnb";
    src: url("/assets/fonts/airbnb.woff2");
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background-color: white;
}

p, a, h1, h2, h3, h4 {
    font-family: "Nunito", sans-serif;
    color: rgb(20, 20, 20);
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
    transition: all .2s;
}

a:hover {
    cursor: pointer;
    transition: all .2s;
}

section {
    width: 100%;
    display: flex;
    box-sizing: border-box;
    padding: 0 14%;
}

h2 {
    font-size: 32px;
    font-family: "Libre Baskerville", serif;
}

.divider::before, #landing::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 2;
}

/* HEADER */
/* HEADER */
/* HEADER */

nav {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: row;
    box-sizing: border-box;
    justify-content: space-between;
    padding: 10px 10%;
    width: 100%;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 32px 0 rgba(20, 20, 20, .2);
    backdrop-filter: blur( 2px );
    -webkit-backdrop-filter: blur( 2px );
    z-index: 10;
}

nav img {
    height: 80px;
}

nav a {
    display: flex;
    align-items: center;
}

nav a:hover {
    color: rgb(100, 100, 100);
}

nav div {
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: center;
}

/* LANDING */
/* LANDING */
/* LANDING */

#landing {
    height: 700px;
    background-image: url("assets/imgs/landing.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0% center;
    align-items: center;
    padding-bottom: 10%;
    position: relative;
    z-index: 1;
}

#landing::before {
    background-color: rgba(0, 0, 0, .4);
}

.landing-title {
    padding-top: 160px;
    padding-left: 50px;
    display: flex;
    flex-direction: column;
    max-width: 320px;
    z-index: 3;
}

.landing-title h1 {
    font-size: 80px;
    line-height: .8;
    color: white;
    font-family: "Libre Baskerville", serif;
}

.landing-title h3 {
    text-wrap: wrap;
    font-size: 20px;
    color: white;
    font-weight: 500;
  	padding-top: 6px;
    padding-bottom: 22px;
}

.landing-title h4 {
    text-wrap: wrap;
    font-size: 14px;
    color: rgb(230, 230, 230);
    font-weight: 600;
}

.landing-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    gap: 8px;
    bottom: 26px;
    left: 50%;
	transform: translateX(-50%);
    z-index: 3;
}

.landing-scroll img {
    height: 26px;
}

.landing-scroll img:hover {
    cursor: pointer;
}

/* PRESENTATION */
/* PRESENTATION */
/* PRESENTATION */

#presentation {
    align-items: center;
    padding-top: 14%;
    padding-bottom: 14%;
}

.presentation-grid {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 100px;
}

.presentation-heading {
    max-width: 610px;
}

.presentation-heading h2 {
    padding-bottom: 10px;
}

.presentation-heading h3 span {
    white-space: nowrap;
}

.presentation-grid img {
    height: 400px;
    border-radius: 8px;
    justify-self: end;
    grid-row: 1 / 3;
    grid-column: 2 / 3;
}

.presentation-grid p {
    grid-column: 1 / 2;
    max-width: 620px;
}

.divider {
    position: relative;
    width: 100%;
    background-image: url("assets/imgs/divider.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 50%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-sizing: border-box;
    padding: 14%;
}

.divider::before {
    background-color: rgba(0, 0, 0, .7);
}

.divider h2, .divider p {
    color: white;
    z-index: 3;
}

.divider p {
    color: rgb(230, 230, 230);
}

/* SERVICES */
/* SERVICES */
/* SERVICES */

#services {
    padding-top: 14%;
    padding-bottom: 14%;
    width: 100%;
    flex-direction: column;
}

#services h2 {
    padding-bottom: 16px;
}

.services-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-gap: 20px;
    padding-top: 36px;
}

.services-elem {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, .12);
    box-sizing: border-box;
    padding: 32px;
}

.services-elem h3 {
    padding-top: 8px;
    padding-bottom: 16px;
}

.services-elem img {
    height: 40px;
}

/* FOOTER */
/* FOOTER */
/* FOOTER */

footer {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.footer-top {
    height: 320px;
    background-color: rgb(35, 35, 35);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-top-dual {
    display: flex;
    flex-direction: row;
    gap: 140px;
}

.footer-logo {
    height: 180px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-links a {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    color: white;
    font-weight: 600;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-links a img {
    height: 24px;
}

.footer-bot {
    border-top: 2px solid rgb(40, 40, 40);
    height: 80px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding: 0 10%;
    background-color: rgb(30, 30, 30);
}

.footer-bot p {
    color: rgb(100, 100, 100);
}


@media (min-width: 1220px) {
    #landing {
        height: 740px;
    }

    .landing-title {
        padding-top: 180px;
        padding-left: 60px;
    }
}

@media (min-width: 1300px) {
    nav {
        padding: 10px 14%;
    }

    section:not(#landing), .divider {
        padding-left: 20%;
        padding-right: 20%;
    }

    #presentation, .divider, #services {
        padding-top: 8%;
        padding-bottom: 8%;
    }
}

@media (min-width: 1500px) {
    #landing {
        height: 800px;
    }

    .landing-title {
        padding-top: 200px;
        padding-left: 80px;
    }

    .services-grid {
        grid-gap: 30px;
        width: 100%;
    }
}

@media (min-width: 1630px) {
    #presentation {
        justify-content: center;
    }

    .presentation-grid {
        width: 82%;
        column-gap: 140px;
    }
}

@media (max-width: 1120px) {
    .presentation-grid {
       row-gap: 40px;
       column-gap: 40px;
    }

    .presentation-heading {
        display: flex;
        flex-direction: column;
        /* align-items: center; */
        grid-row: 1 / 3;
        box-sizing: border-box;
    }

    .presentation-heading h3 {
        display: flex;
        flex-direction: column;
    }

    .presentation-grid p {
        grid-column: 1 / -1;
        max-width: 100%;
    }

    .presentation-grid img {
        height: 260px;
        width: 260px;
        object-fit: cover;
    }
}

@media (max-width: 860px) {
    .presentation-heading, .presentation-grid p {
        grid-column: 1 / -1;
    }

    .landing-title {
        padding: 0;
        padding-top: 80px;
    }

    .services-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .presentation-grid img {
        display: none;
    }

    .presentation-heading h3 {
        display: block;
    }

    .footer-top {
        box-sizing: border-box;
        padding: 20px 0 40px 0px;
        height: auto;
    }

    .footer-top-dual {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .footer-logo {
        width: 160px;
        height: auto;
    }

    .footer-links {
        gap: 18px;
    }
}

@media (max-width: 530px) {
  	#landing {
    	height: 670px;
  	}

    .landing-title h1 {
        font-size: 64px;
    }

    nav img {
        height: 70px;
    }

    nav div a {
        display: none;
    }
    
    nav div a:last-child {
        display: inline-block;
    }
}
