/*
Theme name: Moonriders MC Jönköping
Author: Iida Larsson Sarja
Description: A dark theme developed for the MC club Moonriders MC Jönköping
Version: 1.1 
*/ 

/* Variables */
:root {
    --yellow: #FEF214;
    --pale-yellow: #ffec97;
    --grey: #2C2C2C80; /* too be at 50% opacity */
    --white1: #ffffff;
    --white2: #D9D9D9;
    --background: #000000;
    --font: 'Roboto', sans-serif;
}

body{
    background-color: var(--background);
    color: var(--yellow);
    font-family: var(--font);
    font-weight: 400;
    font-size: 14px;
    margin: 12px;
    
}

.footer{
    color:#FEF214;
}
/* Text  style */
h1{
font-family: var(--font);
font-size:xx-large;
font-weight: bold;
}
p{
font-size: large;
font-weight: 100;
font-family: Arial, Helvetica, sans-serif;
}

.logo{
  width: 120px;
}

.headertext{
  font-size: large;
}

/* Link styling */

a:link{
  color: #FEF214;
  text-decoration: none;
}
a:active{
  color: #FEF214;
  text-decoration: underline;
}
a:visited{
  color: #FEF214;
}
a:hover{
  color: var(--white2);
}




/* Grid build */

/* Entire page */

.container{ 
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  grid-gap: 12px;
}

/* Header */

.header{
  display:grid;
  grid-template-columns: 1fr auto auto auto auto 1fr;
  align-items: center;
  justify-content: center;
  gap: 100px;
  max-width: 1200px;
  margin: 0 auto;
}

.header > :first-child {
  justify-self: start;
  margin-right: 40px;
}

.header > :last-child {
  justify-self: end;
  margin-left: 40px;
}

/* Main/Hero */

.main-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  padding-left: 50px;
  padding-right: 50px;
  align-items: start;

  background-image: url("images/motorway.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  padding: 80px 50px 2rem;
}



/* Index page details */
.box {
  border: 2px solid #FEF214;
  border-radius: 10px;
  padding:6px;
  box-sizing: border-box;
  width: 100%;
  max-width: 400px;
  background-color: var(--grey);
  font-size: medium;
  justify-self: start;
}

.box li{
  margin-bottom: 12px;
}

.box h3 {
  margin-left: 24px;
  margin-bottom: -6px;
}

.hero-text {
  max-width: 600px;
  text-shadow: 2px 2px 6px black;
  justify-self: end;
}



/* Alternative container for 2 columns design  activity page*/

.alt-container{
  display: grid;
  grid-template-columns: 75% 25%;
  grid-template-rows: repeat(1, 1fr);
  min-height: 100%;
  align-items: start;
  
}

/* Activitylist next to calendar */

.list{
  border: 2px solid #FEF214;
    border-radius: 10px;
    padding: 12px;
    width: 80%;
    height: 80%;
    box-sizing: border-box;
    justify-self: stretch;
}

/* History page details */

.historia {
    display: grid;
    grid-template-columns: 1fr 2fr 1rem 1fr 1fr;
    gap: 2rem;
    padding-left: 50px;
    padding-right: 50px;
}

.historia h1 {
  font-weight: 700;
  grid-column: 2 / 5;

}

.historia p {
    font-weight: 100;
    font-family: Arial, Helvetica, sans-serif;
    grid-column: 2;
}

.historia a {
    grid-column: 4;
}

.image{
  max-height: 300px;
}

/* Kontakt page details */

.kontakt{
      display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding-left: 50px;
    padding-right: 50px;
    max-width: 1500px;
}

.p {
    font-weight: 100;
    font-family: Arial, Helvetica, sans-serif;
}

/* Member page details */

.medlemmar {
    max-width: 1000px;
    margin: 0 auto;
    padding: 24px;
}

.medlemmar > h1 {
    text-align: left;
    margin-bottom: 30px;
    padding-left: 20px;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.member-card {
    padding: 16px;
    background: transparent;
}

.member-name {
    margin: 0 0 12px 0;
    font-size: 24px;
}

.member-content {
    font-size: 12px;
}

.member-content img {
    width: clamp(100px, 12vw, 150px) !important;
    height: clamp(100px, 12vw, 150px) !important;
    max-width: 100% !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/* Footer */

.footer{
  display: grid;
  grid-template-columns: auto auto auto;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding-top: 80px;
}

.fb-logo{
  max-width: 60px;
}
.insta-logo{
  max-width: 60px;
}


