/* Browser reset */

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

body {
  font-family: "Segoe UI", "lato", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  font-size: 16px;
  color: #777;
}

a,
a:hover,
a:visited,
a:link {
  text-decoration: none;
  color: #fff;
}

.container {
  min-width: 1000px;
  max-width: 1000px;
  margin: 0px auto;
}

/* The Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 50%;
  text-align: center;
  border-radius: 10px;
}

/* Close button */
#closeModal {
  background-color: #4CAF50;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top :20px;
}

/* Menu */
.menu {
  text-transform: uppercase;
  color: white;
  position: absolute;
  top: 30px;
  left: 20%;
}

.menu h2 {
  letter-spacing: 3px;
}


/* Styling for the hamburger icon */

.hamburger-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  border-radius: 30px;
  background-color: #f3f3f3;
  box-shadow: 0px 0px 4px #333;
  position: fixed;
  top: 30px;
  left: 80%;
  transform: translate(-50%, 0);
  z-index: 2;
}

.hamburger-menu {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
}

.bar {
  width: 28px;
  height: 2px;
  background-color: #333;
  /* Adjust color as needed */
  margin: 3px 0;
  transition: 0.4s;
}


/* -- Sidebar menu --*/

.sidebar {
  display: flex;
  align-items: center;
  height: 100%;
  width: 0;
  position: fixed;
  top: 0;
  right: 0;
  background-color: #1d1c1c ;
  overflow-x: hidden;
  transition: 0.5s;
  box-shadow: 0px 0px 4px #292828;
}

.sidebar a {
  padding : 5px 0px;
  text-decoration: none;
  font-size: .9rem;
  color: #cacaca ;
  display: block;
  font-weight: 700;
  transition: 0.3s;
  text-transform: uppercase;
}

.sidebar a:hover {
  color: #f1f1f1;
}



/* Styles for the animation when the menu is active */
.change .bar:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.change .bar:nth-child(2) {
  opacity: 0;
}

.change .bar:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}


/*-- Header section --*/
.header {
  z-index: 1;
  height: 95vh;
  background-image: linear-gradient(to bottom, #000428c7, #004e92b2),
    url(../images/hero.jpg);
  background-size: cover;
  background-position: top;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 85%);
}

.logo-box {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translate(-50%, 0);
  opacity: 1;
}

.logo {
  position: relative;
  height: 150px;
}

.text-box {
  text-align: center;
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.heading-primary {
  color: #fff;
  text-transform: uppercase;
  backface-visibility: hidden;
}

.heading-primary-main {
  display: block;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 10px;
  animation-name: movefromleft;
  animation-duration: 1s;
  animation-timing-function: ease-in;
  margin-bottom: 1rem;
}

.heading-primary-sub {
  display: block;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 7px;
  margin: 1rem 0;
  animation-name: movefromright;
  animation-duration: 1s;
  animation-timing-function: ease-in;
}

/* KEYFRAME ANIMATIONS */
@keyframes movefromleft {
  0% {
    opacity: 0;
    transform: translateX(-200px);
  }

  80% {
    opacity: 0.4;
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes movefromright {
  0% {
    opacity: 0;
    transform: translateX(500px);
  }

  80% {
    opacity: 0.2;
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* -- Buttons --*/

.btn,
.btn:link,
.btn:visited {
  text-decoration: none;
  display: inline-block;
  padding: 0.7rem 2rem;
}

.btn:hover {
  transform: translateY(-3px);
  transition: all 0.2s;
}

.btn:active {
  transform: translateY(-1px);
  transition: all 0.2s;
}

.btn-white {
  background-color: #fff;
}

.main-btn {
  margin-top: 1rem;
  border: 2px solid #fff;
  color: #fff;
  font-weight: 400;
  text-transform: uppercase;
  border-radius: 8px;
  font-size: 0.9rem;
  letter-spacing: 3px;
  background-color: rgba(0, 0, 0, 0.39);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.582);
}

/* Resume section */

section h2 {
  padding: 30px 0px;
}

/* -- Experience section -- */

.company-details {
  display: flex;
  line-height: 1.5;
  margin: 20px 0px;
}

.company-details--company-name {
  font-weight: bold;
  font-size: inherit;
}

.company-details--company-logo img {
  height: 44px;
}

.company-details--total-exp {
  font-size: 0.8rem;
}

.desig-wrapper-sub {
  margin-left: 40px;
  margin-bottom: 40px;
}

.desig-wrapper-sub p {
  font-size: 0.9rem;
  line-height: 1.4;
}

.desig-wrapper-sub p:nth-child(4) {
  margin-bottom: 20px;
}

.desig-wrapper-sub ul {
  line-height: 1.4;
  font-size: 0.9rem;
}

/* -- For subheadings inside ul */
.desig-wrapper-ul--subheading {
  padding: .9rem 0;
  text-decoration: underline;
}


.desig-wrapper-sub ul li {
  padding: 0.15rem 0;
}

/* Footer */

.footer-wrapper {
  background-color: rgba(0, 0, 0, 0.788);
  color: #fff;
  padding: 1rem;
}

.footer-wrapper .container {
  display: flex;
}

.footer-wrapper .container p {
  margin-right: 20px;
  border-right: 2px solid #fff;
  padding-right: 20px;
}

.footer-wrapper a {
  color: green;
  font-weight: 600;
  padding-right: 1rem;
}