@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;500;600;700&family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Gochi+Hand&family=Mulish:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,900&display=swap');

body {
  background-color: #0e2433;
  overflow-x: hidden;
  font-family: "Mulish", sans-serif;
  font-weight: 300;
  color: gainsboro;
}

.container {
  padding: 0;
}

.box:hover {
  box-shadow: 0 0 2px 2px #fff;
  border-radius: 8px;
}

hr {
  border: 1px dashed #eee;
  margin-top: 6px;
  margin-bottom: 20px;
}

h3 {
  margin: 0;
  /* font-family: 'Gochi Hand', cursive; */
}

label {
  font-size: 17px !important;
}

.toast, #toast-container > div {
  opacity: 1 !important;
  -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  filter: alpha(opacity=100);
}

/* back to top button */
#button {
  display: inline-block;
  background-color: #FF9800;
  width: 50px;
  height: 50px;
  text-align: center;
  border-radius: 34px;
  position: fixed;
  bottom: 30px;
  right: 30px;
  transition: background-color .3s, 
    opacity .5s, visibility .5s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
  color: #fff;
}
#button i {
  font-size: 25px;
  margin-top: 12px;
  margin-left: 12px;
}
#button:hover {
  cursor: pointer;
  background-color: #fff;
  color: #000;
}
#button:active {
  background-color: #555;
}
#button.show {
  opacity: 1;
  visibility: visible;
}

.navbar {
  padding: 20px;
  margin: 0;
  display: flex;
}

.nav-left a {
  font-size: 2em;
  font-family: cursive;
  color: green;
  border: 0.1em solid black;
  line-height: 1.1em;
  padding: 10px 7px 5px 5px;
  background-color: orange;
  display: inline-block;
  animation: rotate 2.2s linear infinite;
}

@keyframes rotate {
  to {
    transform: rotate(180deg);
  }
}

.nav-right ul {
  list-style: none;
  padding: 0;
}

.nav-right ul li {
  display: inline;
  padding: 0.8em;
}

.nav-right ul li a {
  color: #fff;
}



/* About section */
.title {
  text-align: center;
  position: relative;
  left: 2%;
}

.title h5 {
  margin-bottom: 50px;
  font-size: 20px;
  color: gainsboro;
  font-weight: 300;
}

.about p {
  color: gainsboro;
}


/* general */
.skills > .row,
.education > .row,
.work > .row {
  margin: 0;
}

.about, .skills, .work, .projects, .contact {
  /* text-align: justify; */
  text-align: initial;
  margin-bottom: 50px;
}

.about p, .education p, .work p, .projects p, .skills p, .contact p {
  font-size: 15px;
}


/* Skills section */
.skills .row { 
  margin: 0;
  display: flex;
  flex-direction: row;
}

.skills .row div {
  flex: 1 1 auto; /* flex-grow, flex-shrink, flex-basis */
  margin: 20px 25px 10px 0;
  width: 30%;
  border: 2px solid rgb(112, 104, 95);
  border-radius: 5px;
  padding: 20px;
  margin: 10px 20px 10px 0;
  font-size: 17px;
  line-height: 23px;
}

/* targets every 3rd element in this row */
/* .skills .row div:nth-child(3n+3) { 
  margin-right: 0 !important;
} */

.skills .skills-header {
  margin-bottom: 0;
}



/* education, general */
.education .col-lg-4,
.work .col-lg-4 {
  padding-left: 0;
  /* text-align: justify; */
  text-align: initial;
}

.education .col-lg-8,
.work .col-lg-8 {
  padding-right: 0;
  /* text-align: justify; */
  text-align: initial;
}

.education p, .work p {
  margin: 0 0 20px;
}

.education { 
  margin-bottom: 50px !important;
}



/* Work section */
.work { 
  margin-bottom: 50px !important;
}
.work .row ul {
  margin: 0 0 15px;
  list-style-position: outside;
  padding-left: 50px;
}

.work .row ul p {
  position: relative;
  right: 35px;
}

