@font-face {
  font-family: Susa60-Medium;
  src: url("../fonts/Susa60-Medium.otf") format("opentype");
}
@font-face {
  font-family: Susa60-Regular;
  src: url("../fonts/Susa60-Regular.otf") format("opentype");
}

/* @font-face {
  font-family: TWKLausanne-500;
  src: url("../fonts/Susa60-Medium.otf") format("opentype");
  unicode-range: U+0041-005A, U+0061-007A, U+0020-002F, U+003A-0040, U+005B-0060,
    U+007B-007E, U+0030-0039;
} */

/* @font-face {
  font-family: Gothic A1;
  src: url("https://fonts.googleapis.com/css2?family=Gothic+A1:wght@500&display=swap");
} */

::selection {
    background-color: #884723;
    color: #efff77;
}

* {
  margin: 0;
  padding: 0;
  font-family: "Susa60-Regular", sans-serif;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-weight: normal;
  letter-spacing: 0.1;
}

body {
  margin: 0;
}
.container {
  position: relative;
}
h1 {
  padding: 20px;
  font-weight: 500;
}
a {
  text-decoration: none;
  color: black;
}
.menu {
  position: fixed;
  width: 100vw;
  height: 2vw;
  margin-left: 8%;
  font-size: 1.5vw;
  background-color: #efff77;
}
.siteUl {
  margin: 0;
  padding: 0;
  display: inline;
  list-style-type: none;
  position: relative;
  display: grid;
  grid-auto-columns: 1fr;
  grid-template-columns: 2.2fr 1fr 1fr 1fr 1fr 1fr 1.2fr;
  grid-template-rows: 1fr;
  gap: 0px 0px;
  grid-template-areas: "allprojects graphic web branding editorial oops blank";
}
.siteLi {
  float: left;
  text-align: center;
  height: 2vw;
  border-right: 1vw solid #571010;
  cursor: pointer;
  transition: all 0.1s ease-in-out;
}
.siteLi a {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.siteLi:hover {
  background-color: #884723;
}
.menuBlank {
  grid-area: blank;
  background-color: #884723;
}

/* -------- nagizin about contact -------- */
/* -------- LeftColumn -------- */
.leftColumn {
  font-size: 1.5vw;
  text-align: center;
  justify-content: center;
  align-items: center;
  position: fixed;
  width: 8vw;
}
.header {
  background-color: #571010;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 0.3fr 1.2fr 1.2fr 0.3fr;
  grid-column-gap: 0px;
  grid-row-gap: 1.5vh;
  height: 100vh;
  grid-template-areas:
    "logo"
    "about"
    "contact"
    "footerBlank";
}

.header li {
  list-style: none;
}
.logo {
  cursor: pointer;
  background-color: rgb(243 171 255);
  /* background-color: #FFAD80; */
  grid-area: logo;
  display: flex;
  transition: all 0.2s ease-in-out;
  width: 100%;
  height: 100%;
}
.logo a {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}
.logo:hover{
    transform: rotate(-7deg);
}
.logoBg {
  cursor: pointer;
  background-color: #884723;
  grid-area: logo;
  display: flex;
}
.about {
  grid-area: about;
}
.about a {
  grid-area: about;
}
.aboutBg {
  grid-area: about;
}
.contact {
  grid-area: contact;
}
.contact a {
  grid-area: contact;
}
.contactBg {
  grid-area: contact;
}
.about,
.contact {
  height: 100%;
  width: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease-in-out;
  border-top: 0.5vh solid #884723;
  border-bottom: 0.5vh solid #884723;
}
.about a,
.contact a {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  background-color: #ffffef;
  border: 0px solid #00e777;
}
.aboutBg,
.contactBg {
  height: 100%;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  display: flex;
  border: 0px solid #ffffef;
}
.aboutBg:hover > .about a {
  border: 0.5vw solid #884723;
  transition: all 0.2s ease-in-out;
}
.contactBg:hover > .contact a {
  border: 0.5vw solid #884723;
  transition: all 0.2s ease-in-out;
}

.footerBlank {
  grid-area: footerBlank;
  background-color: rgb(243 171 255);
  /* border-radius: 100%; */
}

/*---- Main ----*/
.main {
  z-index: 0;
  margin-top: 2vw;
  margin-left: 8%;
  position: absolute;
}
.projmain {
  z-index: 0;
  margin-top: 2vw;
  margin-left: 8%;
  position: absolute;
}
.mainContainer {
  position: fixed;
  width: 92vw;
  height: 100vh;
  display: grid;
  grid-auto-columns: 1fr;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  gap: 0px 0px;
  grid-template-areas: "imgSection";
  overflow-y: scroll;
  padding-bottom: 10vw;
}

.projects {
  margin: 0;
  padding-top: 0;
  /* padding-left: 0.5vw;
    padding-right: 0.5vw; */
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  background-color: #dfdbcc;
  grid-column-gap: 0.5vw;
  grid-row-gap: 0.5vw;
}
.projects img {
  padding: 0px;
  margin: 0;
  width: 100%;
  /* height: 100%; */
}
.projectsLi {
  background-color: #571010;
}
.projectsLi img {
  transition: all 0.2s ease-in-out;
}
.projectsLi img:hover {
  transform: rotate(5deg);
}
.pagination {
  display: flex;
  /* justify-content: space-between; */
  justify-content: center;
  padding-bottom: 1.2vw;
}
.pagination a {
  padding: 0.5vh 0.5vh 0vh 0.5vh;
  background-color: #dfdbcc;
  font-size: 1.5vw;
  margin-left: 1vw;
  margin-right: 1vw;
}
.pageInfo {
  padding: 0.5vh 0.5vh 0vh 0.5vh;
  margin-left: 1vw;
  margin-right: 1vw;
  background-color: #dfdbcc;
  font-size: 1.5vw;
}
.pageDeactive {
  background-color: #dfdbcc;
  font-size: 1.5vw;
}

/* about */

.mainContainer::-webkit-scrollbar {
  width: 1.2vw;
}

.mainContainer::-webkit-scrollbar-track {
  background-color: #ffffef;
}

.mainContainer::-webkit-scrollbar-thumb {
  background-color: #571010;
}
.mainContainer::-webkit-scrollbar-button:start:decrement {
  display: block;
  height: 1.2vw;
  background-color: #571010;
  cursor: pointer;
}
.mainContainer::-webkit-scrollbar-button:end:increment {
  display: block;
  height: 1.2vw;
  background-color: #571010;
  border-radius: 0%;
  cursor: pointer;
}

h1 {
  margin: 0;
  padding: 0;
  font-weight: 800;
}

.about_mainContainer {
  padding: 1vw 4vw 5vw 4vw;
  position: fixed;
  width: 92vw;
  height: 100vh;
  background-color: #dfdbcc;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  gap: 0px 3vw;
  grid-auto-flow: row;
  grid-template-areas: "profile cv";
  overflow-y: scroll;
}

.profileContainer {
  grid-area: profile;
}

.profileName {
  font-size: 1.2rem;
  padding: 0.5vh;
  background-color: #ffffef;
  display: inline;
  padding-top: 0.5vw;
}
.profileText {
  background-color: #ffffef;
  padding: 0.8vh;
  font-size: 0.9rem;
  line-height: 1.2rem;
}
.profileTextDetail {
  list-style: none;
  padding-left: 0.8vh;
}
.profileTextDetail > a {
    color: #884723;
    font-style: normal;
    text-decoration: underline dotted #571010;
}
.profileTextDetail > a:hover {
  background-color: #00e777;
  padding: 5px 0 0 0;
}

.profileTextUnderline {
  font-style: normal;
  text-decoration: underline dotted rgb(39, 89, 255);
}
.profileTextUnderline:hover {
  background-color: rgb(255, 174, 220);
  padding: 5px 0 0 0;
}

.about_box_1 {
  width: 15px;
  height: 15px;
  background-color: #ffffef;
  position: absolute;
  top: 28vh;
  left: 45vw;
  cursor: pointer;
}
.about_box_2 {
  width: 15px;
  height: 15px;
  background-color: #ffffef;
  position: absolute;
  top: 60vh;
  left: 45vw;
  cursor: pointer;
}

.profileImage {
  display: none;
  width: 150px;
  height: auto;
  margin-top: 20px;
  position: absolute;
}
.dog {
  display: none;
  width: 300px;
  height: auto;
  top: 30vh;
  left: 70vw;
  position: absolute;
}

/*-------------------- 900px -------------------- */
@media (max-width: 900px) {
  .mainContainer {
    padding: 1vw 0vw 0vw 0vw;
    position: fixed;
    /* width: 89vw; */
    height: 100vh;
    /* background-color: #dfdbcc; */
    display: block;
    overflow-y: scroll;
    padding-bottom: 40vw;
  }
  .mainContainer::-webkit-scrollbar {
    width: 1.8vw;
  }
  .mainContainer::-webkit-scrollbar-button:start:decrement {
    height: 1.8vw;
  }
  .mainContainer::-webkit-scrollbar-button:end:increment {
    height: 1.8vw;
  }
  .profileName {
    font-size: 1.1rem;
    padding-top: 0.8vw;
  }
  .profileText {
    font-size: 0.9rem;
    line-height: 1.2rem;
  }
  .cvTitle {
    font-size: 1rem;
  }
  .cvTitle:nth-of-type(1) {
    margin-top: 2vw;
  }
  .cvYear {
    font-size: 1rem;
  }
  .cvText {
    font-size: 1.2rem;
  }
}

/*-------------------- 600px -------------------- */
/* @media (max-width: 640px) */

@media (max-width: 600px) and (orientation: portrait) {
  .projectsLi {
    background-color: #571010;
  }
  .profileName {
    font-size: 1.1rem;
    padding-top: 1vw;
  }
  .profileText {
    font-size: 0.9rem;
    line-height: 1.2rem;
  }
  .cvTitle {
    font-size: 1rem;
    line-height: 1.3rem;
  }
  .cvYear {
    font-size: 0.9rem;
  }
  .cvText {
    font-size: 0.9rem;
  }

  .mainContainer::-webkit-scrollbar {
    width: 3vw;
  }

  .mainContainer::-webkit-scrollbar-track {
    background-color: #ffffef;
  }

  .mainContainer::-webkit-scrollbar-thumb {
    background-color: #571010;
  }
  .mainContainer::-webkit-scrollbar-button:start:decrement {
    display: block;
    height: 3vw;
    background-color: #571010;
    border-radius: 100%;
    cursor: pointer;
  }
  .mainContainer::-webkit-scrollbar-button:end:increment {
    display: block;
    height: 3vw;
    background-color: #571010;
    border-radius: 0%;
    cursor: pointer;
  }
}
