@import url("https://use.typekit.net/luy8gzq.css");

@font-face {
  font-family: "TT Neoris";
  src: url("https://websitedemonow.com/ccs/Fonts/font.woff2") format("woff2"),
    url("https://websitedemonow.com/ccs/Fonts/font.woff") format("woff");
  font-weight: 900;
  font-style: normal;
}

h2{
  font-family: 'TT Neoris', sans-serif;
  margin: 0;
}

h3{
  font-family: 'TT Neoris', sans-serif;
}


p{
   font-family: 'Area Normal', sans-serif;
}
button{
   font-family: 'Area Normal', sans-serif;
}

* {
  padding: 0;
  margin: 0;
}

body {
  height: 100vh;
  overflow: hidden;
}

#Logo {
  width: 81.55px;
  height: 40px;
  position: absolute;
  top: 2.5rem;
  left: 2.5rem;
}

.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ff8599;
  z-index: 9;
  transform: translateX(100%);
  pointer-events: none;
}

.NavbarContainer {
  position: fixed; /* Stick to viewport */
  top: 0;
  right: 0;
  height: 100vh;
  z-index: 10;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
}

/* Modify this to align vertically inside sticky navbar */
.NavbarClose {
  width: 72px;
  height: 100vh;
  display: flex;
  align-items: center;
  flex-direction: column;
  background-color: #fff;
  user-select: none;
}

/* This is the open navbar */
.NavbarOpen {
  width: 416px;
  height: 100vh;
  position: fixed;
  top: 0;
  right: 0;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  justify-content: space-between;
  transform: translateX(100%);
}

#openNavBtn {
  cursor: pointer;
  user-select: none;
  user-select: none;
}

.navicon {
  margin-top: 40px;
  background-color: #fff;
  padding: 12px 16px;
  user-select: none;
}

.NavbarClosebtndiv {
  display: block;
  text-align: end;
  padding: 0;
  width: 100%;
}

.NavLayout {
  width: 256px;
  font-family: "TT Neoris", sans-serif;
  font-weight: 900;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.16px;
  text-transform: uppercase;
}

.Navlayfirst {
  width: 100%;
  align-items: center;
  display: flex;
  flex-direction: column;
}

.NavLayoutText {
  display: block;
  padding: 16px 0px;
  font-size: 16px;
  font-weight: 900;
  border-bottom: 1px solid black;
  color: black;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
}

.NavLink {
  padding: 16px 0px;
  display: flex;
  gap: 1rem;
  cursor: pointer;
  user-select: none;
}

.NavLayoutDown {
  width: 256px;
  padding-bottom: 48px;
  height: 288px;
  position: absolute;
  bottom: 0;
  justify-content: end;
  gap: 1rem;
  display: flex;
  flex-direction: column;
  align-items: normal;
}

.NavbarPera {
  font-weight: 900;
  font-family: "Area Normal", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.16px;
}

.NavComPera {
  width: 200px;
}
.NavComtitle {
  display: flex;
  gap: 1rem;
  flex-direction: column;
}
.NavCloseBtn {
  align-items: end;
  background-color: #fff;
  cursor: pointer;
  border: none;
}

main{
  display: flex;
  height: 100vh;
  width: fit-content;
  flex-shrink: 0;
}

.section-one{
  display: flex;
  height: 100vh;
  width: 100vw;
}

.left {
  background-color: white;
  width: 536px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

#TextBlue {
  color: #0237F7;
  font-size: 24px;
  font-weight: 900;
  text-transform: capitalize;
  text-wrap: balance;
  padding-bottom: 2rem;
}

#detailsText {
  padding-bottom: 1rem;
  font-size: 24px;
}


#leftThirdtext{
  font-weight: 800;
  font-size: 20px;
  word-spacing: 8px;
}
.content {
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: 12rem 3rem;
  width: auto;
  gap: 1rem;
  margin-right: 3rem;
}

.Right {
  width: 100%;
  height: 100%;
  background-image: url(https://websitedemonow.com/ccs/Res/work/card.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}


/* Section 2 */

.section-two{
  width: 100vw;
  height: 100%;
  display: flex;
}

.section-two-left{
  width: 640px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-right: 3rem;
  margin-left: 6rem;
}

.section-two-left p{
  font-size: 20px;
  color: #0A0B14;
  width: 496px;
  margin-top: 12rem;
}

.section-two-right{
  display: flex;
  gap: 1.5rem;
}

/* Base layout for both grids */
.sec-layout {
  aspect-ratio: 1/1;
  display: grid;
  gap: 2.5svh;
  height: 78svh;
  margin: 10svh 0;
}

.sec-layout div {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* Ensures the image doesn’t overflow */
}

.sec-layout img {
  object-fit: cover; /* Ensures the image covers the entire div, maintaining aspect ratio */
  width: 100%;
  height: 100%;
}

/* Styling for secGrid1 */
.sec-layout-aabc {
  grid-template: 
    "a a"
    "b c";
}

.sec-layout-aabc > div:nth-of-type(1) {
  grid-area: a;
}

.sec-layout-aabc > div:nth-of-type(2) {
  grid-area: b;
}

.sec-layout-aabc > div:nth-of-type(3) {
  grid-area: c;
}

.sec-layout-aaaa > div:nth-of-type(1) {
  grid-area: a;
}

.section-two-rightLast{
  width: 405px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  margin-right: 416px;
}

.project-navigation {
  height: 76svh;
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 1rem;
  width: 100%;
}

.project-navigation button{
  padding: 1rem;
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
  color: #231F20;
  word-spacing: 32px;
  text-align: center;
  background: transparent;
  display: flex;
  justify-content: center;
}


.nav-buttons {
  display: flex;
  gap: 1rem;
}
.nav-buttons img{
  margin: 0 8px;
  align-self: center;
  width: 12px;
}

.nav-buttons button {
  flex: 1 1 50%;
}

.view-all {
  width: 100%;
}
