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

html {
  font-size: 10px;
  font-family: "Open Sans", sans-serif;
  color: #eee;
}

body {
  width: 100%;
  height: 100%;
  background-color: #040d1c;
}

.about {
  width: 50%;
  float: right;
  margin: 30px 10px;
}
section {
  padding: 6rem 0;
  overflow-x: hidden;
  background-color: #03101d;
}

a {
  text-decoration: none;
  color: #eee;
}

p {
  font-size: 1.8rem;
  font-weight: 300;
  opacity: 0.99;
}

img {
  width: 100%;
}
/*End global*/

/*Start reusable*/
.container {
  width: 90%;
  max-width: 120rem;
  height: 100%;
  margin: 0 auto;
  position: relative;
}

.section-heading {
  text-align: center;
  margin-bottom: 10rem;
}

.section-heading h1 {
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  font-weight: 300;
  position: relative;
  margin-bottom: 1rem;
}

.section-heading h1::before,
.section-heading h1::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(255, 255, 255, 0.75);
}

.section-heading h1::before {
  width: 10rem;
  height: 3px;
  border-radius: 0.8rem;
}

.section-heading h1::after {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 100%;
  bottom: -1rem;
}

.section-heading h6 {
  font-size: 1.6rem;
  font-weight: 300;
}

.has-margin-right {
  margin-right: 5rem;
}

/*End reusable*/

/*For modal*/
.cv:hover {
  -ms-transform: scale(1.5); /* IE 9 */
  -webkit-transform: scale(1.5); /* Safari 3-8 */
  transform: scale(1.1);
  color: skyblue;
  cursor: pointer;
  transition: transform 350ms ease-out;
  text-decoration: underline;
}
#myImg,
#myImg2,
#myImg3 {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

#myImg:hover {
  opacity: 0.7;
}

#myImg2:hover {
  opacity: 0.7;
}

#myImg3:hover {
  opacity: 0.7;
}

/* The Modal (background) */
.modal,
.modal2,
.modal3 {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

/* Caption of Modal Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation */
.modal-content,
#caption {
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {
    -webkit-transform: scale(0);
  }
  to {
    -webkit-transform: scale(1);
  }
}

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

/* The Close Button */
.close {
  position: absolute;
  top: 70px;
  right: 200px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: red;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
  .modal-content {
    width: 100%;
  }
}

/*End For modal*/

/*Start header*/
header {
  width: 100%;
  height: 100vh;
}

.background {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: -1;
}

.top-nav {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: -100vh;
  z-index: 50;
  background-color: #040d1c;
  border-bottom-right-radius: 100%;
  border-bottom-left-radius: 100%;
  transition: all 650ms cubic-bezier(1, 0, 0, 1);
}

