/* FONTS */

@font-face {
  font-family: "VarelaRound";
  src: url("./fonts/VarelaRound-Regular.ttf") format("truetype");
  font-style: normal;
  font-display: swap;
}

/* GLOBAL */

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

html {
  background: #ffffff;
  color: #232323;
}

body {
  font-family: VarelaRound, Arial, Helvetica, sans-serif;
  max-width: 1280px;
  margin: auto;
}

header {
  margin-bottom: 50px;
}

.logo {
  color: #232323;
}

.logo:hover {
  color: black;
}

.content {
  padding-top: 4%;
  padding-bottom: 1%;
  padding-right: 5%;
  padding-left: 5%;
}

footer {
  padding-bottom: 4%;
}

h1.big {
  font-size: 32px;
  opacity: 25%;
  font-weight: 300;
}

h2 {
  font-weight: 500;
  margin-bottom: 8px;
}

img {
  user-drag: none;
  -webkit-user-drag: none;
  -moz-user-drag: none;
  -ms-user-drag: none;
  pointer-events: auto;
}

/* FLEX TEMPLATES */

.flex {
  display: flex;
}

.flex.row {
  flex-direction: row;
}

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

.flex.wrap {
  flex-wrap: wrap;
}

.flex.nowrap {
  flex-wrap: nowrap;
}

.flex.start {
  justify-content: flex-start;
}

.flex.space-between {
  justify-content: space-between;
}

.flex.center {
  justify-content: center;
  align-items: center;
}

.flex.end {
  justify-content: flex-end;
}

.flex.baseline {
  align-items: baseline;
}

.flex.gapped {
  gap: 10px;
}

.flex.gapped-mini {
  gap: 5px;
}

/* CONTENT */

.intro {
  margin-bottom: 30px;
  opacity: 40%;
}

.contacts {
  margin-bottom: 30px;
  gap: 20px;
}

.contacts img,
.button-to-preview img {
  height: 20px;
  margin-right: 8px;
}

.contact,
.button-to-preview {
  padding: 12px 17px 12px 17px;
  border-radius: 13px;
  align-items: center;
  background: rgb(43, 43, 43);
}

.contact:hover,
.button-to-preview:hover {
  filter: brightness(120%);
}

.contact.telegram {
  background: #0088cc;
}

.contact.github {
  background: rgb(32, 32, 32);
}

.contact.twitter {
  background: rgb(32, 32, 32);
}

.contact.fl {
  background: #0d8042;
}

.contact.discord {
  background: #5865f2;
}

.button-to-preview.github {
  background: rgb(43, 43, 43);
}

.about, .skills, .pricing {
  p {
    margin: 0;
  }
  margin-bottom: 50px;
}

.price {
  font-size: 18px;
  font-weight: bold;
}

.all-stack {
  gap: 35px;

  img {
    height: 50px;
  }

  img:hover {
    cursor: pointer;
  }
}

.all-tasks {
  gap: 40px;
}

.task {
  width: fit-content;
  color: black;
}

.task-content {
  font-size: 18px;
  gap: 7px;
}

.portfolio-icon {
  width: 20px;
}

.portfolio-icon:hover {
  opacity: 70%;
}

.task-details a {
  color: black;
}

.task-details a:hover {
  color: #0088cc;
  filter: brightness(120%);
}

.task-tech {
  max-width: 700px;;
}

.task-tech div {
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
  border: 1px solid #00000020;
}

/* MOBILE  */

@media screen and (max-width: 1270px) {
  .all-tasks {
    margin-bottom: 3%;
    gap: 20%;
  }

  .task-details {
    flex-direction: column !important;
  }

  .task {
    width: fit-content;
    margin-bottom: 30px;
  }
}
