@import url('https://fonts.googleapis.com/css2?family=Creepster&display=swap');

header {
  font-family: 'Creepster';
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

:root {
  --padding-container: 100px 0;
  --color-title: orange;

}

.container{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  padding: 20px;
}

.hero {
  width: 100%;
  height: 70vh;
  max-width: 800 px;
  min-width: 600px;
  position: static;
  display: grid;
  grid-template-rows: 100px 1fr;
  color: white;
}

.nav {
  --padding-container: 0;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav__links {
  color: white;
  text-decoration: none;
}

.nav__items {
  list-style: none;

}

.nav__link {
  font-size: 22px;
  padding: 0;
  margin-left: auto;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  gap: 4em;
}

.nav__menu {
  margin-left: auto;
  cursor: pointer;
  display: none;
}

.nav__img {
  display: block;
  width: 30px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 70%;
  background-image: linear-gradient(180deg, #00000057 0%, #00000057 100%), url(https://th.bing.com/th/id/R.d26f9d2987124220e2c3c19319219ea7?rik=vTpnfiMmWTmhbA&pid=ImgRaw&r=0);
  background-size: cover;
  clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 95%, 0 80%);
  z-index: -1;
}

h3 {
  color: #361E5C;
  font-style: bold;
  font-family: 'Special Elite';
  font-size: 21px;

}

h2 {
  font-family: 'Creepster';
  color: #361E5C;
  font-style: normal;
  font-size: 30px;
}

p {
  color: #361E5C;
  text-align: justify;
  font-family: 'Special Elite';
  font-size: 18px;
  line-height: 1.5em;
}

.hero__container {
  max-width: 800px;
  display: grid;
  --padding-container: 0;
  grid-auto-rows: max-content;
  align-content: center;
  gap: 1em;
  padding-bottom: 100px;
  text-align: center;
}

.hero__title {
  font-size: 5rem;
}


body {
  font-family: 'Special Elite';
}

/* Popup container */
.popup {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

/* The actual popup (appears on top) */
.popup .popuptext {
  visibility: hidden;
  width: 160px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 8px 0;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -80px;
}

/* Popup arrow */
.popup .popuptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

/* Toggle this class when clicking on the popup container (hide and show the popup) */
.popup .show {
  visibility: visible;
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity:1 ;}
}



/*footer*/
footer{
  background-color: #f24f13;
  width: 100vw;
  height: 100hv;

}

.footerContainer{
  width: 100%;
  padding: 70px 30px 20px ;
}

.socialIcons{
  display: flex;
  justify-content: center;
}

.socialIcons a{
  text-decoration: none;
  padding: 10px;
  background-color: white;
  margin: 10px;
  border-radius: 50%;
}

.socialIcons a i{
  font-size: 2em;
  color: #f24f13;
  opacity: 0.9;
}

/*Over effect social media icons*/

.socialIcons a:hover{
  background-color: #f24f13;
  transition: 0.5s;
}

.socialIcons a:hover i{
  color: white;
  transition: 0.5s;
}

.footerNav{
  margin: 30px 0;
}

.footerNav ul{
  display: flex;
  justify-content: center;
  list-style: none;
}

.footerNav ul li a{
  color: white;
  margin: 20px;
  text-decoration: none;
  font-size: 1.3em;
  opacity: 0.7;
  transition: 0.5s;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  gap: 4em;
  list-style: none;
}

.footerNav ul li a:hover{
  opacity: 1;
}

.footerBottom{
  background-color: #f24f13;
  padding: 20px;
  text-align: center;
}

.footerBottom p{
  color: white;
  text-align: center;
}

.designer{
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 400;
  margin: 0px 5px;
}

@media (max-widht: 700px){
  .footerNav ul{
    flex-direction: column;
  }
  .footerNav ul li{
    width: 100%;
    text-align: center;
    margin: 10px;
  }
}