* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    margin: 0;
}

body {
    min-height: 100vh;
    margin: 0;

    background-image: url("images/concrete.jpg");
    background-repeat: repeat;
    background-size: 300px;
    background-attachment: fixed;

    display: flex;
    flex-direction: column;
}

/* HEADER */

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

    gap: 15px;
    padding: 15px;

    background-image: url("images/concrete_header.jpg");
    background-size: cover;
    background-position: center;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    width: 220px;
    max-width: 80%;
    height: auto;
    filter: drop-shadow(0 0 3px #8f6200);
}

.navbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    width: 100%;
}

.nav-icon {
    width: 160px;
    max-width: 40vw;
    height: auto;
    transition: 0.3s;
    filter: brightness(0.7) drop-shadow(0 0 8px black);
}

.nav-icon:hover {
    filter: brightness(1.3) drop-shadow(0 0 8px #8f6200);
    transform: scale(1.05);
}

/* MAIN */

.main-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content {
    padding: 40px;
}

/* TEXT */

p {
    font-family: Comic Sans MS, cursive;
    font-size: 25px;
}

h1, h2, h4 {
    font-family: Comic Sans MS, cursive;
}

/* TITLES */

.page-title,
.title-image,
.section-title {
    display: block;
    margin: 40px auto;
    max-width: 100%;
}

/* MEMBERS */

.members-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    width: 100%;
}

.members-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.member-card {
    border: 4px solid rgba(0, 0, 0, 0.5);
    background-color: rgba(0, 0, 0, 0.5);

    padding: 20px;

    display: flex;
    align-items: center;
    gap: 20px;

    cursor: pointer;
    transition: 0.25s;
}

.member-card:hover {
    background: rgba(255, 215, 0, 0.7);
    border-color: rgba(255, 215, 0, 0.7);
    transform: scale(1.02);
}

.member-detail {
    border: 4px solid rgba(0, 0, 0, 0.5);
    background-color: rgba(0, 0, 0, 0.5);
    padding: 30px;
}

.member-small-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.member-big-img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
}

/* PROJECTS */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    width: 100%;
}

.project-box {
    border: 4px solid rgba(0, 0, 0, 0.5);
    background-color: rgba(0, 0, 0, 0.5);
    padding: 25px;
    text-align: center;
}

.project-img {
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: cover;
    border: 4px solid black;
}

.project-button {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 30px;
    background: black;
    color: gold;
    text-decoration: none;
    font-size: 22px;
    border: 3px solid gold;
}

.project-button:hover {
    background: gold;
    color: black;
}

/* SOCIALS */

.socials-container {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 60px;
    align-items: center;
    flex-wrap: wrap;
}

.social-btn {
    width: 260px;
    height: 260px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.25s ease;
}

.social-btn:hover {
    transform: scale(1.08);
}

.social-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* FOOTER */

.footer {
    text-align: center;
    padding: 20px;
    color: black;
    font-family: Comic Sans MS, cursive;
    font-size: 16px;
}

/* GLOBAL IMAGES */

img {
    max-width: 100%;
    height: auto;
}

/* TABLET */

@media (max-width: 1024px) {

    .projects-grid,
    .members-layout {
        grid-template-columns: 1fr;
    }

    .main-content {
        padding: 30px;
    }
}

/* MOBILE */

@media (max-width: 768px) {

    .logo {
        width: 160px;
    }

    .nav-icon {
        width: 120px;
    }

    .member-card {
        flex-direction: column;
        text-align: center;
    }

    .social-btn {
        width: 180px;
        height: 180px;
    }

    p {
        font-size: 20px;
    }

    .project-button {
        font-size: 18px;
        padding: 12px 20px;
    }
}

/* SMALL MOBILE */

@media (max-width: 480px) {

    .logo {
        width: 120px;
    }

    .nav-icon {
        width: 100px;
    }

    .social-btn {
        width: 140px;
        height: 140px;
    }

    p {
        font-size: 18px;
    }
}
