/* Centers content - replaces deprecated <center> tag */
.centered {
  text-align: center;
}

/* Highlights important text */
.highlight {
  font-weight: 700;
  font-size: 1.875rem;
  color: var(--color-gold-primary, #FFD700);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Styles the main article */
article {
  text-align: left;
  max-width: 800px;
  margin: 0 auto var(--spacing-xl, 3rem);
  padding: var(--spacing-lg, 2rem);
  background: var(--color-bg-secondary, #1e1e1e);
  border-radius: var(--border-radius-lg, 1rem);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.1);
}

/* Styles the h1 within the article element */
article h1 {
  font-size: clamp(2rem, 5vw, 3.125rem);
  color: var(--color-gold-primary, #FFD700);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: var(--spacing-md, 1.5rem);
  line-height: var(--line-height-tight, 1.2);
}

/* Styles the paragraph element of the article */
article p {
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 500;
  line-height: var(--line-height-base, 1.6);
  color: var(--color-text-primary, #e0e0e0);
}

/* Resizes the pictures for the logo images */
.logo {
  height: 50px;
  width: 50px;
  display: inline-block;
  vertical-align: middle;
  margin-right: var(--spacing-sm, 1rem);
  transition: transform var(--transition-base, 0.3s ease);
  border-radius: var(--border-radius-sm, 0.5rem);
}

.logo:hover {
  transform: scale(1.1) rotate(5deg);
}

/* Styles the class to align social media */
.socials {
  width: 90%;
  max-width: 600px;
  margin: var(--spacing-xl, 3rem) auto;
  padding: var(--spacing-lg, 2rem);
  list-style-type: none;
  border-radius: var(--border-radius-xl, 1.5rem);
  background: var(--color-bg-secondary, #1e1e1e);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.1);
}

/* Styles the heading in socials */
.socials h1 {
  color: var(--color-gold-primary, #FFD700);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: var(--spacing-lg, 2rem);
}

/* Styles the list and list elements in socials */
.socials ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-lg, 2rem);
}

.socials ul li {
  list-style-type: none;
  display: flex;
  align-items: center;
  padding: var(--spacing-sm, 1rem);
  border-radius: var(--border-radius-md, 0.75rem);
  transition: all var(--transition-base, 0.3s ease);
}

.socials ul li:hover {
  background-color: rgba(255, 215, 0, 0.1);
  transform: translateY(-3px);
}

/* Styles the text inside the list inside Socials */
.socials a {
  color: var(--color-gold-primary, #FFD700);
  font-weight: 600;
  font-size: clamp(1rem, 2vw, 1.5rem);
  text-decoration: none;
  transition: all var(--transition-base, 0.3s ease);
  display: flex;
  align-items: center;
}

/* Creates a shadow behind the links inside of Socials */
.socials a:hover,
.socials a:focus {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  color: var(--color-gold-dark, #D4AF37);
  outline: none;
}

@media only screen and (max-width: 768px) {
  article {
    padding: var(--spacing-md, 1.5rem);
    margin-bottom: var(--spacing-lg, 2rem);
  }
  
  .socials {
    width: 95%;
    padding: var(--spacing-md, 1.5rem);
  }
  
  .socials ul {
    flex-direction: column;
    gap: var(--spacing-md, 1.5rem);
  }
  
  .socials ul li {
    justify-content: center;
  }
}

/* Site resizing */
.WebContainer{
width: 100%;
height: auto;
}

/* Contents imside body resizing */
.articles{
width:90%; /*Takes 90% width from WebContainer*/
height: auto;
margin: auto;
}

.logo-rect {
  width: 75px;
  height: 50px;
}
