@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700;800;900&family=Quicksand:wght@300;400;500;600;700&display=swap');

:root {
  --Playfair: 'Playfair Display', serif;
  --Quicksand: 'Quicksand', sans-serif;
  --Roboto: 'Roboto', sans-serif;
  --dark: #3c393d;
  --exDark: #2b2b2b;
}

* {
  padding: 0;
  margin: 0;
  font-family: var(--Quicksand);
}

body {
  line-height: 1.4;
  color: var(--dark);
  background-image: url(blogg.jpg);
}

img {
  /*width: 100%;*/
  height: 200px;
  width: 300px;
  display: block;
}

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

header {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(images/blogg.jpg) center/cover no-repeat fixed;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
}

.navbar {
  background: hwb(200 1% 85% / 0.675);
  padding: 1.2rem;
}

.navbar-brand {
  color: #fff;
  font-size: 2rem;
  display: block;
  text-align: center;
  text-decoration: none;
  font-family: var(--Playfair);
  letter-spacing: 1px;
}

.navbar-nav {
  padding: 0.8rem 0 0.2rem 0;
  text-align: center;
}

.navbar-nav a {
  text-transform: uppercase;
  font-family: var(--Roboto);
  letter-spacing: 1px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  display: inline-block;
  padding: 0.4rem 0.1rem;
  letter-spacing: 3px;
  transition: opacity 0.5s ease;
}

.navbar-nav a:hover {
  opacity: 0.7;
  background: hwb(0 1% 77% / 0.989);
  border-radius: 16px;
}

.blog {
  background: #f9f9f9;
  padding: 4.5rem 0;
  /*background-image: linear-gradient(to right, rgb(30 75 115 / 100%), rgb(200 200 200 / 50%));
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-position:
    bottom right,
    left,
    right;*/
   background: #C3C1A3; 
}

.blog-content {
  margin: 2rem 0;
}

.blog-img {
  position: relative;
  height: 188px;
  width: 200px;
}

.blog-img span {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: var(--exDark);
  color: #fff;
  font-size: 1.4rem;
  padding: 0.3rem 0.6rem;
}

.blog-text {
  margin: 2.2rem 0;
  padding: 0 1rem;
  color: black;
}

.blog-text span {
  font-weight: 300;
  display: block;
  padding-bottom: 0.5rem;
}

h4 {
  font-family: var(--Playfair);
  text-align: center;
  font-weight: 500;
  font-size: 1.3rem;
  color: whitesmoke;
}

h3 {
  font-family: var(--Playfair);
  text-align: center;
  font-weight: 500;
  font-size: 3rem;
  color: rebeccapurple;
  /*font-size: 1.3rem;*/
  /*color: black;*/
  
}

h4 {
  font-family: var(--Playfair);
  text-align: center;
  font-weight: 500;
  font-size: 1.3rem;
  color: white;

}

.blog-text h2 {
  font-family: var(--Playfair);
  padding: 1rem 0;
  font-size: 1.3rem;
  font-weight: 300;
  color: black;
}

.blog-text p {
  font-weight: 600;
  font-size: 1.1rem;
  opacity: 0.9;
  padding-bottom: 1.2rem;
  color: black;
}

.blog-text a {
  font-family: var(--Roboto);
  font-size: 1.1rem;
  text-decoration: none;
  color: var(--dark);
  display: inline-block;
  background: var(--dark);
  color: #fff;
  padding: 0.55rem 1.2rem;
  transition: all 0.5s ease;
}

.blog-text a:hover {
  background: var(--exDark);
}

.blog-tt a {
  font-family: var(--Roboto);
  font-size: 1.1rem;
  text-decoration: none;
  /*color: var(--dark);*/
  background: dimgrey;
  color: white;
  padding: 0.55rem 1.2rem;
    margin-right: auto;
  margin-left: auto;
  transition: all 0.5s ease;
  border-radius: 5px;
  width: 50%;
}

.blog-tt a:hover {
  background: darkslategray;
}

footer {
  background: hwb(200 1% 85% / 0.675);
  color: #fff;
  text-align: center;
  padding: 2rem 0;
}

.social-links {
  display: flex;
  justify-content: center;
  margin-bottom: 1.4rem;
}

.social-links a {
  border: 2px solid #fff;
  color: #fff;
  display: block;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  text-decoration: none;
  margin: 0 0.3rem;
  transition: all 0.5s ease;
}

.social-links a:hover {
  background: #fff;
  background: hwb(0 1% 77% / 0.989);
}

.footer span {
  margin-top: 1rem;
  display: block;
  font-family: var(--Playfair);
  letter-spacing: 2px;
}
.f2 a{
  text-transform: uppercase;
  font-family: var(--Roboto);
  letter-spacing: 1px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  display: inline-block;
  padding: 0.4rem 0.1rem;
  letter-spacing: 3px;
  transition: opacity 0.5s ease;
}
@media screen and (min-width: 540px) {
  .navbar-nav a {
    padding-right: 1.2rem;
    padding-left: 1.2rem;
  }

  .banner-title {
    font-size: 5rem;
  }

  .banner form {
    margin-top: 1.4rem;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
}

@media screen and (min-width: 768px) {
  .navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .search-input {
    padding: 0.8rem 0;
  }

  .design-content {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(2, 1fr);
  }

  .design-item {
    margin: 0;
  }

  .blog-content {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
  }
}

@media screen and (min-width: 992px) {
  .blog-content {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 3rem;
    align-items: center;
  }
}

@media screen and (min-width: 1200px) {
  .design-content {
    grid-template-columns: repeat(3, 1fr);
  }
  .blog-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

