body, html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

@media only screen and (max-width: 430px) {
.proiecte {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  background-color: #ffffff;
  height: 660vw;
}
/*exemple*/
.exemple {
  position: absolute;
  width: 100vw;
  height: 72vw;
  top: 8vw;
  left: 1vw;
}

.titluexemple {
  position: absolute;
  left: 2vw;
  width: 67vw;
  height: 34vw;
  font-family: "Raleway-Bold", Helvetica;
  font-weight: 700;
  color: rgba(50, 101, 179, 1);
  font-size: 7vw;
  line-height: 150%;
  font-style: normal;
}

.categorii {
  position: absolute;
  width: 100vw;
  height: 55.4vw;
  top: 57vw;
}

.mobilecategori {
  position: relative;
  left: 7vw;
  margin-bottom: 8vw;
  width: 84vw;
  height: 69vw;
}

.mobilecategori:hover, .articol:hover {
  opacity: 0.9;
  cursor: pointer;
}

.mobileimg {
  position: relative;
  border-radius: 7vw;
  width: 84vw;
  height: 69vw;
  object-fit: cover;
}

.denumire {
  text-shadow: 0px 1px 4px #3265B3CC;
  position: absolute;
  height: 7vw;
  top: 30%;
  left: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  font-family: "Raleway-Medium", Helvetica;
  font-weight: 600;
  color: white;
  font-size: 6vw;
  line-height: normal;
  text-decoration: underline;
  white-space: nowrap;
}

.articol {
  transition-duration: 0.4s;
  border-radius: 6vw;
  background-color: #3265B3;
  color: white;
  border: 0px;
  width: 33.3vw;
  height: 10.3vw;
  position: absolute;
  z-index: 1;
  top: 70%;
  left: 51%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
}

.articol:hover{
  cursor:pointer;
  border: 0.02vw solid #3265B3;
  background-color: white;
  color: #000000;
}

.acces {
  font-size: 3vw;
  margin-block-start: 0px;
  margin-block-end: 0px;
}
/*endexemple*/
}

@media only screen and (min-width: 431px) {
.proiecte {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  background-color: #ffffff;
  height: 122vw;
}
/*exemple*/
.exemple {
  position: absolute;
  width: 100vw;
  height: 72vw;
  top: 8vw;
}

.titluexemple {
  position: absolute;
  width: 57vw;
  height: 9vw;
  left: 2vw;
  font-family: "Raleway-Bold", Helvetica;
  font-weight: 700;
  color: rgba(50, 101, 179, 1);
  font-size: 3vw;
  line-height: 150%;
  font-style: normal;
}

.categorii {
  position: absolute;
  width: 100vw;
  height: 55.4vw;
  top: 16.2vw;
  left: 1.6vw;
}

.primul {
  position: absolute;
  width: 38.6vw;
  height: 32.17vw;
}

.primul:hover, .articol:hover {
  opacity: 0.9;
  cursor: pointer;
}

.primulimg {
  width: 38.6vw;
  height: 32.17vw;
  border-radius: 2vw;
  object-fit: cover;
}

.doilea {
  position: absolute;
  width: 38.6vw;
  height: 20.4vw;
  bottom: 0;
}

.doilea:hover, .articol:hover {
  opacity: 0.9;
  cursor: pointer;
}

.doileaimg {
  width: 38.6vw;
  height: 20.4vw;
  border-radius: 2vw;
}

.treilea {
  position: absolute;
  width: 26.2vw;
  height: 25.5vw;
  bottom: 0;
  left: 41.2vw;
}

.treilea:hover, .articol:hover {
  opacity: 0.9;
  cursor: pointer;
}

.treileaimg {
  width: 26.2vw; 
  height: 25.5vw;
  border-radius: 2vw;
  object-fit: cover;
}

.patrulea {
  position: absolute;
  width: 26.2vw;
  height: 25.5vw;
  bottom: 0;
  right: 4vw;
}

.patrulea:hover, .articol:hover {
  opacity: 0.9;
  cursor: pointer;
}

.patruleaimg {
  width: 26.2vw;
  height: 25.5vw;
}

.cincilea {
  position: absolute;
  width: 54.94vw;
  height: 27.3vw;
  right: 4vw;
}

.cincilea:hover, .articol:hover {
  opacity: 0.9;
  cursor: pointer;
}

.cincileaimg {
  width: 54.94vw; 
  height: 27.3vw;
  object-fit: cover;
  object-position: 0 -4vw;
  border-radius: 2vw;
}

.denumire {
  text-shadow: 0px 1px 4px black;
  position: absolute;
  text-align: center;
  width: 25vw;
  height: 3vw;
  top: 15%;
  left: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  font-family: "Raleway-Medium", Helvetica;
  font-weight: 600;
  color: white;
  font-size: 2vw;
  line-height: normal;
  text-decoration: underline;
}

.articol {
  transition-duration: 0.4s;
  border-radius: 1vw;
  background-color: #3265B3;
  color: white;
  border: 0px;
  width: 13.3vw;
  height: 3.3vw;
  position: absolute;
  z-index: 1;
  top: 80%;
  left: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
}

.articol:hover{
  cursor:pointer;
  border: 0.02vw solid #3265B3;
  background-color: white;
  color: #000000;
}

.acces {
  font-size: 1vw;
  margin-block-start: 0px;
  margin-block-end: 0px;
}
/*endexemple*/
}

.header {
  position: relative;
  width: 100vw;
  height: 80vw;
}

.navbar {
  display: inline-flex;
  align-items: flex-start;
  gap: 36px;
  position: absolute;
  top: 3vw;
  left: 0;
}

.topbar{
  position: absolute;
  left: 0;
  top: -4vw;
  width: 100vw;
  text-align: center;
  table-layout: fixed;
}

.active {
  position: relative;
  font-family: "Raleway-Medium", Helvetica;
  font-weight: 500;
  color: #3265b3;
  font-size: 1.5vw;
  padding: 1vw;
  white-space: nowrap;
  vertical-align: middle;
}

.search{
  width: 2vw;
  height: 8vw;
}