/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# BASE
	- Typography
	- Elements
	- Links
# LAYOUTS
	- Header
	- Main
	- Footer
# MEDIA QUERIES
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# START OF BASE
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body {
  font-family: "Inter", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.5;
  background-color: #f5feff;
  color: #040117;
}

h1,
h2,
h3 {
  font-family: "Raleway", Helvetica, sans-serif;
  margin: 0;
  padding: 0;
  text-transform: lowercase;
}

h1,
h2 {
  color: #e02d00;
}

h1 {
  font-size: 5rem;
  margin: 0;
  font-weight: 800;
  line-height: 1.25;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.25rem;
  color: #0049d1;
}

p {
  margin: 0.25rem 0 1.25rem;
  max-width: 25rem;
}

strong {
  font-weight: 700;
}

/* Elements
--------------------------------------------- */
img {
  width: 100%;
  max-width: 40rem;
  height: auto;
  margin: 1rem 0;
  display: block;
  box-shadow: 0 0 50px #d9f9ff;
}

ul {
  margin: 0;
  padding: 0;
}

ul li {
  display: inline;
}

section {
  margin-top: 2rem;
}

svg {
  height: 2rem;
}

path {
  fill: #0049d1;
}

/* Links
--------------------------------------------- */
a {
  color: #0049d1;
  text-decoration: none;
  text-transform: lowercase;
  font-weight: 700;
  opacity: 100%;
  padding: 0.5rem 1rem;
}

a:visited {
  color: #0049d1;
}

a:hover {
  opacity: 60%;
}

a:focus {
  border: solid 2px #0049d1;
}

a:active {
  background-color: #0049d1;
  color: #f5feff;
}

/*--------------------------------------------------------------
# END OF BASE
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# START OF LAYOUTS
--------------------------------------------------------------*/
/* Header
--------------------------------------------- */
/* General Header */
header,
footer {
  padding: 1rem 2rem;
}

header {
  box-shadow: 0 5px 50px #d9f9ff;
  margin-bottom: 2rem;
}

#header-flex {
  display: flex;
  justify-content: space-between;
}

#menu-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
#logo {
  text-transform: lowercase;
  font-weight: 800;
  color: #e02d00;
  opacity: 100%;
  font-size: 1.5rem;
  padding: 0;
}

#logo:active {
  background-color: #f5feff;
}

/* Moving navigation bar */
#nav-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #f5feff;
  display: flex;
  justify-content: space-evenly;
  padding: 1rem;
  z-index: 100;
  box-shadow: 0 2px 25px #d9f9ff;
}

#nav-bar a {
  font-size: 1.5rem;
  padding: 1rem 2rem;
}

/* Main
--------------------------------------------- */
/* General */
#site-wrapper {
  max-width: 75rem;
  margin: 2rem auto;
  padding: 0 2rem;
}

.flex-layout div {
  width: fit-content;
}

/* Landing Area */
#tag-line {
  margin: 0;
  font-size: 1rem;
  line-height: 1;
  color: #52535b;
}

.inline-a {
  padding: 0;
}

#profile {
  max-width: 20rem;
  border-radius: 50%;
}

/* Projects */
.project-card {
  box-shadow: 0 0 25px #d9f9ff;
  padding: 1rem;
  max-width: 20rem;
  margin-top: 0.5rem;
}

.project-text {
  color: #040117;
  font-weight: 300;
}

.flex-layout div {
  width: fit-content;
}

/* Footer
--------------------------------------------- */
footer {
  margin-top: 2rem;
  box-shadow: 0px -5px 50px #d9f9ff;
  padding-bottom: 4rem;
}

svg {
  padding: 0;
  width: 30px;
  height: 30px;
  transform: scale(1.5);
}

.social-media-logo {
  padding: 0;
  margin-right: 1.25rem;
}

#copyright {
  margin-top: 5rem;
  color: #52535b;
}

/*--------------------------------------------------------------
# END OF LAYOUTS
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# START OF MEDIA QUERIES
--------------------------------------------------------------*/
@media (min-width: 40em) {
  /* HEADER */
  #nav-bar {
    position: static;
    justify-content: flex-end;
    background-color: #f5feff;
    box-shadow: none;
  }

  #nav-bar a {
    font-size: 1.25rem;
  }

  /* MAIN */
  .flex-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    margin: 0 auto;
  }

  #flex-about {
    justify-content: center;
    gap: 3rem;
    align-items: center;
  }

  #country-site h3 {
    font-size: 2rem;
  }

  #country-site {
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
    flex: 1 1 100%;
    padding: 2rem;
    align-items: flex-end;
    gap: 2rem;
  }

  /* FOOTER */
  footer {
    padding-bottom: 1rem;
  }
  #copyright {
    display: flex;
    justify-self: center;
  }
}

/* resizing featured section p */
@media (min-width: 65em) {
  #country-site p {
    width: 13rem;
  }
}

@media (min-width: 75em) {
  #country-site p {
    width: 20rem;
  }
}
/*--------------------------------------------------------------
# END OF MEDIA QUERIES
--------------------------------------------------------------*/
