@import url('https://fonts.googleapis.com/css2?family=PT+Sans:wght@400;700&display=swap');

html {
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

li {
    list-style-type: none;
}

a {
    text-decoration: none;
}

body {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("../images/bg.jpg");    
    background-position: center;
}


/* ---- nav social ---- */

nav {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: flex-end;
}

nav ul {
    position: relative;
    display: flex;
    margin-right: 10px;
}

nav ul li {
    height: 80px;
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 4px solid #908F8F;
    margin-left: 10px;
    margin-top: 15px;
}

nav ul li a {
    font-size: 50px;
    position: relative;
}

#facebook, #facebook > a {
    color: #7580B0;
    background-color: #485793;
}

#rss, #rss > a {
    color: #D1B074;
    background-color: #C39245;
}

#twitter, #twitter > a {
    color: #96A8CF;
    background-color: #718CC2;
}

#youtube, #youtube > a {
    color: #BA6D64;
    background-color: #A44134;
}

/* ---- end nav social ---- */

/* ---- nav bar ---- */

.nav-buttons {
    width: 100%;
    position: relative;
    margin: 0;
}

.nav-buttons .btn {
    margin: 5px;
    background-color: #A63634;
    position: relative;
    border-bottom: 4px solid #908F8F;
    border-radius: 0;
}

.nav-buttons .btn a {
    position: relative;
    width: 100%;
    height: 100%;
    color: #fff;
    text-transform: uppercase;
    font-family: "PT+Sans", Arial, Helvetica, sans-serif;
    font-weight: 400;
}

/* ---- end nav bar ---- */

/* ---- top image ---- */

.top-image {
    position: relative;
    width: 100%;
    height: 400px;
    border: 10px solid #fff;
    overflow: hidden;
    margin: auto;
}

.top-image .main-image {
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.top-image .grid {
    position: absolute;
    inset: 0;
    opacity: 25%;
}

.top-image .logo {
    position: absolute;
    top: 13%;
    left: 2%;
    z-index: 20;
    height: 75%;

}

/* ---- end top image ---- */

/* ---- news ---- */

.news {
    width: 100%;
    margin-top: 30px;
    margin-bottom: 30px;
    position: relative;
}

.news .news-article {
    background: #fff;
    margin: 10px;
    border-bottom: 4px solid #908F8F;
    position: relative;
    padding: 15px;
    min-height: 450px;
    display: flex;
    flex-direction: column;
}

.news .news-article time {
    color: #B3B3B3;
    padding: 10px 0 10px 0;
}

.news .news-article h2 {
    font-family: "PT+Sans", Arial, Helvetica, sans-serif;
    font-weight: 400;
    color: #43443F;
}

.news .news-article p {
    font-family: "PT+Sans", Arial, Helvetica, sans-serif;
    font-weight: 400;
    color: #808080;
}

.news .news-article a {
    position: relative;
    align-self: center;
    margin-top: auto;
    color: #A63634;
    font-family: "PT+Sans", Arial, Helvetica, sans-serif;
    font-weight: 400;
    text-transform: uppercase;
}

/* ---- end news ---- */

/* ---- skateboarders ---- */

.skateboarders {
    margin-bottom: 30px;
}

.skateboarders .sk8er-id .wrap {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border: 4px solid #fff;
}

#tall-wrap {
    height: 510px;
}

.skateboarders .sk8er-id img {
    height: 100%;
    width: auto;
    object-fit: cover;
    object-position: center;
}

.skateboarders .long-row {
    margin-top: 10px;
}

#steve, #tommy {
    width: 100%;
    height: 100%;
}

.skateboarders .sk8er-id {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.skateboarders .sk8er-id .overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "PT+Sans", Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 30px;
    text-transform: uppercase;
    color: #fff;
}


/* ---- BOARDS COLUMN ---- */

.boards {
    width: auto;
    position: relative;
}

.boards .image-container {
    width: 100%;
    height: 290px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    margin: 0;
    overflow: auto;
    background-color: #fff;
}

.boards img {
    rotate: 90deg;
    width: auto;
}

/* === CONTACT FORM === */

.contact {
    width: 100%;
    background-color: #fff;
    margin-top: 30px;
    margin-bottom: 50px;
    padding: 20px;
}

.contact h2 {
    color: #43443F;
}

.contact h2, .contact p {
    font-family: "PT+Sans", Arial, Helvetica, sans-serif;
    font-weight: 400;
}

.contact p {
    color: #808080;
}

.contact ul {
    position: relative;
    display: flex;
    align-items: flex-start;
    padding-left: 0;
    padding-top: 10px;
}

.contact ul li {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    background-color: #696969;
    margin-right: 5px;
}

.contact ul li a {
    color: #908F8F;
}

.contact .btn {
    position: relative;
    background-color: #A63634;
    border: 0;
    font-family: "PT+Sans", Arial, Helvetica, sans-serif;
    font-weight: 400;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    
    .nav-buttons .btn {
        margin: 5px 0 5px 0;
    }

    nav {
        justify-content: center;
    }

    .news .news-article {
        height: 100%;
    }
}