* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  color: white;
  font-size: 10px;
  text-decoration: none;
  background-color: #550197;
  font-family: Arial, Helvetica, sans-serif;
}
html {
  scroll-behavior: smooth;
}
.material-icons {
  font-family: "Material Icons";
}

@media (min-width: 400px) {
  body {
    font-size: 12px;
  }
}

main {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 0 5%;
}

header {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 9999;
  height: 78.4px;
  margin: 0 0 50px;
  padding: 0 5%;
}

.content {
  max-width: 1250px;
}

/*\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
/*\\\ STRONA 1 */
.navbar_wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1003;
  padding: 0 5%;
  background-color: #550197;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.175);
}
.navbar_wrap.active {
  box-shadow: none;
}

.nickname-space {
  padding: 10px 0;
}
.nickname {
  font-family: "Monoton", sans-serif;
  font-size: 3.1em;
  text-decoration: none;
  color: #75a4ff;
}

/* HAMBURGER */
.menu_button {
  box-sizing: border-box;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  padding: 20px 0;
  font-size: 4em;
  color: #fff300;
}

.off-screen-menu {
  width: 100%;
  padding: 0 20px 8px;
  position: fixed;
  top: -40%;
  left: 0;
  display: flex;
  flex-direction: column;
  font-size: 2em;
  transition: 0.5s ease;
  background-color: #550197;
  box-shadow: 0 14px 15px rgba(0, 0, 0, 0.175) !important;
}
.off-screen-menu.active {
  top: 80px;
}

.menu-hamburger {
  display: flex;
  justify-content: start;
  flex-direction: column;
}

.menu-hamburger li {
  padding: 12px 0;
  list-style: none;
}

.hamburger-link {
  text-decoration: none;
  text-transform: uppercase;
  color: white;
}
/*? ////////////////////////////////////////// */

/*! PANEL */
.panel {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2em;
}

.panel__body {
  width: 80%;
  background-color: #290936;
  border-radius: 10px;
}

@media (max-width: 524px) {
  .panel__body {
    width: 100%;
  }
}

/*? UPPER */
.panel__upper {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 52px;
  border-bottom: 1px solid;
  border-color: #495df9;
}

.dots--wrap {
  display: flex;
  width: 90%;
}

.dot {
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 100px;
}

.dot--first {
  background-color: #f87171;
}

.dot--second {
  background-color: #fb923c;
}

.dot--third {
  background-color: #bbf7d0;
}
/* -------------------------------------------- */

/*? LOWER */
.panel__lower {
  font-family: "Space Mono";
  box-sizing: border-box;
  padding: 16px;
}
.mr-8r {
  margin-right: 8px;
}
.mr-16l-8r {
  margin: 0 8px 0 16px;
}
.mr-32l-8r {
  margin: 0 8px 0 32px;
}
.mr-16l {
  margin-left: 16px;
}
.mr-48l {
  margin-left: 48px;
}

.color--pink {
  color: #ec4899;
}
.color--grey {
  color: #9ca3af;
}
.color--yellow {
  color: #fcd34d;
}
.color--orange {
  color: #fb923c;
}
.color--green {
  color: #4ade80;
}
.color--blue {
  color: #22d3ee;
}
/*? ////////////////////////////////////////// */

#intro {
  margin-bottom: 100px;
  scroll-margin-top: 130px;
}

.welcome {
  display: flex;
  flex-wrap: wrap;
  margin-top: 40px;
}

.welcome p {
  width: 100%;
  font-family: "roboto", sans-serif;
  font-size: 2em;
  font-weight: 500;
}

.welcome span {
  font-size: 2em;
}

.icons {
  display: flex;
  font-size: 8px;
  margin-top: 30px;
}

/*! /////////////////////////////////// */
/** OPERATOR MENU */
@media (min-width: 1000px) and (orientation: landscape) {
  .menu_button {
    display: none;
  }
}
@media (min-width: 1000px) and (orientation: portrait) {
  .menu_wrap {
    display: none;
  }
}
@media (max-width: 1000px) {
  .menu_wrap {
    display: none;
  }
  .menu_button {
    display: block;
  }
}
/*! /////////////////////////////////// */

