/* About page. Navbar and footer live in css/base.css. */

/* ---------- Hero ---------- */

.hero {
    display: flex;
    align-items: center;
    min-height: clamp(320px, 62vw, 900px);
    padding: 40px clamp(16px, 12vw, 200px);
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../Images/about/hero.JPG");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero p {
    margin: 0;
    font-family: caveat;
    font-size: clamp(32px, 4.6vw, 66px);
    line-height: 1.2;
    color: #C9AA8B;
}

/* ---------- About Me ---------- */

.aboutme {
    margin-top: clamp(50px, 7vw, 100px);
    background-color: #0C1B1D;
}

.aboutme h1 {
    padding-top: clamp(40px, 7vw, 100px);
    color: #C9AA8B;
    font-family: lora;
    text-align: center;
}

.one p,
.two p,
.three p {
    margin: 0;
    padding: 0 clamp(16px, 7vw, 100px) 20px;
    font-family: lora;
    font-size: 24px;
    color: #C9AA8B;
}

.one p {
    padding-top: 50px;
}

.three p {
    padding-bottom: 120px;
}

@media screen and (max-width: 767.98px) {
    .aboutme h1 {
        font-size: 24px;
    }

    .one p,
    .two p,
    .three p {
        font-size: 16px;
    }

    .one p {
        padding-top: 30px;
    }

    .three p {
        padding-bottom: 50px;
    }
}

/* ---------- Resume button ---------- */

.button a {
    text-decoration: none;
}

.btn {
    background-color: #C9AA8B;
    font-family: oswald;
    font-size: 32px;
    color: black;
    border-radius: 0;
    font-weight: 500;
}

.btn:hover {
    background-color: #DC4625;
}

@media screen and (max-width: 767.98px) {
    .btn {
        font-size: 24px;
    }
}

/* ---------- Photo gallery ---------- */

.title p {
    margin: clamp(50px, 7vw, 100px) 0 0;
    padding: 0 16px;
    color: black;
    text-align: center;
    font-family: oswald;
    font-size: 48px;
    font-weight: 600;
}

@media screen and (max-width: 767.98px) {
    .title p {
        font-size: 36px;
    }
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 400px));
    justify-content: center;
    gap: 30px;
    max-width: 1300px;
    margin: 50px auto;
    padding: 0 16px;
}

.gallery img {
    display: block;
    width: 100%;
    border-radius: 20px;
    transition: 1s;
}

@media (hover: hover) {
    .gallery img:hover {
        filter: grayscale(100%);
        transform: scale(1.05);
    }
}
