/* utility */

.sr-only {
  position: absolute;
  top: 0;
  z-index: -999;
}

.flex {
  display: flex;
}

.small-gap {
  gap: 2rem;
}

/* --------------------------- */
body {
  /* background-color: rgb(11, 11, 11); */
  color: azure;
  font-family: "Times New Roman", Times, serif;
}

/* -----------------nav bar---------------- */

nav {
  border-bottom: gold 1px solid;
  /* box-shadow: -1px 1px 2px gold; */
  padding: 0.5rem 0 0;
  z-index: 99;
  position: fixed;
  top: 0;
  width: 100%;
  background-color: black;
}

nav ul {
  display: flex;
  justify-content: space-between;
  align-content: center;
  padding: 0 1rem 0 0.5rem;
  max-width: 768px;
  margin: 0 auto;
}

nav ul li a {
  color: azure;
  transition: 1s;
  -webkit-transition: 1s;
  -moz-transition: 1s;
  -ms-transition: 1s;
  -o-transition: 1s;
  text-transform: capitalize;
  font-size: 1rem;
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
}

nav ul li a:hover {
  color: gold;
}

nav ul li img {
  height: 1.8rem;
}

header {
  padding-top: 2.68rem;
  background-color: black;
}

/* ----------------------nav bar end---------------------------------------- */

/*  =========main======= */
main {
  font-family: "Courier New", Courier, monospace;
}

.intro-bg {
  background-color: black;
  padding: 2rem 0;
}

.index-logo{
max-width: 280px;
display: block;
margin: 0 auto 2rem;

}

/* ----introduction--- */

.name-plate {
  display: flex;
  max-width: 325px;
  height: 5rem;
  align-items: center;
  margin: 0 auto;
  gap: 2rem;
  padding-bottom: 2rem;
  text-align: center;
}

.profile-pic {
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  max-width: 5rem;
  border: 2px solid rgb(241, 240, 235);
  -webkit-transition: transform 1s;
  -moz-transition: transform 1s;
  -ms-transition: transform 1s;
  -o-transition: transform 1s;
  transition: transform 1s;
  z-index: 1;
}
.profile-pic:hover {
  transform: scale(1.3);
  -webkit-transform: scale(1.3);
  -moz-transform: scale(1.3);
  -ms-transform: scale(1.3);
  -o-transform: scale(1.3);
}

.fancy-font {
  font-style: italic;
  margin: 0.2rem 0 1rem;
  text-transform: capitalize;
}

.introduction-text {
  padding: 0 2rem 1rem;
  margin: 0 auto;
  font-size: 1rem;
  max-width: 580px;
}

/* -----featured-------- */

.featured {
  text-align: center;
  color: black;
  padding: 2rem;
  border-bottom: 1px solid gold;
  font-size: 1rem;
}

.featured > p {
  text-align: left;
  margin: 2rem auto;
  max-width: 580px;
}

/* -----------------featured tiles----------------------- */

.tiles {
  display: flex;
  flex-wrap: wrap;
  max-width: 600px;
  margin: 0 auto;
}

.featured-tiles {
  position: relative;
  max-height: 5rem;
  margin: 0.5rem auto;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.486);
  border: 1px solid rgba(0, 0, 0, 0.411);
  -webkit-transition: transform 1s;
  -moz-transition: transform 1s;
  -ms-transition: transform 1s;
  -o-transition: transform 1s;
  transition: transform 1s;
}
.featured-tiles:hover {
  transform: scale(1.5);
  -webkit-transform: scale(1.5);
  -moz-transform: scale(1.5);
  -ms-transform: scale(1.5);
  -o-transform: scale(1.5);
  z-index: 1;
}

.featured-tiles img {
  height: 5rem;
  width: 10rem;
  object-fit: cover;
}

.featured-tiles p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 1rem;
  font-weight: 700;
  background-color: rgba(0, 0, 0, 0.271);
  padding: 0.5rem 0.2rem;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  text-shadow: 1px 1px 1px black;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
}

/* ====================contact page==================================== */
.contact-page{
  background-color: black;
  height:calc(100vh + 3rem);
  padding: 2rem;
}

.contact-page h2{
  text-align: center;
  padding: 0 0 2rem;
}

.contact-page p{
  margin:1rem ;
}

.contact-page p a{
  color: rgb(233, 201, 25);
}

.contact-page img{
  display: block;
  max-width: 220px;
  margin: 2rem auto;
}

/* ======================================================== */

.contact-me {
  font-size: 0.8rem;
  padding: 2rem 2rem 6rem;
  margin: 0 auto;
  background-color: rgb(0, 0, 0);
}

.contact-me h2 {
  padding-bottom: 2rem;
}

.contact-me div {
  max-width: 580px;
  margin: 0 auto;
}
.contact-me p {
  margin-top: 1rem;
}

.contact-me > div a {
  color: azure;
  font-weight: 800;
  transition: 2s;
  -webkit-transition: 2s;
  -moz-transition: 2s;
  -ms-transition: 2s;
  -o-transition: 2s;
}

.contact-me > div a:hover {
  color: gold;
}

/* -----------------footer----------------- */

footer {
  background-color: black;
  padding: 0.5rem 0;
  position: fixed;
  bottom: 0;
  width: 100%;
  border-top: 1px gold solid;
  z-index: 99;
}

footer ul {
  justify-content: center;
  align-items: center;
}
/* -----------------footer end------------- */

/* =======================About me========================================== */