@media (orientation: landscape) and (min-width: 1000px) {
  /*? /////////////////////////////// */

  header {
    position: relative;
  }

  .menu_wrap {
    display: flex;
    justify-content: end;
    position: relative;
  }

  .menu-default-list {
    display: flex;
    justify-content: end;
    flex-direction: row;
    list-style: none;
  }

  .menu__element-name {
    padding: 8px 15px;
    font-size: 20px;
    color: white;
    text-transform: uppercase;
    transition: 0.3s;
    outline: 2px solid transparent;
  }
  .menu__element-name:hover {
    color: #22d3ee;
  }

  .nav-link {
    position: relative;
    white-space: nowrap;
    font-size: 20px !important;
    text-decoration: none;
    transition: outline ease !important;
  }

  .nav-link:before {
    position: absolute;
    bottom: 2px;
    content: "";
    width: 75%;
    height: 2.5px;
    background: #fff300;
    transform: translateX(-100%);
    opacity: 0;
  }

  .nav-link:hover:before {
    opacity: 1;
    transition: 0.5s transform ease, 0.8s opacity ease;
    transform: translateX(0);
  }
  /*? /////////////////////////////////////// */

  .intro_wrap {
    display: flex;
    flex-direction: row-reverse;
    width: 100%;
  }

  .welcome {
    width: 50%;
    align-content: center;
  }
  .panel {
    display: flex;
    justify-content: center;
    width: 50%;
    font-size: 1.34em;
  }
  .panel__body {
    width: 85%;
  }
}
/*\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
/*\\\ STRONA 2 */

#about {
  scroll-margin-top: 90px;
}

.about--text {
  display: flex;
  justify-content: center;
  font-size: 3.2em;
}

.underline_about {
  margin: 2px auto;
  width: 115px;
  height: 5px;
  background-color: #fff300;
}

.photo_inside {
  display: flex;
  justify-content: center;
  margin: 20px;
}

@media (min-width: 400px) {
  .photo_inside {
    margin: 35px;
  }
}

.photo {
  width: 170px;
  height: 170px;
  border-radius: 50%;
}

@media (min-width: 768px) {
  .photo {
    width: 270px;
    height: 270px;
  }
}

.information {
  margin: 0 0 75px;
  padding: 0 8%;
}

.information p {
  font-family: "roboto", sans-serif;
  font-size: 1.4em;
  font-weight: 500;
}

.first {
  margin-bottom: 26px;
}

/** Hobbies */

.hobbie_title--text {
  display: flex;
  justify-content: center;
  font-size: 3.2em;
}

.underline_hobbies {
  margin: 0 auto 30px;
  width: 100px;
  height: 5px;
  background-color: #fff300;
}

@media (min-width: 400px) {
  .underline_hobbies {
    margin: 2px auto 40px;
  }
}

.cards_wrap {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 100%;
  margin-bottom: 45px;
}

@media (min-width: 700px) {
  .cards_wrap {
    justify-content: space-around;
    flex-wrap: wrap;
    flex-direction: row;
  }
}

.card_side {
  width: 250px;
  height: 250px;
  margin: 0px auto 30px;
  background-color: #380063;
  border-radius: 3%;
}

@media (min-width: 400px) {
  .card_side {
    width: 300px;
    height: 300px;
  }
}

.card_side--back {
  display: flex;
  align-items: center;
  justify-content: center;
}

.card img {
  width: 56%;
  height: 56%;
  margin-bottom: 16px;
}

.card p {
  font-family: "Inter", sans-serif;
  font-size: 2.8em;
  font-weight: bold;
}

@media (min-width: 400px) {
  .card p {
    font-size: 2.5em;
  }
}

.card_side--back p {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 210px;
  height: 180px;
  font-size: 1.6em;
  text-align: center;
}

.card_side--back p + p {
  margin-top: -75px;
}

/*\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
/** CARD FLIP */
.card {
  position: relative;
  perspective: 1500px;
  width: 250px;
  height: 250px;
  margin-bottom: 30px;
}

@media (min-width: 400px) {
  .card {
    width: 300px;
    height: 300px;
    margin-bottom: 50px;
  }
}

.card_side {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transition: 0.8s ease;
  backface-visibility: hidden;
}

.card_side--back {
  transform: rotateY(180deg);
}

.card:hover .card_side--front {
  transform: rotateY(-180deg);
}

.card:hover .card_side--back {
  transform: rotateY(0);
}

/*? //////////////////////////////////////////// */
@media (orientation: landscape) and (min-width: 1000px) {
  .about_wrap {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }

  .introduction_wrap {
    width: 50%;
  }

  .hobbies_wrap {
    width: 50%;
    align-content: flex-end;
  }

  .hobbie_title--text {
    margin: 30px 0 0 3%;
    justify-content: start;
  }

  .underline_hobbies {
    background-color: #550197;
  }

  .card {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 200px;
    height: 200px;
  }

  .card_side {
    width: 200px;
    height: 200px;
  }

  .card_side--back p {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 175px;
    height: 140px;
    font-size: 1.4em;
    text-align: center;
  }
}

