/********************** Root**************************/

:root {
  --body-background-color: #f8f8f8;
  --header-background-color: #232223;
  --action-button-collor: #ffb300;
  --action-button-hover-color: #ffd500;
  --a-element-color: rgb(255, 255, 255);
  --menu-listitem-color: rgb(255, 255, 255);
  --landing-text-big-color: #232223;
  --landing-text-medium-color: #232223;
  --landing-text-small-color: #232223;
  --footer-background-color: #002654;
  --font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* ********************END OF ROOT********************/

/**********UNIVERSAL SELECTION AND RESET***********/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--body-background-color);
  font-family: var(--font-family);
}

a {
  text-decoration: none;
  color: var(--a-element-color);
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Poppins", sans-serif;
  text-transform: capitalize;
  line-height: 1.3;
}

/**********LANDING SECTION***********/

/* LANDING TEXT */

.landingtext h4 {
  color: var(--landing-text-medium-color);
  width: 90%;
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 1.3rem;
  text-transform: unset;
}

.landingtext h3 {
  font-size: 3rem;
  color: var(--landing-text-big-color);
  margin-bottom: 1rem;
  font-weight: 600;
  text-decoration: underline solid rgb(0, 0, 0);
  text-underline-offset: 2rem;
}

.landingtext h5 {
  font-size: 1.3rem;
  color: var(--landing-text-small-color);
  width: 100%;
  margin: 3rem 0 1.5rem 0;
  font-weight: 500;
  line-height: 1.4;
}

.landing {
  display: flex;
}

.landingtext {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 3rem;
  margin-top: 15%;
}

.divbtns {
  width: 80%;
}

.landingtext h5 {
  text-transform: unset;
}

/* landing text end */

/* HEADER MENU */
.navbar {
  margin-top: 0.75rem;
}

.menuli {
  margin: 0 1.2rem;
  list-style: none;
  font-size: 1.2rem;
  color: var(--menu-listitem-color);
  font-weight: 500;
  cursor: pointer;
  position: relative;
  display: inline-block;
  padding: 0;
}

.menuli::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  border-radius: 10px;
  background-color: #ffffff;
  bottom: -10px;
  left: 0;
  transform-origin: right;
  transform: scaleX(0);
  transition: transform 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-out;
}

.menuli.cancelbefore::before {
  display: none;
}

.menuli:hover::before {
  transform-origin: left;
  transform: scaleX(1);
}

.menuli:hover {
  scale: 1.1;
  transition: 0.3s;
}

.menuli.calltoaction {
  box-sizing: border-box;
  background-color: var(--action-button-collor);
  padding: 0.5rem 1.3rem;
  border-radius: 0.6rem;
  list-style: none;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: none;
  margin-bottom: 0.5rem;
  color: white;
}

.menuli.calltoaction:hover {
  background-position: right center;
  transition: 0.3s ease-in-out;
  box-shadow: 0 0 20px #eee;
  scale: 1.05;
}

.menuli.calltoaction:hover::before {
  transform: scaleX(0);
}

.landingbtn {
  border-radius: 0.3rem;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 1rem 2.75rem;
  margin: 2rem;
  color: white;
  display: inline-block;
  text-transform: uppercase;
}

.landingbtnsmobile {
  display: none;
}

.callbtn {
  background-color: var(--action-button-collor);
}

.callbtn:hover {
  background-color: var(--action-button-hover-color);
  transform: scale(1.05);
  transition: ease-in-out 0.3s;
  color: white;
}

.navul {
  margin-right: 3rem;
}

/**********Logo***********/

.logo {
  margin-left: 2rem;
  cursor: pointer;
  width: 7%;
}

.logoimg {
  width: 80%;
}

/**********Landing page LAYOUT***********/