.nav-list {
  list-style: none;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-list {
  list-style: none;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-list2 {
  list-style: none;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

li {
  margin: 0 2rem;
}

li2 {
  margin: 0 2rem;
}

.nav-link {
  font-family: "Exo 2", sans-serif;
  font-size: 4rem;
  padding: 1rem;
}

.nav-link:hover,
.nav-link:focus {
  background: linear-gradient(to top, #fbf595, #7dbcf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.top-nav.open {
  top: 0;
  border-radius: initial;
}

.menu-toggler {
  position: absolute;
  top: 5rem;
  right: 3rem;
  width: 5rem;
  height: 5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1500;
  transition: transform 650ms ease-out;
  position: fixed;
  overflow: hidden;
}

.menu-toggler.open {
  transform: rotate(-45deg);
}

.bar {
  background: linear-gradient(to right, #fbf595, #7dbcf6);
  width: 100%;
  height: 4px;
  border-radius: 0.8rem;
}

.bar.half {
  width: 50%;
}

.bar.start {
  transform-origin: right;
  transition: transform 650ms cubic-bezier(0.54, -0.81, 0.57, 0.57);
}

.open .bar.start {
  transform: rotate(-450deg) translateX(0.8rem);
}

.bar.end {
  align-self: flex-end;
  transform-origin: left;
  transition: transform 650ms cubic-bezier(0.54, -0.81, 0.57, 0.57);
}

.open .bar.end {
  transform: rotate(-450deg) translateX(-0.8rem);
}

.landing-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  z-index: 1;
}

.landing-text h1 {
  font-size: 10rem;
  font-family: "Exo 2", sans-serif;
  background: linear-gradient(to top, #fbf595, #7dbcf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 1rem;
}

.landing-text h6 {
  font-size: 2rem;
  font-weight: 300;
}

button {
  background: transparent;
  padding: 0.3rem;
}
/*End header*/

/*Start about*/
.about .container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-heading {
  text-align: center;
  text-transform: uppercase;
  line-height: 0;
  margin-bottom: 6rem;
  margin-top: 2rem;
}

.about-heading h1 {
  font-size: 10rem;
  opacity: 0.3;
}

.about-heading h6 {
  font-size: 3rem;
  font-weight: 300;
  opacity: 0.9;
}

.about p {
  opacity: 0.5;
}

.about b {
  font-size: 2.5rem;
}

.profile-img {
  margin-right: 3rem;
}

/* .about-details{
    flex: 1;
} */

.social-media {
  margin-top: 5rem;
}

.social-media i {
  font-size: 5rem;
  transition: color 650ms;
}

.fa-facebook-square:hover {
  color: rgb(66, 103, 178);
}

.fa-github-square:hover {
  color: #a1a1a1;
}

.fa-linkedin:hover {
  color: rgb(16, 103, 209);
}

.fa-instagram:hover {
  color: #dd2a7b;
}

.fa-envelope:hover {
  color: #d44638;
}
/*End about*/

/*Start skills*/
.my-skills {
  margin-top: 10rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  grid-gap: 2.5rem;
  text-align: center;
}

.skill {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.skill h1 {
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 2rem -2px 2rem 0;
}

.icon-container {
  width: 10rem;
  height: 10rem;
  border: 3px solid #fadf11;
  background-color: #7dbcf6;
  margin-bottom: 2rem;
  display: flex;
  transform: rotate(45deg);
}

.icon-container i {
  color: #ffe732;
  font-size: 5rem;
  margin: auto;
  transform: rotate(-45deg);
}

/*End skills*/

/*Start portfolio*/
.portfolio-item {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5rem;
}

.portfolio-item:last-child {
  margin-bottom: 0;
}

.profile-img {
  width: 50rem;
  flex: 1;
}

.portfolio-linkimg:hover {
  -ms-transform: scale(1.5); /* IE 9 */
  -webkit-transform: scale(1.5); /* Safari 3-8 */
  transform: scale(1.1);
  cursor: pointer;
}

.portfolio-description h1 {
  font-size: 3rem;
  font-weight: 300;
  margin: 1rem 0;
}

.portfolio-description h6 {
  font-size: 2rem;
  text-transform: uppercase;
  font-weight: 300;
  opacity: 0.6;
}

.portfolio-description .cta {
  display: inline-block;
  margin-top: 2.5rem;
  font-size: 1.5rem;
  text-transform: uppercase;
  color: #3883ff;
  transition: color 650ms;
}

.portfolio-description .cta:hover {
  color: #2f67cd;
}

/*End portfolio*/

/*Start timeline*/
.timeline ul {
  border-left: 4px solid #fbf595;
  border-radius: 0.8rem;
  background-color: rgba(0, 0, 0, 0.05);
  margin: 0 auto;
  position: relative;
  padding: 5rem;
  list-style: none;
  text-align: left;
  width: 70%;
}

.timeline h1 {
  font-size: 2rem;
  text-transform: uppercase;
  font-weight: 300;
  margin-bottom: 1rem;
  opacity: 0.4;
}

.timeline .date {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  position: relative;
}

.timeline .date:last-of-type {
  padding-bottom: 0;
  margin-bottom: 0;
  border: none;
}

.timeline .date::before,
.timeline .date::after {
  position: absolute;
  display: block;
  top: 50%;
  transform: translateY(-50%);
}

.timeline .date::before {
  content: attr(data-date);
  left: -24rem;
  text-align: right;
  min-width: 15rem;
  font-size: 1.5rem;
}

.timeline .date::after {
  content: "";
  box-shadow: 0 0 0 4px #7dbcf6;
  border-radius: 100%;
  left: -8rem;
  height: 1.5rem;
  width: 1.5rem;
  background-color: #313534;
}

/*End timeline*/

/*Start contact*/
/* 
.contact{
    background-color: #221e3f;
}

form{
    width: 70%;
    margin: 0 auto;
}

form label{
    font-size: 1.5rem;
}

input,
select,
textarea{
    width: 100%;
    padding: 1rem;
    margin-bottom: 5px;
    border: none;
    outline-color: #7dbcf6;
}

input[type="submit"]{
    width: initial;
    background-color: #62aef5;
    color: #eee;
    padding: 1rem 2rem;
    border-radius: 0.8rem;
    cursor: pointer;
    transition: background-color 650ms;
}

input[type="submit"]:hover{
    color: #221e3f;
    background-color: #fbf595;
}
 */

/*End contact*/

/*Start footer*/

.copyright {
  width: 100%;
  text-align: center;
  background-color: #050c1a;
  padding: 2rem 0;
  position: relative;
}

.up {
  position: absolute;
  width: 5rem;
  height: 5rem;
  background-color: #eee;
  top: -2.5rem;
  right: 5rem;
  border-radius: 100%;
  display: flex;
  animation: pulse 2s infinite;
  cursor: pointer;
}

.up i {
  color: #16162d;
  font-size: 2rem;
  margin: auto;
}

.copyright p {
  font-size: 1.4rem;
}
/*End footer*/

/*Start animations*/
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(75, 169, 231, 0.99);
  }
  70% {
    box-shadow: 0 0 0 2rem rgba(75, 169, 231, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(75, 169, 231, 0);
  }
}
/*End animations*/
@media screen and (max-width: 1204px) {
  body {
    width: 100%;
    height: 100%;
  }

  #myModal,
  #myModal2 {
    visibility: hidden;
    display: none;
  }
  /* a{
        background: linear-gradient(to top, #fbf595, #7dbcf6);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    } */

  .landing-text h1 {
    font-size: 10rem;
  }

  .landing-text h6 {
    font-size: 3rem;
  }

  .about {
    width: 90%;
    margin: 5px;
  }
  .nav-list {
    flex-direction: column;
  }

  li {
    margin: 2rem 0;
  }

  .nav-link {
    font-size: 4.5rem;
  }

  .about-heading h1 {
    font-size: 8rem;
  }

  .section-heading h1 {
    font-size: 3rem;
  }

  .menu-toggler {
    position: fixed;
    overflow: hidden;
  }

  .profile-img {
    margin: 0 5rem 5rem 25rem;
    max-width: 500px;
    align-items: center;
  }

  .about-details .nav-list {
    flex-direction: initial;
  }
  .about-details {
    padding: 10px;
  }

  .about-details li {
    margin: 0 2rem;
  }

  .icon-container {
    width: 8rem;
    height: 8rem;
  }

  .icon-container i {
    font-size: 4rem;
  }

  .timeline ul {
    margin: 0 0 0 auto;
  }

  .timeline .date::before {
    left: -22rem;
  }

  .timeline .date::after {
    left: -5.9rem;
  }
}

@media screen and (max-width: 768px) {
  body {
    width: 100%;
    height: 100%;
  }

  #myModal,
  #myModal2 {
    visibility: hidden;
    display: none;
  }

  /* a{
        background: linear-gradient(to top, #fbf595, #7dbcf6);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    } */

  .landing-text h1 {
    font-size: 8rem;
  }

  .landing-text h6 {
    font-size: 2rem;
  }

  .about {
    width: 90%;
    margin: 5px;
  }
  .nav-list {
    flex-direction: column;
  }

  li {
    margin: 2rem 0;
  }

  .nav-link {
    font-size: 4.5rem;
  }

  .about-heading h1 {
    font-size: 8rem;
  }

  .section-heading h1 {
    font-size: 3rem;
  }

  .menu-toggler {
    position: fixed;
    overflow: hidden;
  }

  .profile-img {
    margin: 0 5rem 5rem 20rem;
    max-width: 350px;
    align-items: center;
  }

  .about-details .nav-list {
    flex-direction: initial;
  }
  .about-details {
    padding: 10px;
  }

  .about-details li {
    margin: 0 2rem;
  }

  .icon-container {
    width: 8rem;
    height: 8rem;
  }

  .icon-container i {
    font-size: 4rem;
  }

  .timeline ul {
    margin: 0 0 0 auto;
  }

  .timeline .date::before {
    left: -20rem;
    min-width: 13rem;
  }

  .timeline .date::after {
    left: -5.9rem;
  }
}

/*Start media queries*/

@media screen and (max-width: 600px) {
  p {
    opacity: 0.9;
  }

  #myModal,
  #myModal2 {
    visibility: hidden;
    display: none;
  }

  /* a{
        background: linear-gradient(to top, #fbf595, #7dbcf6);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    } */

  .about {
    width: 90%;
    margin: 5px;
  }

  .landing-text h1 {
    font-size: 5rem;
    padding: 0.3rem;
  }

  .landing-text h6 {
    padding: 0.3rem;
  }

  .nav-list {
    flex-direction: column;
    margin-left: 2rem;
  }

  .nav-list2 {
    margin: inherit;
  }

  li2 {
    margin: 0 1rem;
  }

  .menu-toggler {
    top: 2rem;
    right: 2rem;
    position: fixed;
    overflow: hidden;
  }

  .landing-text h6 {
    font-size: 1.4rem;
  }

  .nav-link {
    font-size: 3.5rem;
    margin-right: 3.5rem;
  }

  .about .container {
    flex-direction: column;
  }

  .profile-img {
    margin: 0 5rem 5rem 0;
    padding-right: 10px;
    max-width: 350px;
  }

  .portfolio-item {
    flex-direction: column;
  }

  .portfolio-img {
    margin: 0 0 2rem 0;
    order: 1;
  }

  .portfolio-description {
    margin: 0;
    order: 2;
    opacity: 0.9;
  }

  .timeline ul {
    font-size: 1.6rem;
  }

  .timeline .date::before {
    font-size: 1.4rem;
    left: -19.5rem;
  }

  .timeline h1 {
    font-size: 1.6rem;
    text-transform: uppercase;
    font-weight: 300;
    margin-bottom: 1rem;
    opacity: 0.4;
  }

  .timeline p {
    font-size: 1.1rem;
    font-weight: 300;
  }

  /* form{
        width: 100%;
    } */

  .up {
    right: 2rem;
  }
}
/*End media queries*/