@media (orientation: landscape) and (min-width: 1180px) {
  .card {
    width: 230px;
    height: 230px;
  }

  .card_side {
    width: 230px;
    height: 230px;
  }
}

/*\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
/*\\\ STRONA 3 */
#websites {
  font-family: "Oswald", sans-serif;
  scroll-margin-top: 100px;
}

#websites h1 {
  font-size: 2.8em;
  font-family: "Inter", sans-serif;
  text-align: center;
  text-transform: uppercase;
  font-weight: 800;
}

@media (min-width: 768px) {
  #websites h1 {
    width: 300px;
    margin: 0 auto;
  }
}

.underline_websites {
  margin: 2px auto 40px;
  width: 120px;
  height: 5px;
  background-color: #fff300;
}

.article_text {
  font-size: 1.4em;
  font-weight: 500;
  text-align: center;
}

@media (min-width: 768px) {
  .article_text {
    width: 70%;
  }
}

.article {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-bottom: 80px;
}
.article-last {
  margin-bottom: 100px;
}

.article img {
  width: 100%;
  margin-bottom: 20px;
  border-radius: 8px;
}

@media (min-width: 768px) {
  .article img {
    width: 75%;
  }
}

.article_title {
  padding: 0 14px;
  font-size: 2.5em;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .article_title {
    width: 55%;
  }
}

/*? ///////////////////////////////////////////// */
@media (orientation: landscape) and (min-width: 1000px) {
  .articles_wrap {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-direction: row;
  }

  .article {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 30%;
  }
  .article img {
    width: 100%;
  }

  .article_title {
    width: 100%;
    font-size: 2.2em;
    margin-bottom: 10px;
  }

  .article_text {
    width: 100%;
    font-weight: normal;
  }
}
/*? ///////////////////////////////////////////// */

/*\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
/*\\\ STRONA 4 */

#projects {
  margin-bottom: 100px;
  scroll-margin-top: 95px;
}

.projects_title {
  display: flex;
  justify-content: center;
  font-size: 3em;
}

.underline_projects {
  margin: 2px auto;
  width: 82px;
  height: 5px;
  background-color: #fff300;
}

@media (min-width: 400px) {
  .underline_projects {
    width: 100px;
  }
}

.wrap_projects {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin: 40px auto 60px;
}

.project {
  width: 90%;
  margin-bottom: 60px;
  padding: 16px;
  border-radius: 10px;
  background-color: #380063;
  box-shadow: #8921d9 5px 5px, #7c1dc4 10px 10px, #6f1ab0 15px 15px,
    #62179c 20px 20px;
}
.wrap_project-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 550px;
}

.fake_image {
  width: 100%;
  margin-bottom: 16px;
  border-radius: 10px;
  background-color: rgb(220, 220, 220);
}

.project_main {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.project_title {
  margin-bottom: 10px;
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 2em;
  text-transform: uppercase;
}

.project_description {
  font-family: "Poppins";
  font-weight: 600;
  font-size: 1.3em;
}

.project_date {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  height: 20px;
  margin: 13px 0;
  padding: 0 20px;
  border-radius: 10px;
  font-size: 1.1em;
  font-family: "Inter", sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  background-color: #495df9;
}

@media (min-width: 400px) {
  .project_date {
    height: 24px;
  }
}

.project_date p {
  margin: 0 auto;
}

.real-date {
  display: flex;
  align-items: center;
  height: 24px;
  margin: 13px 0;
  border-radius: 10px;
  text-transform: none;
  background-color: #495df9;
}

@media (min-width: 780px) {
  .project {
    width: 60%;
  }
}

@media (min-width: 1000px) {
  #websites {
    margin-bottom: 30px;
  }

  .wrap_projects {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 100%;
  }
  .project {
    width: 45%;
  }
}
@media (max-width: 1000px) {
  .wrap_project-content {
    height: auto;
  }
}
@media (min-width: 1000px) and (max-width: 1150px) {
  .wrap_project-content {
    height: 500px;
  }
}

/*\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
/*\\\ STRONA 5 */

/** FORMULARZ */

#contact {
  scroll-margin-top: 105px;
}

#contact h1 {
  display: flex;
  justify-content: center;
  font-size: 3em;
}

.underline_contact {
  width: 80px;
  height: 5px;
  margin: 1px auto;
  background-color: #fff300;
}

@media (min-width: 400px) {
  .underline_contact {
    width: 90xpx;
  }
}

.form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact {
  display: flex;
  align-items: center;
  width: 78%;
  height: 42px;
  margin-bottom: 30px;
  background-color: white;
  border-radius: 20px;
}

.form__first {
  margin-top: 40px;
}