header {
  display: flex;
  justify-content: space-between;
  padding-bottom: 0.5rem;
  background-color: var(--header-background-color);
  box-shadow: 0px 10px 5px -10px rgba(0, 0, 0, 0.65);
  z-index: 9999;
  padding-top: 0.5rem;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.landing {
  background-image: url(media/images/111.jpg);
  min-height: 90vh;
  height: 100vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.bar {
  display: block;
  width: 35px;
  height: 4px;
  margin: 7px auto;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  background-color: rgb(255, 255, 255);
}

.close {
  width: 3.5rem;
  display: none;
  z-index: 12;
  color: #ffffff;
  margin-right: 1rem;
}

.threeimgs {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
  margin-right: 2rem;
}

.threeimgs div {
  width: 330px;
}

.threeimgs div img {
  width: 100%;
  border: 1rem var(--header-background-color) solid;
}

.img2 {
  width: 300px !important;
}

.img1,
.img3 {
  transform-origin: center center;
  transition: transform 3s;
}

.init-transform .img1 {
  transform: rotateY(40deg);
}

.init-transform .img3 {
  transform: rotateY(-40deg);
}

/* END OF THE LANDING SECTION */

/* START SERVICES SECTION */

.services {
  background-color: #ffffff;
  padding-top: 5rem;
}

.servicesmaindiv {
  max-width: 90rem;
  padding-bottom: 3rem;
  width: 80%;
  margin: auto;
}

.servicedivflex {
  display: flex;
  align-items: center;
  padding: 2rem;
  padding-left: 0;
  border-radius: 10rem;
  background: linear-gradient(90deg, #1d1d1d 0%, rgba(255, 255, 255, 1) 45%);
  max-width: 90%;
  margin: auto;
  margin-bottom: 6rem;
}

.paslaugosp {
  text-align: center;
  font-weight: 800;
  color: #ffb300;

  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.servicessecond {
  background: linear-gradient(284deg, #1d1d1d 0%, rgba(255, 255, 255, 1) 56%);
  justify-content: end;
}

.servicesdivimg {
  width: 29rem;
}

.servicesdivimg img {
  width: 100%;

  margin-bottom: -0.5rem;
  clip-path: circle();
}

.servicesdivtext {
  width: 50%;
  max-width: 40rem;
  line-height: 1.5;
  margin-left: 5rem;
}

.servicesdivtextsecond {
  margin-right: 0 !important;
}

.serviceseconddivimg {
  width: 27rem;
}
.serviceseconddivimg img {
  margin-left: 2rem;
}

.servicesdivtext h3 {
  margin-bottom: 1rem;
}

.services h2 {
  text-align: center;
  padding: 5rem;
  font-size: 2.5rem;
  padding-top: 0;
}

/* END OF SERVICES SECTION */

/* START PORTFOLIO SECTION */

.portfolio {
  background-color: #f9f0e7;
  background-color: #323232;
  background-color: #ffffff;
  background-image: url(media/images/111.jpg);
  padding: 3rem 0;
}

.gallerymenu {
  display: flex;
  justify-content: center;
  margin: 5rem 0;
}

.gallerymenu button {
  margin-right: 1.5rem;
  font-size: 1rem;
  padding: 1rem 2rem;

  cursor: pointer;
  background-color: #ffb300;
  border: none;
  border-radius: 1rem;
  color: white;
  font-weight: 600;
}

.gallerymenu button:hover {
  background-color: #ffd500;
}

.gallery {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  max-width: 92rem;
  margin: 5rem auto;
}

.gallery img {
  width: 300px;
  height: 250px;
  object-fit: cover;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in-out;
}

.gallery img.gallery3size {
  width: 600px;
  height: 250px;
}

@keyframes shrinkOut {
  from {
    transform: scale(1);
    opacity: 1;
  }
  to {
    transform: scale(0.7);
    opacity: 0;
  }
}

@keyframes growIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.portfolio h2 {
  text-align: center;
  font-size: 3rem;
}

/* END PORTFOLIO SECTION */

/* START ABOUT ME SECTION */

.aboutmeflex {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80%;
  max-width: 90rem;
  margin: 8rem auto;
  padding: 3rem;
  background: linear-gradient(90deg, #242424 0%, rgba(255, 255, 255, 1) 50%);
  margin-bottom: 5rem;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.mobileaboutmeimg {
  display: none;
}

.aboutme {
  padding-top: 0.1px;
}

.aboutmeimgdiv {
  width: 40%;
}

.aboutmeimgdiv img {
  width: 100%;
}

.aboutmetext {
  width: 40%;
  margin: auto;
}

.aboutmetext h3,
.aboutmetext p {
  margin-bottom: 2rem;
  line-height: 1.4;
}

.aboutmetext h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
}

.aboutmetext h3 {
  color: #ef1313;
  font-weight: 800;
  font-size: 1rem;
}

article {
  width: 80%;
  margin: auto;
  max-width: 90rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 5rem;
  padding: 2rem;
}

article p,
article h2 {
  max-width: 45rem;
  margin: auto;
  line-height: 1.5;
  margin-bottom: 2rem;
}

article img {
  width: 40rem;
  max-width: 90%;
  margin: 3rem;
}

article h2 {
  font-size: 2.5rem;
}

/* END ABOUT ME SECTION */

/* START CONTACT SECTION */

.contact {
  padding: 5rem 0;
  background-image: url(media/images/111.jpg);
}

.contactsvgtext img {
  width: 3rem;
  padding: 0.75rem;
  background-color: #ffffff;
  border-radius: 1rem;
}

.contactsvgtext a {
  color: #000000;
}

.contactflex {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 75%;
  max-width: 90rem;
  margin: auto;
  padding: 2rem 1rem;
  background-color: #ffb300;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.contacttext {
  padding: 2rem 0;
  padding-left: 2rem;
  width: 50%;
}

.contactform {
  background-color: #ffffff;
  border-radius: 1rem;
  width: 40%;
  margin: auto;
}

.contacttext h4 {
  margin-bottom: 1.5rem;
  color: #063b7c;
  font-weight: 600;
  font-size: 1.2rem;
}
.contacttext h2 {
  margin-bottom: 1.5rem;
  font-size: 2.25rem;
}

.contactsvgtext {
  margin-bottom: 1.5rem;
  margin-top: 3rem;
}

.contactsvgtext {
  display: flex;
  align-items: end;
}

.contactplaceholder {
  margin-left: 1rem;
}

.contactplaceholder p {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

/* contact form */

form {
  width: 70%;
  margin: auto;
  padding: 1rem 0;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  margin: auto;
  padding: 0.8rem;
  margin-bottom: 1.5rem;
  border: unset;
  font-size: 16px;
  box-sizing: border-box;
  border-bottom: 0.2rem solid #6e6e6e;
  resize: none;
}

textarea {
  height: 125px;
}

button[type="submit"] {
  background-color: #063b7c;
  color: white;
  padding: 15px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
}

button[type="submit"]:hover {
  background-color: #0c50aa;
}

#formMessage p {
  margin-top: 15px;
  padding: 10px;
  border-radius: 5px;
}

#formMessage .success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

#formMessage .error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* end of contact form */

/* END CONTACT SECTION */

/* FOOTER SECTION */

.footermaindiv {
  width: 85%;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 2fr 2fr;
  justify-items: center;
}

#footercontactbtn {
  padding: 0;
  margin: 0;
  font-size: 1rem;
  margin-top: 0.5rem;
  text-align: center;
  width: 50%;
}

.menuli.cancelbefore {
  margin: 0;
  margin-right: 1.1rem;
}

.navulfooter {
  display: flex;
  flex-direction: column;
}

footer {
  width: 100%;
  background-color: var(--footer-background-color);
  color: #eee;
  padding-top: 2rem;
}

.contactandsocials {
  max-width: 31.25rem;
}

.contactsvg img {
  margin-right: 1rem;
}

.socials {
  display: flex;
  align-items: center;
}

.socials img {
  width: 5rem;
  margin-left: 2rem;
  margin-top: 1.5rem;
}

.fbicon {
  width: 30% !important;
}

.skelbiu {
  width: 100px !important;
  height: 28px !important;
}

.paslaugoslogo {
  width: 70px !important;
}

.footerfbicon {
  width: 30px !important;
}

.contactsvg {
  display: flex;
  align-items: center;
  margin-top: 1.5rem;
}

.contactsvg svg {
  width: 2.5rem;
  height: 2.5rem;
  margin-right: 1rem;
}

.footermenuli {
  color: var(--menu-listitem-color);
  font-weight: 500;
  cursor: pointer;
}

.footermenuli::before {
  content: "";
  position: absolute;
  width: 35%;
  height: 3px;
  border-radius: 10px;
  background-color: #ffffff;
  bottom: -3px;
  left: 0;
  transform-origin: right;
  transform: scaleX(0);
  transition: transform 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-out;
}

.footermenuli:hover::before {
  transform-origin: left;
  transform: scaleX(1);
}

.footermenuli:hover {
  scale: 1.1;
  transition: 0.3s;
}

.bloglili::before {
  content: "";
  position: absolute;
  width: 10%;
  height: 3px;
  border-radius: 10px;
  background-color: #ffffff;
  bottom: -3px;
  left: 0;
  transform-origin: right;
  transform: scaleX(0);
  transition: transform 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-out;
}

.bloglili:hover::before {
  transform-origin: left;
  transform: scaleX(1);
}

.bloglili:hover {
  scale: 1.1;
  transition: 0.3s;
}

.footermenu ul li {
  display: inline-block;
  margin-right: 30%;
}

.footermenu {
  margin-left: 3rem;
}

.blogli1 {
  font-size: 1.3rem;
  margin-left: 1rem;
}

.blogulfooter {
  margin-top: 1.5rem;
}

.blogulfooter a {
  font-size: 1.1rem;
  font-weight: 500;
}

footer li {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 2.5;
  list-style-type: none;
}

.footerblogs {
  margin-right: 3rem;
  margin-top: 1.5rem;
}

.footercontact {
  background-color: #a1a1a39b;
  padding: 2rem 3rem;
  padding-bottom: 3rem;
  border: 2rem;
  border-radius: 4rem 0 4rem 0;
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
  width: 100%;
}

.footersocials img {
  height: 2.5rem;
  margin-left: 2rem;
}

.footersvgclass {
  background-color: white;
  padding: 0.5rem;
  width: 2.5rem;
  border-radius: 1rem;
}

hr {
  margin-top: 1.5rem;
  height: 1px;
  background-color: #ccc;
}

.footercopy {
  text-align: center;
  margin-top: 1rem;
  font-size: 1rem;
  padding-bottom: 1rem;
}

.footerlogo2 {
  width: 50%;
}

.footerlogo2 img {
  width: 100%;
}

.footermenuli a {
  font-size: 1rem;
}

/* END OF FOOTER SECTION */

/* START OF THE BLOG1 PAGE */

.blog1article {
  margin-top: 5rem;
}

.menuliblog {
  font-size: 1.1rem !important;
}

/* BLOG HEADER STYLING */

.menuliblog {
  margin: 0 1.2rem;
  list-style: none;
  font-size: 1.2rem;
  color: var(--menu-listitem-color);
  font-weight: 500;
  cursor: pointer;
  position: relative;
  display: inline-block;
  padding: 0;
}

.menuliblog::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  border-radius: 10px;
  background-color: #ffffff;
  bottom: -10px;
  left: 0;
  transform-origin: right;
  transform: scaleX(0);
  transition: transform 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-out;
}

.menuliblog:hover::before {
  transform-origin: left;
  transform: scaleX(1);
}

.menuliblog:hover {
  scale: 1.1;
  transition: 0.3s;
}

.menuliblog.calltoaction {
  box-sizing: border-box;
  background-color: var(--action-button-collor);
  padding: 0.5rem 1.3rem;
  border-radius: 0.6rem;
  list-style: none;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: none;
  margin-bottom: 0.5rem;
  color: white;
}

.menuliblog.calltoaction:hover {
  background-position: right center;

  transition: 0.3s ease-in-out;

  box-shadow: 0 0 20px #eee;
  scale: 1.05;
}

.menuliblog.calltoaction:hover::before {
  transform: scaleX(0);
}
