* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Georgia', sans-serif;
  font-size: 18px;
  color: #001a33;
  background-color: #f5f5f5;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

strong, h1, .text_left {
  font-family: 'Georgia', sans-serif;
}

h1 {
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* Navigation */

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #113768;
  padding: 1rem 4rem;
  border-bottom: 2px solid #457B9D;
}

nav a:first-of-type {
  margin-left: auto; /* Pushes all the links to the right */
}

nav a {
  color: #001a33;
  text-decoration: none;
  padding: 0.5rem 0.75rem; 
  font-weight: 550;
  transition: all 0.2s ease;
  border-bottom: 2px solid #001a33;
}

nav a:hover {
  background-color: #0598ce;
  color: #fff;
}

nav a[aria-current='page'] {
  background-color: #0598ce;
}

#nav-name {
  text-align: left;
  background-color: #ffffff;
  font-weight: 150;
  padding: 0.5rem 1rem;
  display: inline-block; /* or block */
}

.main-name {
  font-size: 100px;
  font-family: 'Abril';
}

/* Main content */
main {
  flex: 1;
  padding: 2rem;
}

/* Home page */
.home-big-text {
  background-color: #0598ce;
  text-align: center;
  color: white;
  padding: 2rem 1rem;
  font-size: 2rem;
}

.home-big {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
  background-color: #0598ce;
  color: white;
  font-size: 1.2rem;
}

#picture_me {
  float: right;
  max-width: 40%;
  border: 3px solid #1D3557;
  border-radius: 8px;
  opacity: 0.87;
  transition: transform 0.2s ease;
  align-self: left;
}

#picture_me:hover {
  transform: scale(1.02);
}

.text-right {
  float:right;
}

.text_left {
  float: left;
  font-size: 1.1rem;
}


/* Footer */
footer, #footer-container {
  background-color: #113768;
  color: #0598ce;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  height: 4rem;
  width: 100%;
  margin-top: auto;
}

footer address {
  font-style: normal;
}

#footer-image {
  width: 40px;
  height: 40px;
}

.socials-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-logo, .social-logo-alt {
  height: 30px;
  width: auto;
}

/* Social Card Block */
.scbig-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1rem;
  background-color: #113768;
  color: white;
  padding: 1rem;
  border-left: 4px solid #457B9D;
  border-radius: 6px;
}

.sc-category-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
  .home-big {
    flex-direction: column;
    text-align: center;
  }

  #blue_me {
    max-width: 90%;
    margin-top: 1rem;
  }

  nav a {
    min-width: auto;
    font-size: 0.9rem;
  }

  .scbig-container {
    grid-template-columns: 1fr;
  }

  footer, #footer-container {
    flex-direction: column;
    gap: 0.5rem;
    height: auto;
    text-align: center;
  }

  .socials-container {
    justify-content: center;
  }
}
