
@import url('https://fonts.googleapis.com/css?family=Oswald&display=swap');
@import url('https://fonts.googleapis.com/css?family=Rum+Raisin&display=swap');
@import url('https://fonts.googleapis.com/css?family=Fjalla+One&display=swap');

 /*Layout*/
 /*Space*/
 /*Font*/
 /*Color*/
body {
   /*Font*/
   font-family: 'Baskervville';
  /*Color*/
  background-color: white;


}

:root {
  --header-time: 1.5s;
}

p{
  /*Space*/
  word-wrap: break-word;
}

a{
  /*Font*/
  text-decoration: none;
  /*Color*/
  color: white;
}

ul {
  /*Space*/
  margin-top:0em;
  margin-block-start: 0em;
  /*Font*/
  list-style-type: none;
}

html{

 }
 h1{
 margin:0;
 }

/*----------------------------------------------------------------------
The class selector selects HTML elements with a specific class attribute.
To select elements with a specific class, write a period (.) character, followed by the class name. */
nav {


}

#header{
  /*Layout*/
  display:block;
  /*Space*/
  width: 100%;
  top: 0;
  /*Other*/
  transition: height var(--header-time);

}



img.banner-img-container{
  /*Space*/
  margin: auto;
  height: auto;
  width: 90%;
  z-index: -1;
}

div.banner-img-container{
  /*Space*/
  position: relative;
  margin-top: 5px;
  margin-bottom: 0px;
  height: 47%;
  padding:0px;
  text-align: center;

}



#header-title {

  /*Space*/
  padding: 5px;
  text-align: center;
  /*Font*/
  font-size: 55px;
  font-family: 'Oswald'	, sans-serif;
  /*Color*/
  /*background-color: rgba(80, 0, 0,0.9);*/
  color: white;
  /*Other*/
  transition: font-size var(--header-time);

}

#header-title>a{
  /*Color*/
  color: black;
}
/*----------------------------------------------------------------------*/

/*___________________ NAVIGATION BAR____________________________________*/


/*----------------------------------------------------------------------*/
/*Navigation Bar*/
.nav-bar {
  /*Layout*/
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  /*Space*/
  padding: 0px;
  text-align: center;
  margin-right: 0px;
  /*Font*/
  font-size: 25px;
  /*font-family: 'Rum Raisin';*/
  font-family: 'Fjalla One';
  /*Color*/
  background-color: rgba(0, 0, 0, 0.8);
  color: white;

}

.nav-bar li {
  /*Space*/
  padding: 15px 15px 15px 15px;
  white-space: nowrap;
}

#blog-title{
    font-family:'Fjalla One';
    font-size: 45px;
    margin:0px;
    padding:5px;
    font-weight: 900;
}

/*Button in the navigation bar that when pressed opens and closes
 * vertical menu in Mobile and tablet*/
.toggle{
  /*Layout*/
  order: 1;
}

/*Nav bar buttons */
.nav-links {
  /*Layout*/
  order: 2;
  /*Space*/
  padding: 5px;
  width: 100%;
  text-align: center;
  /*Font*/
  /*font-family: 'Rum Raisin';*/
  font-family: 'Fjalla One';
  /*color*/
  color: white;
  background-color: :rgb(255, 99, 71);
}

/*Nav bar social icon buttons */
.nav-links .social {
  /*Layout*/
  order: 3;
  display: none;
  /*Space*/
  /*Font*/
  font-family: 'Rum Raisin';
  /*Color*/
  color: white;
  background-color: :rgb(255, 99, 71);

}


/* -------------------------------------------------------------------*/
 /*----------------Navigation Bar responsiveness----------------------*/

