* {
  margin: 0;
  padding: 0;
  user-select: none;
}

img {
  display: block;
  width: 100%;
}

@font-face {
  font-family: milenium;
  src: url(../fonts/milenium.TTF);
}

@font-face {
  font-family: mmbrb;
  src: url(../fonts/mmbrb.TTF);
}

body {
  font-family: 'Lato', sans-serif;
  background-color: black;
}

a {
  text-decoration: none;
  color: inherit;
}

h2 {
  font-family: 'Montserrat', sans-serif;
  color: #b3261f;
}

p {
  font-family: 'Crimson Text', serif;
  line-height: 29px;
}

::-webkit-scrollbar {
  width: 2px;
  height: 2px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #19351f;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* slider */

.fullBackground {
  background-position: center center;
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
}


/* Header start */

.mainHeader {
  left: 0;
  top: 0;
  position: relative;
  width: 100%;
  height: 100vh;
}

.mainHeader:after {
  content: '';
  background-color: rgba(0, 0, 0, 0.7);
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
}

.menuBlock {
  justify-content: space-around;
  align-items: center;
  display: flex;
  position: relative;
  z-index: 111111;
}

.logoBlock {
  width: 30%;
}

.logoblock img {
  padding-top: 20px;
  width: 100px;
}

.navMenu {
  width: 70%;
  box-sizing: border-box;
  color: #ffff;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.menuItem {
  position: relative;
  cursor: pointer;
  margin: 30px;
  transition: .3s ease-in-out;
}


.menuItem:hover{
 color: #b3261f;
}

.socMedia {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  color:  white;
}

.socMedia a {
  display:  block;
}

.socMediaBlock {
  width: 30px;
  height: 30px;
  border: 1px solid #b3261f;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #FFFDD5;
}

.socMedia a:nth-child(1) {
  color:  blue;
}

.socMedia a:nth-child(2) {
  color:  #b3261f;
}


.infoBlock {
  text-align: center;
  position: absolute;
  z-index: 1111;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: 900px;
}

.infoBlock h2 {
  line-height: 90px;
  color: white;
  font-size: 40px;
  font-family: milenium;
}

.infoBlock span {
  font-family: mmbrb;
  text-transform: uppercase;
}

.infoBlock p {
  margin-top: 15px;
  line-height: 34px;
  color: white;
  font-size: 18px;
}


/* sticky menu start */

.stickyBlock {
  width: 100%;
  background-color: #3b74a8;
  display: flex;
  align-items: center;
  justify-content: space-around;
  position: fixed;
  left: 0;
  top: -70px;
  z-index: 111111;
  transition: .3s ease-in-out;
  height: 60px;
  box-shadow: 0 2px 4px #4d7696;
}

.stickyLogoBlock {
  width: 30%;
}

.stickyLogoBlock img {
  width: 50px;
}

.stickMenu {
  width: 70%;
  height: 60px;
  color: #FFFDD5;
}

.darkLines {
  background-color: #c1f7f9;
}

.stikAdd {
  top: 0;
}


/* mobile menu start */

.mobileMenuBtn {
  display: none;
  position: fixed;
  left: 20px;
  top: 20px;
  cursor: pointer;
  background-color: white;
  border-radius: 5px;
  border: 1px solid #f1f1f1;
  width: 40px;
  height: 40px;
  padding: 5px;
  z-index: 11111111111;
}

.mobileMenuBtn i {
  pointer-events: none;
  font-size: 25px;
  font-weight: lighter;
}

.mobileMenuBtn:focus {
  outline: none;
}

.mobileMenuBtn:active {
  box-shadow: 0 0 0 2px lightgrey;
}

.mobileMenu {
  position: fixed;
  transition: .3s ease-in-out;
  left: -310px;
  top: 0;
  background-color: #3b74a8;
  width: 300px;
  height: 100vh;
  z-index: 1111111111;
  box-shadow: 0 2px 4px #4d7696;
}

.mobileMenu a {
  display: block;
}

.sideLogoBlock {
  height: 80px;
  width: 96%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  border-bottom: 2px solid #202e65;
  margin: auto;
}

.sideLogoBlock img {
  width: 60px;
}

.mobItem {
 transition: .2s;
 text-align: center;
 border-bottom: 2px solid #202e65;
 width: 96%;
 margin: 0px auto;
 padding: 10px 0;
 transition: .3s ease-in-out;
}

.mobItem:hover {
  font-size: 20px;
  color: darkblue;
}

.mobSocMedia {
  background-color: #f1f1f1;
  padding: 10px 0;
  border-radius: 10px;
  width: 96%;
  border: 5px double #e0d7d7;
  margin: 20px auto;
}

.mobSocBlock {
  background-color: white;
  border: none;
  width: 40px;
  height: 40px;
  font-size: 23px;
  border-radius: 50%;
  box-shadow: 0 0 2px grey;
}


/*js classes*/

.openMenu {
  left: 0;
}

.fixBlock {
  overflow: hidden;
}


/* About start */

.mainAbout {
  width: 100%;
  background-color: white;
  text-align: justify;
}

.aboutTitle {
  padding: 0 20px;
}

.undAbout {
  max-width: 310px;
  margin: 15px auto 30px;
}

.flexBox {
  display: flex;
  align-items:  center;
  justify-content:  center;
  gap: 30px;
  padding: 40px 0;
}

.autorBlock {
  max-width: 800px;
}

.infoAboutMe {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-radius: 5px;
  background-color: #f1f1f1;
  max-width: 400px;
  width: 100%;
  padding: 20px;
  font-size: 20px;
  height: 100%;
  margin: 10px auto;
}

.infoAboutMe div {;
  padding-bottom: 10px;
  font-size: 40px;
  font-weight: bold;
}

.infoAboutMe p {;
 /*letter-spacing: 1px;*/
}

.infoAboutMe img {
 width: 150px;
 padding: 20px 0;
}



/* portfolio start */

.mainPortfolio {
  box-sizing: border-box;
  background-color: #F5F5F5;
  width: 100%;
}

.titleBlock {
  padding: 50px 0 0;
  text-align: center;
}

.titleBlock h2 {
  font-family: mmbrb;
  letter-spacing: 2px;
  font-size: 40px;
  text-transform: uppercase;
}

.smallLetter {
  font-size: 30px;
}

.underScore {
  line-height: 20px;
  display: block;
  height: 2px;
  background-color: #3b74a8;
}

.undPort {
  max-width: 190px;
  margin: 15px auto;
}

.categorySection {
  box-sizing: border-box;
  width: 90%;
  margin: 60px auto;
}

.portfolioMenu {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 50px;
}

.portItem {
  font-size: 20px;
  cursor: pointer;
  transition: .2s ease-in-out;
  border: 2px solid transparent;
  opacity: 0.5;
  position:  relative;
  border-radius: 5px;
  padding: 10px;
  text-transform: capitalize;
}

.portItem:hover,
.portBorder {
  opacity: 1;
  color: initial;
}

.portBorder {
  border: 3px solid orange;
}

.portItem hr {
  margin: 10px auto 0;
  z-index: 11;
  left: 0;
  top: 0;
  top: 10px;
  height: 3px;
  width: 0;
  transition: .2s ease-in-out;
  border-radius: 10px;
  border: none;
  background-color: darkgoldenrod;
}

.portInfoSection {
  text-align: center;
  background-color: white;
  max-width: 1164px;
  box-sizing: border-box;
  max-height: 0;
  overflow: hidden;
  font-size: 20px;
  transition: max-height .3s ease-in;
}

.portInfoSectionActive {
  margin: 15px auto;
  padding: 5px 10px;
  max-height: 600px;
}

.portfolioBlock {
  width: 90%;
  margin: 10px auto 0;
  box-sizing: border-box;
  padding-bottom: 50px;
  grid-gap: 20px;
  display: grid;
  align-items: flex-end;
  grid-template-columns: repeat(4, 1fr);
}

.img {
  width: 100%;
  height: 300px;
}

.img img {
  height:  100%;
  object-fit: cover;
  object-position: center;
  cursor: pointer;
  transition: .3s ease-in-out;
  width: 100%;
  border-radius: 10px;
}

.img img:hover {
  filter: brightness(30%);
}

.grImgBlock:hover span {
  opacity: 1;
}

.grImgBlock {
  position: relative;
}

.grImgBlock span {
  pointer-events: none;
  transition: .3s ease-in-out;
  color: white;
  position: absolute;
  left: 50%;
  opacity: 0;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 30px;
}

.portfolioHiddenBlock {
  height: 100vh;
  width: 100%;
  visibility: hidden;
  position: fixed;
  z-index: 1111111;
  background-color: rgba(10, 20, 20, .9);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  perspective: 1000px;
  transition: .5s ease-in-out .01s;
}

.hidReg {
  background-color: white;
  overflow: auto;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0);
  box-sizing: border-box;
  padding: 5px;
  opacity: 0;
  visibility: hidden;
  transition: .5s ease-in-out;
}

