:root {
  --mainText: black;
  --secondaryText: #4b5156;

  --mainColor: #eaeaea;
  --secondaryColor: #fff;

  --borderColor: #c1c1c1;

  --themeDotBorder: #24294e;

  --previewBg: rgb(251, 249, 243, 0.8);
  --previewShadow: #f0ead6;

  --buttonColor: black;
}

html,
body {
  padding: 0;
  margin: 0;
}

body * {
  transition: 0.3s;
}

h1,
h2,
h3,
h4,
h5,
h6,
strong {
  color: var(--mainText);
  font-family: "Open Sans", sans-serif;
  font-weight: 500;
}

p,
li,
span,
label,
input,
textarea {
  color: var(--secondaryText);
  font-family: "Space Mono", monospace;
}

a {
  text-decoration: none;
  color: #17a2b8;
}

h1 {
  font-size: 56px;
}

h2 {
  font-size: 36px;
}

h3 {
  font-size: 28px;
}

h4 {
  font-size: 24px;
}

h5 {
  font-size: 20px;
}

h6 {
  font-size: 16px;
}

ul {
  list-style: none;
}

.s1 {
  background-color: var(--mainColor);
  /* border-bottom: 1px solid var(--borderColor); */
  padding-bottom: 20px;
  overflow: auto;
}

.s2 {
  padding-bottom: 20px;
  background-color: var(--mainColor);
  /* border-bottom: 1px solid var(--borderColor); */
  overflow: auto;
}

.main-container {
  width: 1200px;
  margin: 0 auto;
}

.greeting-wrapper {
  display: grid;

  min-height: 20em;
  text-align: center;
  align-content: center;
}

.intro-wrapper {
  margin-top: 40px;
  background-color: var(--secondaryColor);
  border: 1px solid var(--borderColor);
  border-radius: 5px 5px 0 0;

  box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.64);
  -webkit-box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.64);
  -moz-box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.64);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 3em 30em;
  grid-template-areas:
    "nav-wrapper nav-wrapper"
    "left-column right-column";
}

.nav-wrapper {
  grid-area: nav-wrapper;
  border-bottom: 1px solid var(--borderColor);
  background-color: var(--mainColor);
  display: flex;
  justify-content: space-between;
  align-items: center;



}



.header-wrapper {
  border-bottom: 1px solid var(--borderColor);
  background-color: var(--mainColor);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 15px;
  padding-right: 15px;
}



#navigation {
  margin-right: 25px;
  padding: 10px;
}

#navigation li {
  display: inline-block;
  margin-left: 5px;
  margin-right: 5px;
}

#navigation a {
  color: var(--mainText)
}

.dots-wrapper {
  display: flex;
  padding: 15px;
}

#dot-1 {
  background-color: #fc6058;
}

#dot-2 {
  background-color: #fec02f;
}

#dot-3 {
  background-color: #2aca3e;
}

#profile_pic {
  height: 200px;
  width: 200px;
  display: block;
  margin: 0 auto;
  object-fit: cover;
  border: 2px solid var(--borderColor);
}

.theme-dot {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  cursor: pointer;
  margin: 5px;
  border: 2px solid var(--themeDotBorder);

}

.theme-dot:hover {

  border-width: 5px;
}


#light-mode {
  background-color: #fff;
}

#blue-mode {
  background-color: #192734;
}

#pink-mode {
  background-color: #9a8C98;
}

#purple-mode {
  background-color: #413c60;
}

#settings-note {
  font-size: 12px;
  text-align: center;
  font-style: italic;
}

#theme-options-wrapper {
  display: flex;
  justify-content: center;
}

.browser-dot {
  height: 15px;
  width: 15px;
  border-radius: 50%;
  margin: 5px;
}

.left-column {
  grid-area: left-column;
  padding-top: 40px;

}

.right-column {
  padding-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}






#preview-shadow {
  border: 1px solid var(--borderColor);
  margin-left: 25px;
  margin-right: 25px;
  ;
  padding: 10px 15px;
  width: fit-content;
  background-color: var(--previewShadow);
}

.corner {
  height: 7px;
  width: 7px;
  border: 1.5px solid #17a2b8;
  border-radius: 50%;
  background-color: #fff;

}

#corner-top-left {
  top: -5px;
  left: -5px;
}

#corner-top-right {
  top: -5px;
  right: -5px;
}

#corner-bottom-left {
  bottom: -5px;
  left: -5px;
}

#corner-bottom-right {
  bottom: -5px;
  right: -5px;
}

.about-wrapper {
  border: solid 1px var(--borderColor);

  padding-bottom: 50px;
  background-color: var(--secondaryColor);
  display: grid;

  box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.64);
  -webkit-box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.64);
  -moz-box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.64);
}

.skill-wrapper {
  box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.64);
  -webkit-box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.64);
  -moz-box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.64);
  border: solid 1px var(--borderColor);

  background-color: var(--secondaryColor);


}


.skill-list {
  padding-inline-start: 0px;
}



#about-me>p {
  padding: 20px;
}

#skills {

  display: flex;
  justify-content: space-evenly;
  background-color: var(--previewBg);
}

.skill-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 120px
}

.skill-list-wide>.skill-item {
  width: 180px;
}

.greeting-text {
  display: flex;
  justify-content: center;
}

#services {
  background-color: (var(--previewShadow));
}

.service-list>li {
  margin: 10px 10px;
  border: 2px solid black;
  padding: 10px 15px;
  width: fit-content;
}

.post-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, 320px);
  gap: 20px;
  justify-content: center;
  padding-bottom: 50px;

}

.post {
  border: 1px solid var(--borderColor);
  box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.64);
  -webkit-box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.64);
  -moz-box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.64);
}




.thumbnail {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.post-preview {
  padding: 10px 15px;
  border-top: solid 1px var(--borderColor);
  background-color: var(--secondaryColor);
}

.post-title {
  margin: 0;
  font-size: 18px;
  padding: 0;
  text-align: center;
  border-bottom: solid 1px var(--borderColor);
}

.post-intro {

  min-height: 100px;
  font-size: 16px;
}

#submit-btn {
  margin-top: 10px;
  width: 100%;
  padding-top: 10px;
  padding-bottom: 10px;
  color: #fff;
  background-color: var(--buttonColor);
  border: none;
}

#contact-form {
  display: block;
  max-width: 600px;
  margin: 0 auto;
  padding: 15px;
  border-radius: 5px;
  border: 1px solid var(--borderColor);
  background-color: var(--mainColor);
  margin-bottom: 50px;


}

#contact-form label {
  line-height: 2.5em;
}

#contact-form textarea {
  min-height: 100px;
  font-size: 14px;
}

.input-field {
  margin-right: 3px;
  width: 100%;
  padding-top: 10px;
  padding-bottom: 10px;
  border-radius: 5px;
  border: 1px solid var(--borderColor);
  background-color: var(--secondaryColor);
  font-size: 14px;

}






@media screen and (max-width: 1200px) {
  .main-container {
    width: 95%;
  }
}

@media screen and (max-width: 800px) {
  .intro-wrapper {
    grid-template-columns: 1fr;
    grid-template-areas:
      "nav-wrapper"
      "left-column"
      "right-column";
  }

  .right-column {
    justify-content: center;
  }
}

@media screen and (max-width: 500px) {
  #skills {
    flex-direction: column;
    align-items: center;
  }

  .skill-item {
    width: 160px;
  }

}