/* -------------------------------------------------------------------*/
@media all and (max-width: 700px)    {
/* Mobile menu */

.nav-bar {
  /*Layout*/
  justify-content: center;
  flex-wrap: nowrap;
  align-items: center;
}

.nav-bar.active {
  /*Layout*/
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

/*Flex box that expands and contract and is used to align the rest of button ins navbar */
.nav-bar li:nth-child(1) {
  /*Layout*/
  display:block;
  flex-grow: 0.28;
  order: 1;
  /*Color*/
  /*background-color: rgb(1, 19, 71);*/
}
.nav-bar li:nth-child(5) {
  /*Layout*/
  display:block;
  flex-grow: 0.28;
  order: 3;
  /*Color*/
  /*background-color: rgb(1, 19, 71);*/
}


/*Show Blog title*/
.nav-bar li:nth-child(3) {
  /*Layout*/
  display:block;
  order: 2;
  flex: 0 0 130px;
}

/*Hide the navbar buttons*/
.nav-links  {
  /*Layout*/
  display: none;
  order: 3;
  /*Space*/
  width: 100%;
}

/*Show the navbar buttons when toggled*/
.nav-links.active {
  /*Layout*/
  display: block;
}

.toggle {
  /*Layout*/
  flex: 1;
  order: 4;
  /*Space*/
  text-align: right;
}

.nav-links.social.active {
  /*Layout*/
  flex-basis: 5%;
  /*Space*/
  width: 20%;
}



}

/* -------------------------------------------------------------------*/
 /* Tablet menu */

/* -------------------------------------------------------------------*/
@media all and (min-width: 700px)  and (max-width: 900px)  {

.nav-bar {
  /*Layout*/
  justify-content: center;
  flex-wrap: nowrap;
  align-items: center;
}

.nav-bar.active {
  /*Layout*/
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

/*Flex box that expands and contract and is used to align the rest of button ins navbar */
.nav-bar li:nth-child(1) {
  /*Layout*/
  display:block;
  flex-grow: 0.48;
  order: 1;
  /*Color*/
  /*background-color: rgb(1, 19, 71);*/
}
.nav-bar li:nth-child(5) {
  /*Layout*/
  display:block;
  flex-grow: 0.28;
  order: 3;
  /*Color*/
  /*background-color: rgb(1, 19, 71);*/
}


/*Show Blog title*/
.nav-bar li:nth-child(3) {
  /*Layout*/
  display:block;
  order: 2;
  flex: 0 0 230px;
}

/*Hide the navbar buttons*/
.nav-links  {
  /*Layout*/
  display: none;
  order: 3;
  /*Space*/
  width: 100%;
}

/*Show the navbar buttons when toggled*/
.nav-links.active {
  /*Layout*/
  display: block;
}

.toggle {
  /*Layout*/
  flex: 1;
  order: 4;
  /*Space*/
  text-align: right;
}

.nav-links.social.active {
  /*Layout*/
  flex-basis: 5%;
  /*Space*/
  width: 20%;
}



}

/* -------------------------------------------------------------------*/
 /* Desktop menu */

/* -------------------------------------------------------------------*/
@media all and (min-width: 900px) {

.nav-bar li {
  /*Layout*/
  flex-grow: 0;
  /*Space*/
  padding: 5px 10px 5px 10px;
}

/*Flex box that contains the Logo */
.nav-bar li:nth-child(3) {
  /*Layout*/
  display:block;
  flex: 0 0 190px;
  order:3;
}

.nav-bar li:nth-child(2) {
  /*Layout*/
  order:2;
}

.nav-bar li:nth-child(4) {
  /*Layout*/
  order:4;
}


a .logo-img
{
    width: 150px;
    height: auto;
    display:block;
    margin: auto;
}

/*Flex box that expands and contract and is used to align the rest of button ins navbar */
.nav-bar li:nth-child(5) {
  /*Layout*/
  display:block;
  flex-grow: 0.38;
  order:5;
  /*Color*/
  /*background-color: rgba(0, 0, 0, 0.8);*/
}

/*Flex box that expands and contract and is used to align the rest of button ins navbar */
.nav-bar li:nth-child(1) {
  /*Layout*/
  display:block;
  flex-grow: 0.5;
  order:1;
  /*Color*/
  /*background-color: rgba(0, 0, 0, 0.8);*/
}

.nav-links {
  /*Layout*/
  display: block;
  order: 0;
  /*Space*/
  width: auto;
}

.nav-links.social.active , .nav-links.social{
  /*Layout*/
  flex-basis: auto;
  order:6;
  /*align-self: flex-end;*/
  /*Space*/
  text-align: right;
  margin-right: 0.5em;
  width: auto;
  height: auto;

  border-radius: 50%;
}


#nav-links.social  span {
  /*Layout*/
  display: block;
  position: absolute;
   /*Space*/
  text-align: center;
  top: 50%;
  left: 50%;
  /*Other*/
  transform: translate(-50%, -50%);
}

.nav-links.social span:hover {
  /*Space*/
  padding: 5px;
  /*Color*/
  color: white;
  /*Other*/
  transform:  rotate(360deg);
}

.nav-links.social.instagram {
  /*Color*/
  background-color: tomato;
  color: white;

}

.nav-links.social.twitter {
  /*Color*/
  background-color: #00ACEE;
  color: white;
}

.nav-links.social.facebook {
  /*Color*/
  background-color: #3B5998;
  color: white;


}

.toggle {
  /*Layout*/
  display: none;
}



}

/*----------------------------------------------------------------------*/

/*____________________________BODY_____________________________________*/


/*----------------------------------------------------------------------*/

/* ==========================================================================
   BLOG POST GRID - Modern CSS Grid Layout
   ========================================================================== */

#exerpt-container {
  /* Use CSS Grid for equal-height cards in rows */
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  /* Space */
  margin: 20px auto;
  width: 90%;
  max-width: 1400px;
  padding: 0 16px;
}