.about-me {
  background-color: black;
  height: 100%;
  display: flex;
  padding: 3rem 2rem 8rem;
}

.about-info {
  margin: 0 auto;
}

.photo-box img {
  max-width: 180px;
  margin: 2rem auto;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}


.photo-box {
  display: flex;
  max-width: 550px;
  padding: 0 .5rem;
  align-items: end;
  gap: 1rem;
}
.about-info p {
  margin-top: 1rem;
  padding-left: 1rem;
  max-width: 29rem;
  text-shadow: 2px 2px 1px black;
}

/* ================About end============================== */

/* ==================Panini====================== */

.panini-main {
  background-color: #000000;
  padding: 2rem 2rem 8rem;
}

.panini-main p {
  margin: 1rem auto;
  max-width: 580px;
}

.panini-main > img {
  display: block;
  max-width: 18rem;
  margin: 0 auto;
}

.panini-title {
  max-width: 500px;
  display: flex;
  gap: 2rem;
  align-items: center;
  margin: 1rem auto 2rem;
}

.panini-title img {
  max-height: 10rem;
}

.panini-main a {
  color: azure;
  font-weight: 600;
  transition: 2s;
  -webkit-transition: 2s;
  -moz-transition: 2s;
  -ms-transition: 2s;
  -o-transition: 2s;
}

.panini-main a:hover {
  color: gold;
}

/* ===================terramech========================== */

.terramecha-main {
  background-color: #000000;
  height: 100%;
}

.terramecha-main h2 {
  text-align: center;
  padding: 2rem 0 1rem;
}

.terra-mecha-text {
  padding: 0 2rem 8rem;
  max-width: 580px;
  margin: 0 auto;
}

.terra-mecha-text p {
  margin-bottom: 1rem;
}

.terramecha-main img {
  display: block;
  max-height: 10rem;
  border: 2px solid rgb(191, 43, 68);
  box-shadow: 2px 2px 8px palevioletred;
  margin: 1rem auto 3rem;
}

.terra-mecha-text a {
  color: rgb(218, 20, 53);
  font-weight: 800;
  transition: 2s;
  -webkit-transition: 2s;
  -moz-transition: 2s;
  -ms-transition: 2s;
  -o-transition: 2s;
}

.terra-mecha-text a:hover {
  text-shadow: 0px 0px 2px rgba(255, 192, 203, 0.476);
}

/* =========================lawn and order============================ */

.lao-main {
  background-color: #000000;
  height: 100%;
}
.lao-main h2 {
  text-align: center;
  padding: 2rem 0 1rem;
}

.lao-text {
  padding: 0 2rem 8rem;
  max-width: 580px;
  margin: 0 auto;
}

.lao-text p {
  margin-bottom: 1rem;
}

.lao-main img {
  display: block;
  max-height: 14rem;
  border: 2px solid rgb(18, 239, 91);
  border-radius: 2px;
  margin: 1rem auto 3rem;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  -ms-border-radius: 2px;
  -o-border-radius: 2px;
}

.lao-text a {
  color: azure;
  font-weight: 800;
  transition: 1s;
  -webkit-transition: 1s;
  -moz-transition: 1s;
  -ms-transition: 1s;
  -o-transition: 1s;
}

.lao-text p a:hover {
  color: rgb(147, 246, 0);
}

/* ========================Photography================================= */

.photography-main {
  height: 100%;
  background-color: black;
  margin: 0 auto;
  padding: 2rem 2rem 8rem;
}

.photography-main h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 2rem;
}

.photography-main p {
  margin: 1rem auto;
  max-width: 580px;
}

.gallery {
  padding-top: 4rem;
}

.gallery img {
  margin: 0 auto 2rem;
  max-width: 20rem;
  height: auto;
  display: block;
  border-radius: 5px;
  transition: transform 0.3s, box-shadow 0.3s;
  z-index: 1;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}

.gallery img:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.478);
  -webkit-transform: scale(1.3);
  -moz-transform: scale(1.3);
  -ms-transform: scale(1.3);
  -o-transform: scale(1.3);
  transform: scale(1.3);
  z-index: 98;
}

.photo-heading {
  text-align: center;
  margin-bottom: 4rem;
  font-size: 1.5rem;
}

.photo-heading:last-of-type {
  margin: 4rem 0;
}

.side-beside {
  display: flex;
  z-index: 50;
  margin: 0 auto;
  max-width: 20rem;
  text-align: center;
}

.side-beside div img {
  max-width: 10rem;
  z-index: 99;
}

.side-beside div img:hover {
  max-width: 10rem;
  z-index: 99;
  transform: scale(1.8) translateX(-30%);
  -webkit-transform: scale(1.8) translateX(-30%);
  -moz-transform: scale(1.8) translateX(-30%);
  -ms-transform: scale(1.8) translateX(-30%);
  -o-transform: scale(1.8) translateX(-30%);
}

.side-beside .left-side:hover {
  max-width: 10rem;
  z-index: 99;
  transform: scale(1.8) translateX(30%);
  -webkit-transform: scale(1.8) translateX(30%);
  -moz-transform: scale(1.8) translateX(30%);
  -ms-transform: scale(1.8) translateX(30%);
  -o-transform: scale(1.8) translateX(30%);
}

.align-center {
  text-align: center;
}

h4 {
  margin: 2rem 0;
  text-align: center;
}

.logo-end {
  max-width: 16rem;
  margin: 2rem;
}
/* =====================Stock======================= */