.work ul li {
  display: list-item;
  font-size: inherit;
}



/* Projects section */
.projects .row { 
  margin: 0;
  display: flex;
  flex-direction: row;
}

.projects .row div {
  flex: 1 1 auto;
  margin: 20px 25px 10px 0;
  width: 45%;
}

.projects .row div:nth-child(even) {
  margin-right: 0 !important;
}

.projects h4 {
  color: #121212;
}

.projects p {
  color: rgb(56, 54, 54);
}

.projects .row a.btn {
  border-radius: 10px 8px 5px; 
  padding: 8px; 
  margin-top: 10px;
  color: #121212;
}



/* Contact area */
.contact p a {
  font-weight: 600;
  position:inherit; 
  color: #fff;
}

.contact p a:hover {
  text-decoration: underline;
}

.contact input,
textarea {
  width: 100%;
  border-radius: 8px;
}

.contact ul {
  list-style: none;
  margin: 10px;
}

.contact ul li {
  padding: 10px;
}

.contact ul li i {
  cursor: pointer;
  position: relative;
  top: 2px;
}

.contact ul li a {
  color: #eee;
}

.contact ul li a:hover {
  font-weight: 600;
}

.fa {
  font-size: 25px;
  margin-right: 15px;
}

.fa:hover {
  opacity: 0.7;
}

.fa-linkedin {
  color: #0e76a8;
}

.fa-twitter {
  color: #00acee;
}

.fa-github {
  color: white;
}

.fa-phone {
  color: rgb(15, 171, 223);
}


/* Footer */
.footer {
  font-size: 14px;
  padding: 6px;
  border-top: 1px dashed ghostwhite;
}


/* actively typing text */
#typing-text {
  font-family: 'Mulish', sans-serif;
  font-size: 24px;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid #000;
  margin-top: 50px;
  margin-bottom: 20px;
  color: whitesmoke;
    /* animation: typing 1.5s steps(40, end), blink-caret 0.75s infinite; */
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink-caret {
  from, to {
    border-color: transparent;
  }
  50% {
    border-color: #000;
  }
}

/* Responsiveness */
@media screen and (min-width: 280px) and (max-width: 599px) 
{
  body {
    overflow-x: hidden;
    padding: 10px;
  }

  .navbar {
    padding: 0;
  }

  .nav-right ul {
    margin: 0;
  }

  .nav-right ul,
  li {
    padding: 0.2em;
  }

  img {
    width: fit-content;
    height: fit-content;
  }

  .nav-left a {
    animation: none;
  }

  .title {
    text-align: center;
    position: relative;
    right: 10px;
    top: 30px;
    margin-bottom: 70px;
  }

  .title h5 {
    font-size: 18px;
    margin: 10px 0 0 10px;
  }

  hr {
    margin: 6px 0 10px;
  }

  .about, .skills, .education, .work, .projects, .contact {
    text-align: left;
    margin-bottom: 20px;
  }

  h3 {
    font-size: 18px;
  }

  .about p {
    font-size: 14px;
  }

  .skills .row {
    margin-left: 10px;
    list-style-position: outside;
    padding-left: 10px;
  }

  .skills .row div {
    border: none;
    width: 100%;
    padding: 6px;
    margin: 0;
    display: list-item;
  }

  .work .row ul p {
    position: relative;
    left: -35px;
  }

  .projects .row div {
    width: 100%;
    margin: 15px 0;
    padding: 15px !important;
  }

  .projects .row div h4 {
    font-size: 16px;
  }

  .projects .row div p {
    font-size: 0.7rem;
  }

  .contact {
    margin-top: 40px;
  }

  .contact h2 {
    font-size: 22px;
  }
}

@media screen and (min-width: 600px) and (max-width: 767px) 
{
  .about p, .education p, .projects p, .work p {
    font-size: 14px;
  }
  .skills .row div {
    padding: 12px;
  }
  label {
    font-size: 15px;
  }
}