.activateHiddenBlock {
  visibility: visible;
}

.hidRegActive {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}


/* product page */

.prodBox {
  text-align: center;
  justify-content: space-between;  
  max-width: 700px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.prodBox:hover #left {
  opacity: 1;
  left: 20px;
}

.prodBox:hover #right {
  opacity: 1;
  right: 20px;
}

.arr {
  cursor: pointer;
  opacity: 0;
  position: absolute; 
  top: 50%;
  transform: translateY(-50%);
  height: 50px;
  width: 50px;
  border-radius: 50%;
  text-align: center;
  line-height: 50px;
  background-color: white;
  border: 1px solid black;
  transition: .3s ease-in-out;
  transition-property: left, right, opacity;
  box-shadow: 2px 2px 4px black;
  z-index: 1;
}

.arr:active {
  box-shadow: 2px 2px 4px black inset;
  line-height: 52px;
}

#left {
  left: -70px;
}

#right {
  right: -70px;
}

.close {
  background-color: white;
  width: 35px;
  height: 35px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  position: absolute;
  right: 25px;
  top: 25px;
  cursor: pointer;
}



.prodImg img {  height:  100%;
}

/*.prodImg img {
  width: 100%;
  display: block;
}

.prodInfoBlock {
  padding: 0 20px;
  width: 90%;
  margin: auto;
  align-items: center;
  justify-content: center;
}

#productTitle {
  font-size: 20px;
}

#productTitle span {
  font-size: 16px;
  font-weight: initial;
  color: grey;
}

#productDescriptin {
  margin-top: 10px;
}
*/
/*flower section*/

.flowerSection {
  width: 100%;
  height: 80vh;
  background-position: center;
  background-attachment: fixed;
  background-size: contain;
  background-repeat: no-repeat;
  background-image: url(../images/weddings/cardInfo.jpg);
}

/* footer start */

.mainFooter {
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #283a3b;
  height: 100px;
  gap: 20px;
}

.mainFooter img {
  width:  100px;
  display:  bloack;
}


.btnUp {
  display: none;
  cursor: pointer;
  position: fixed;
  right: 40px;
  bottom: 40px;
  z-index: 111;
  width: 40px;
  height: 40px;
  background-color: #b3261f;
  box-shadow: 0 0 3px black;
  border-radius: 5px;
  color: #1C1C1C;
}

.btnUp i {
  color: white;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.btnUpShow {
  display: block;
}