.contact--inputs {
  width: 100%;
  height: 100%;
  padding-left: 25px;
  border: none;
  outline: none;
  font-family: "Inter", sans-serif;
  font-weight: bold;
  color: #380063;
  border-radius: 20px;
}
.contact--inputs:focus {
  border: 3px solid #fff300;
  font-family: "Inter", sans-serif;
  font-weight: bold;
  color: #380063;
  background-color: #a2e4ee;
}
.contact--inputs::placeholder {
  font-family: "Inter", sans-serif;
  font-weight: bold;
  color: #380063;
}

.form textarea {
  height: 100%;
  padding-left: 8px;
  margin: 8px 0 0 -3px;
  border-radius: 15px;
  resize: none;
}
.contact--text_area-title {
  display: flex;
  align-items: center;
}
.input--text_area:focus {
  border: none;
  background-color: white;
}

.contact__message-bar {
  align-items: start;
  height: 140px;
}
.contact--message_bar-wrap {
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
  width: 100%;
  height: 130px;
  margin: 8px 0 0 8px;
}
.message {
  margin-left: 3px;
  font-size: 1.1em;
  font-family: "Inter", sans-serif;
  font-weight: bold;
  color: #380063;
  text-align: bottom;
}

.button {
  width: 78%;
  margin-top: -5px;
}

.submit_button {
  align-self: start;
  width: 100px;
  height: 40px;
  font-family: "inter", sans-serif;
  font-size: 1.2em;
  font-weight: bold;
  text-transform: uppercase;
  color: #380063;
  background-color: white;
  border: 4px solid #495df9;
  border-radius: 10px;
  transition: 0.3s;
  cursor: pointer;
}

button:hover {
  color: white;
  background-color: #495df9;
}

.joke--anchor {
  position: relative;
}

.joke_button--open {
  padding: 0;
  font-size: 18px;
  margin-left: -3px;
  cursor: pointer;
}
.joke_button-close {
  background-image: linear-gradient(to right, #663399, #8853bd);
  border-radius: 20px;
  border: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  color: white;
  cursor: pointer;
  padding: 10px 25px;
}
.joke_button-close:active {
  opacity: 0.8;
}
.reset_button {
  border: 0;
  background-color: white;
}

/* //////////////////////////////////// */
.modal {
  background-color: rgba(0, 0, 0, 0.3);
  opacity: 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: all 0.3s ease-in-out;
  z-index: -1;
  color: black;

  display: flex;
  align-items: center;
  justify-content: center;
}

.modal.open {
  opacity: 1;
  z-index: 999;
}
.modal--header_wrapper {
  position: relative;
}
.modal--close_button {
  position: absolute;
  top: -27px;
  right: -18px;
  font-size: 21px;
  color: rgba(57, 55, 55, 0.913);
  cursor: pointer;
}

.modal-inner {
  background-color: white;
  border-radius: 5px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  padding: 15px 25px;
  text-align: center;
  width: 380px;
}

.modal-inner h2 {
  margin: 0;
  margin-bottom: 20px;
}

.joke--question {
  line-height: 24px;
  font-size: 16px;
  margin: 10px 0;
}
.punch_line {
  margin-top: 10px;
  margin-bottom: 5px;
  font-size: 14px;
  font-style: italic;
}

/*\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
/** INFO */

.info {
  display: flex;
  flex-direction: column;
}

.info__section {
  margin-top: 50px;
  margin: 50px 0 0 20px;
  width: 100%;
  font-family: "roboto", sans-serif;
}

.contact__title {
  font-size: 2.4em;
  font-weight: 500;
}

.contact__title + p {
  font-size: 1.6em;
  color: #aa3bff;
}
.contact__title + a {
  font-size: 1.6em;
  color: #aa3bff;
  text-decoration: none;
}

footer div {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 60px;
  background-color: #35006b;
}

.stopka {
  font-family: "Roboto", sans-serif;
  font-size: 1.3em;
}

.stopka span {
  font-family: "Anta";
  font-size: 1.3em;
  font-weight: bold;
  font-style: italic;
  color: #0094ff;
}

.wrap_projects {
  display: flex;
}

/*! ////////////////////////////////////////////////// */
@media (orientation: landscape) and (min-width: 1000px) {
  #projects {
    margin-bottom: 20px;
  }

  .contact_wrap {
    display: flex;
    justify-content: space-between;
    margin: 30px 0 50px;
  }

  .form_wrap {
    width: 50%;
  }

  .info_wrap {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-top: 40px;
    width: 50%;
  }

  .info__section {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    margin: 0 0 50px;
    padding-right: 25%;
  }
}