div.exerpt {
  /* Card container with flexbox for internal layout */
  display: flex;
  flex-direction: column;
  /* Subtle card styling */
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

div.exerpt:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

/* Cards without images get different styling */
div.exerpt.no-image {
  background: linear-gradient(135deg, #f8f8f8 0%, #fff 100%);
}

div.exerpt.no-image .img-container-exerpt {
  display: none;
}

/* Content wrapper for title + excerpt */
div.exerpt-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px;
}

div.exerpt-title {
  /* Space */
  text-align: center;
  margin-bottom: 12px;
  /* Font */
  font-family: 'Oswald', sans-serif;
  font-weight: bold;
}

h2.exerpt-title {
  /* Space */
  margin: 0;
  /* Font */
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  /* Color */
  color: #1a1a1a;
}

.exerpt-title > a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.exerpt-title > a:hover {
  color: #8B4513;
}

div.exerpt-text {
  /* Fill remaining space */
  flex: 1;
}

p.p-exerpt-text {
  /* Truncate to 4 lines */
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  /* Space */
  margin: 0;
  /* Font */
  font-size: 16px;
  font-family: 'Rasa', serif;
  line-height: 1.6;
  /* Color */
  color: #4a4a4a;
}

/* Image container */
div.img-container-exerpt {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

img.img-container-exerpt {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

div.exerpt:hover img.img-container-exerpt {
  transform: scale(1.03);
}

/* Date badge */
div.text-block {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  /* Softer color matching header */
  background-color: rgba(139, 69, 19, 0.9);
  color: white;
  border-radius: 4px;
}

p.text-block {
  margin: 0;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Date for cards without images */
div.exerpt-date {
  text-align: center;
  margin-bottom: 8px;
}

p.exerpt-date {
  margin: 0;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  color: #8B4513;
  font-weight: 500;
}

/* ==========================================================================
   BLOG GRID - Responsive Breakpoints
   ========================================================================== */

/* Mobile: Single column */
@media all and (max-width: 600px) {
  #exerpt-container {
    grid-template-columns: 1fr;
    gap: 20px;
    width: 95%;
    padding: 0 12px;
  }

  h2.exerpt-title {
    font-size: 1.2rem;
  }

  p.p-exerpt-text {
    font-size: 15px;
    -webkit-line-clamp: 3;
  }

  div.exerpt-content {
    padding: 14px;
  }
}

/* Small tablets: Two columns */
@media all and (min-width: 601px) and (max-width: 900px) {
  #exerpt-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 95%;
  }

  h2.exerpt-title {
    font-size: 1.1rem;
  }

  p.p-exerpt-text {
    -webkit-line-clamp: 3;
  }
}

/* Large tablets / small desktop: Two columns with more space */
@media all and (min-width: 901px) and (max-width: 1100px) {
  #exerpt-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    width: 92%;
  }

  h2.exerpt-title {
    font-size: 1.15rem;
  }
}

/* Desktop: Three columns */
@media all and (min-width: 1101px) and (max-width: 1400px) {
  #exerpt-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 92%;
  }

  h2.exerpt-title {
    font-size: 1.2rem;
  }
}

/* Large desktop: Three columns with max-width */
@media all and (min-width: 1401px) {
  #exerpt-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    width: 85%;
    max-width: 1500px;
  }

  h2.exerpt-title {
    font-size: 1.3rem;
  }

  p.p-exerpt-text {
    font-size: 17px;
  }
}



/*----------------------------------------------------------------------*/

/*____________________________FOOTER__________________________________*/


/*----------------------------------------------------------------------*/
/*----------------------------------------------------------------------
 * Footer L1
 *----------------------------------------------------------------------
 */

footer{
/*Layout*/
  display:block;
  /*Space*/
  padding: 30px;
  text-align: left;
  height: 700px;
  /*Color*/
  background-color: #000000;
  color: white;
}

.about-me-footer{
  /*Layout*/

  /*Space*/
  width: 20%;
  margin-left: 100px;

}

p.about-me-footer-title{
  /*Layout*/
  display:block;
  /*Space*/
  text-align:center;
  margin-bottom:15px;
  /*Font*/
  font-size: 25px;
  font-family: 'Oswald';
  /*Color*/
  color: white;

}

div.about-me-footer-img-container{
  /*Space*/
  margin-top: 5px;
  margin-bottom: 15px;
  height: 70%;
  padding:0px;
  text-align: center;

}
img.about-me-footer-img-container{
  /*Space*/
  text-align: left;
  height: 240px;
  max-width: 120%;
}

.about-me-footer-text{
  /*Space*/
  margin-top:5px;
  /*Font*/
  font-size: 17px;
}

/*Mobile:*/
@media all and (max-width: 700px){

  .about-me-footer{
  /*Layout*/
  /*Space*/
  width: 70%;
  margin: auto;
  }




}

	/*Tablet:*/
@media all and (min-width: 700px)  and (max-width: 900px)  {

  .about-me-footer{
  /*Layout*/
  float: left;
  /*Space*/
  width: 30%;
  margin-left: auto;
	}


}



/*Desktop:*/
@media all and (min-width: 901px) and (max-width: 1300px) {

  .about-me-footer{
  /*Layout*/
 display: block;
  /*Space*/
  width: 40%;
  margin-left: 100px;
	}

}
/*------------------------------------------------------------------------*/
