/* code needs refactoring */
.noselect {
  -webkit-touch-callout: none;
  /* iOS Safari */
  -webkit-user-select: none;
  /* Safari */
  -khtml-user-select: none;
  /* Konqueror HTML */
  -moz-user-select: none;
  /* Old versions of Firefox */
  -ms-user-select: none;
  /* Internet Explorer/Edge */
  user-select: none;
  /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}



iframe {
  display: table;
  width: 100%;
  height: 100%;
  margin: 1rem 1rem;
}

.screen {
  height: 100vh;
  width: 100%;
  background-color: white;
  margin: 0 auto;
}

.blue-alert {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 0.8rem;
  background-color: var(--main-blue);
  overflow: hidden;
  color: white;
  font-size: 1.4rem;
}

.blue-alert p {
  margin-left: 1rem;
}

.main-top {
  position: fixed;
  width: 100%;
  display: grid;
  grid-template-columns: 5% 40% auto 5% 5%;
  padding: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 0.1rem solid #f2f2f2;
}

.img img {
  width: 70%;
  border-radius: 50%;
  transition: transform 0.5s;
}

.img img:hover {
  position: relative;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  -ms-transform: scale(2);
  /* IE 9 */
  -webkit-transform: scale(2);
  /* Safari 3-8 */
  transform: scale(3) translate(0.8rem);
}

.name {
  font-size: 1.2rem;
}

.letter-anim:hover {
  color: var(--main-blue);
}

.green-dot {
  font-size: 0.6rem;
  color: #42b72a;
}

.name p {
  color: #868686;
  font-size: 1rem;
}

.weather {
  font-weight: normal;
  font-size: 0.9rem;
  line-height: 0.2;
}

#wicon {
  margin-left: 1rem;
}

.icon {
  padding: 0.75rem;
  font-size: 2rem;
  color: var(--main-light-blue);
  text-align: center;
  cursor: pointer;
}

.icon:hover {
  opacity: 0.8;
}

.call {
  position: relative;
}

.call .contact-details {
  visibility: hidden;
  width: auto;
  background-color: #fff;
  color: #000;
  text-align: center;
  border-radius: 6px;
  padding: 0.5rem;
  position: absolute;
  z-index: 11;
  top: 100%;
  left: 10%;
  margin-left: -70px;
  font-size: 1.1rem;
}

.call .contact-details::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent black transparent;
}

.call:hover .contact-details {
  visibility: visible;
}

.info {
  font-size: 2.2rem;
}

.go-back-info {
  display: none;
}

.info-block {
  background-color: #fff;
  border-left: 0.05rem solid #e7e7e7;
  width: 30%;
  height: 95%;
  position: absolute;
  right: 0;
  top: 3.2rem;
  padding: 1rem 0;
  overflow: auto;
  text-align: center;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.09);
}

.info-block div {
  border-bottom: 0.05rem solid #e7e7e7;
  padding: 0.5rem;
}

.info-block h3 {
  text-align: center;
  color: var(--main-blue);
  margin: 0.2rem 0;
}

.grayed {
  color: gray;
  font-weight: 500;
}

.reded {
  text-decoration: line-through;
  color: red;
  opacity: 0.6;
}

.go-back-info {
  padding-left: 1rem;
  font-size: 1.5rem;
  display: block;
  text-align: left;
  position: fixed;
  color: var(--main-light-blue);
  cursor: pointer;
}

.info-image {
  width: 35%;
  margin: 0 auto;
  border: none;
}

.info-image img {
  width: 100%;
  border-radius: 50%;
  border: none;
}

.info-name {
  text-align: center;
  padding-bottom: 1rem;
  border-bottom: 0.05rem solid #eeeeee;
}

.dev {
  color: gray;
  font-size: 0.9rem;
  margin-top: 0.2rem;
}

.map {
  font-size: 0.9rem;
  margin-top: 0.5rem;
  color: black;
}

.gray-dot {
  color: gray;
  margin-left: 1rem;
}

.gray-dot,
.black-dot {
  font-size: 0.9rem;
}

.chatbox {
  width: 100%;
  position: fixed;
  top: 5.7rem;
  padding: 1rem 2rem;
  overflow: auto;
  height: 70%;
  font-weight: 400;
}

.my-projects {
  width: 100%;
  margin: 2rem auto;
  display: grid;
  grid-template-columns: 28% 28% 28%;
  display: none;
}

.card {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  margin: 1rem 1rem;
  cursor: pointer;
}

.card:hover {
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
  background-color: rgba(0, 0, 0, 0.2);
}

.card a {
  text-decoration: none;
  color: #000;
}

.container {
  padding: 0.5rem 1rem;
  text-align: center;
}

.first-msg {
  display: none;
}

.left-msg {
  padding: 1.2rem 1.8rem;
  margin: 0.5rem auto 0.5rem 2rem;
  background-color: #f1f0f0;
  max-width: 50%;
  text-align: left;
  border-radius: 5rem;
  font-weight: lighter;
  line-height: 1.2;
  color: #000;
  font-size: 1.4rem;
  display: table;
  position: relative;
}

.left-msg-block {
  padding: 1.2rem 1.8rem;
  margin: 0.5rem auto 0.5rem 2rem;
  background-color: #f1f0f0;
  max-width: 50%;
  text-align: left;
  border-radius: 5rem;
  font-weight: lighter;
  line-height: 1.2;
  font-size: 1.1rem;
  display: table;
  position: relative;
}

.right-msg {
  padding: 1.2rem 1.8rem;
  margin: 0.5rem 2rem 0.5rem auto;
  background-color: var(--main-light-blue);
  color: #fff;
  max-width: 50%;
  display: table;
  text-align: left;
  border-radius: 5rem;
  line-height: 1.2;
  font-size: 1.1rem;
}

.time-left {
  font-size: 0.8rem;
  position: absolute;
  right: 100%;
  top: 90%;
}

.img-left {
  text-align: center;
  width: 2rem;
  font-size: 0.9rem;
  position: absolute;
  right: 100%;
  top: 60%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  border-radius: 50%;
}

.theimg {
  width: 80%;
  border-radius: 50%;
}

/* TYPING ANIMATION */
.chat-bubble-left {
  background-color: #f1f0f0;
  padding: 1rem;
  border-radius: 5rem;
  display: table;
  margin: 0.5rem auto 0.5rem 2rem;
}

.chat-bubble-right {
  padding: 1rem;
  border-radius: 5rem;
  display: table;
  margin: 0.5rem 2rem 0.5rem auto;
}

.right-msg-emoji {
  padding: 1rem 2rem;
  margin: 0.5rem 2rem 0.5rem auto;
  max-width: 50%;
  display: table;
  line-height: 1;
  font-size: 2.5rem;
  text-align: left;
}

.left-msg-emoji {
  padding: 1rem 2rem;
  margin: 0.5rem auto 0.5rem 2rem;
  max-width: 50%;
  display: table;
  line-height: 0.1;
  font-size: 5rem;
  text-align: left;
}

.typing {
  align-items: center;
  display: flex;
  height: 17px;
}

.typing .dot {
  animation: mercuryTypingAnimation 1.8s infinite ease-in-out;
  background-color: gray;
  border-radius: 50%;
  height: 7px;
  margin-right: 4px;
  vertical-align: middle;
  width: 7px;
  display: inline-block;
}

.typing .dot:nth-child(1) {
  animation-delay: 200ms;
}

.typing .dot:nth-child(2) {
  animation-delay: 300ms;
}

.typing .dot:nth-child(3) {
  animation-delay: 400ms;
}

.typing .dot:last-child {
  margin-right: 0;
}

@keyframes mercuryTypingAnimation {
  0% {
    transform: translateY(0px);
    background-color: gray;
  }

  28% {
    transform: translateY(-7px);
    background-color: gray;
  }

  44% {
    transform: translateY(0px);
    background-color: gray;
  }
}

.polaroid {
  width: 100%;
  display: inline;
  text-align: center;
  margin: 0 0.5rem;
}

.polaroid img {
  width: 40%;
  border-radius: 5px;
}

/* BOTTOM MESSAGE SECTION */
.message-section {
  position: fixed;
  bottom: 0;
  width: 100%;
  display: grid;
  grid-template-columns: 5% auto 5% 5%;
  padding: 1.5rem;
  font-size: 2rem;
  grid-gap: 0.5rem;
  text-align: center;
  color: var(--main-light-blue);
  background: #fff;
}

.form-button {
  cursor: pointer;
}

.msg {
  padding: 0.7rem 1rem;
  border: none;
  border-radius: 5rem;
  text-align: left;
  color: #868686;
  position: relative;
  font-size: 1.3rem;
  cursor: pointer;
}

.emoji-btn {
  cursor: pointer;
}

/* QUSTIONS BLOCK */
.question-block {
  width: 95%;
  height: 20rem;
  background: #fff;
  margin: 0 auto;
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 10;
  overflow: auto;
  display: none;
  padding: 1.5rem;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.go-back-question {
  display: none;
}

.headings {
  color: var(--main-blue);
  width: 100%;
  display: grid;
  grid-template-columns: 50% 50%;
  text-align: center;
}

.sections {
  display: grid;
  grid-template-columns: 50% 50%;
}

.personal {
  padding: 1rem;
  width: 100%;
  display: grid;
  grid-gap: 0.5rem;
  grid-template-columns: auto auto;
  border-right: 0.1rem solid var(--main-blue);
}

.work-related {
  padding: 1rem;
  width: 100%;
  display: grid;
  grid-gap: 0.5rem;
  grid-template-columns: auto auto;
}

.baloon {
  background-color: var(--main-light-blue);
  color: #ffff;
  padding: 1rem;
  font-size: 1.2rem;
  border: none;
  border-radius: 5rem;
  outline: none;
  cursor: pointer;
  text-align: left;
}

.baloon-disabled {
  background-color: black;
  opacity: 0.2;
  color: #ffff;
  padding: 1rem;
  font-size: 1.2rem;
  border: none;
  border-radius: 5rem;
  outline: none;
}

/* EMOJIS */
.emoji-block {
  width: 25%;
  height: 15rem;
  background: #ffff;
  border-radius: 1px;
  margin: 0 auto;
  position: absolute;
  bottom: 12%;
  right: 1%;
  z-index: 10;
  overflow: auto;
  display: grid;
  grid-gap: 0.5rem;
  grid-template-columns: auto auto auto auto;
  text-align: center;
  font-size: 1.7rem;
  padding: 0.5rem;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.emoji {
  cursor: pointer;
}

.emoji-btn:hover {
  opacity: 0.8;
}

/* THUMB */
.thumb-right {
  margin: 1rem 2rem 1rem auto;
  color: var(--main-light-blue);
  max-width: 50%;
  display: table;
  text-align: left;
  border-radius: 5rem;
  line-height: 1.4;
  font-size: 1.8rem;
}

.thumb {
  cursor: pointer;
}

.thumb:hover {
  opacity: 0.8;
}

.anim-wiggle {
  animation: wiggle 0.2s ease infinite;
}

.anim-wiggle-2 {
  animation: wiggle2 0.2s ease infinite;
}

@keyframes wiggle {
  0% {
    transform: rotateZ(5deg);
  }

  50% {
    transform: rotateZ(-5deg);
  }

  100% {
    transform: rotateZ(5deg);
  }
}

@keyframes wiggle2 {
  0% {
    transform: rotateZ(10deg);
  }

  50% {
    transform: rotateZ(-10deg);
  }

  100% {
    transform: rotateZ(10deg);
  }
}

/* Blinking Effect */
.blink {
  animation: blinking 1.5s infinite;
  animation-timing-function: linear;
}

@keyframes blinking {
  0% {
    opacity: 1;
    font-size: 2rem;
  }

  10% {
    opacity: 1;
    font-size: 2.05rem;
  }

  25% {
    opacity: 0.9;
    font-size: 2.1rem;
  }

  40% {
    opacity: 1;
    font-size: 2.15rem;
  }

  50% {
    opacity: 0.8;
    font-size: 2.2rem;
  }

  60% {
    opacity: 1;
    font-size: 2.15rem;
  }

  75% {
    opacity: 0.7;
    font-size: 2.1rem;
  }

  90% {
    opacity: 0.7;
    font-size: 2.05rem;
  }

  100% {
    opacity: 0.9;
    font-size: 2rem;
  }
}

/* CONTACT BLOCK */
.contact-block {
  background: #fff;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  padding: 1rem;
  position: absolute;
  top: 8rem;
  right: 2rem;
  border-radius: 1rem;
  display: none;
}

/* Social Icons */
.social-icons {
  display: flex;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 40px;
  height: 40px;
  margin: 0 0.5rem;
  border-radius: 50%;
  cursor: pointer;
  font-family: "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  font-size: 1.5rem;
  text-decoration: none;
  transition: all 0.15s ease;
}

.social-icon:hover {
  color: #fff;
}

.social-icon:hover .tooltip {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, -150%);
}

.social-icon:active {
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.5) inset;
}

.social-icon--linkedin {
  background: #006599;
  color: #fff;
}

.social-icon--linkedin .tooltip {
  background: #006599;
  color: currentColor;
}

.social-icon--linkedin .tooltip:after {
  border-top-color: #006599;
}

.social-icon--twitter {
  background: #2b97f1;
  color: #fff;
}

.social-icon--twitter .tooltip {
  background: #2b97f1;
  color: currentColor;
}

.social-icon--twitter .tooltip:after {
  border-top-color: #2b97f1;
}

.social-icon--codepen {
  background: #000;
  color: #fff;
}

.social-icon--codepen .tooltip {
  background: #000;
  color: currentColor;
}

.social-icon--codepen .tooltip:after {
  border-top-color: #000;
}

.social-icon--facebook {
  background: #3b5a9b;
  color: #fff;
}

.social-icon--facebook .tooltip {
  background: #3b5a9b;
  color: currentColor;
}

.social-icon--facebook .tooltip:after {
  border-top-color: #3b5a9b;
}

.social-icon--instagram {
  background: #527fa6;
  color: #fff;
}

.social-icon--instagram .tooltip {
  background: #527fa6;
  color: currentColor;
}

.social-icon--instagram .tooltip:after {
  border-top-color: #527fa6;
}

.social-icon--dribbble {
  background: #dd4a3f;
  color: #fff;
}

.social-icon--dribbble .tooltip {
  background: #dd4a3f;
  color: currentColor;
}

.social-icon--dribbble .tooltip:after {
  border-top-color: #dd4a3f;
}

.social-icon--github {
  background: #f8a000;
  color: #fff;
}

.social-icon--github .tooltip {
  background: #f8a000;
  color: currentColor;
}

.social-icon--github .tooltip:after {
  border-top-color: #f8a000;
}

.social-icon i {
  position: relative;
  top: 1px;
}

/* Tooltips */
.tooltip {
  display: block;
  position: absolute;
  top: 0;
  left: 50%;
  padding: 0.8rem 1rem;
  border-radius: 40px;
  font-size: 0.8rem;
  font-weight: bold;
  opacity: 0;
  pointer-events: none;
  text-transform: uppercase;
  transform: translate(-50%, -100%);
  transition: all 0.3s ease;
  z-index: 1;
}

.tooltip:after {
  display: block;
  position: absolute;
  bottom: 1px;
  left: 50%;
  width: 0;
  height: 0;
  content: "";
  border: solid;
  border-width: 10px 10px 0 10px;
  border-color: transparent;
  transform: translate(-50%, 100%);
}

@media (max-width: 600px) {
  iframe {
    margin: 0 auto;
    text-align: center;
  }

  .blue-alert {
    display: none;
  }

  .main-top {
    top: 0;
    grid-template-columns: 15% auto 15% 15%;
  }

  .img img {
    width: 100%;
    border-radius: 50%;
  }

  .img img:hover {
    box-shadow: none;
    -ms-transform: none;
    -webkit-transform: none;
    transform: none;
  }

  .name {
    font-size: 0.8rem;
    margin-left: 0.5rem;
    padding: 0.5rem;
  }

  .green-dot {
    margin-top: 0.2rem;
    font-size: 0.7rem;
  }

  .name p {
    font-size: 0.8rem;
  }

  .weather {
    display: none;
  }

  #wicon {
    margin-left: 1rem;
  }

  .icon {
    padding: 0.75rem;
    font-size: 2rem;
  }

  .icon:hover {
    opacity: 0.8;
  }

  .info {
    font-size: 2.2rem;
  }

  .info-block {
    width: 100%;
    right: 0;
    top: 0;
    padding: 1rem 0;
  }

  .chatbox {
    position: fixed;
    top: 7rem;
    height: 75%;
  }

  .my-projects {
    width: 90%;
    margin: 2rem auto;
    display: grid;
    grid-template-columns: 100%;
  }

  .left-msg {
    padding: 1rem 1.5rem;
    margin: 0.5rem auto 0.6rem 0.5rem;
    max-width: 92%;
    line-height: 1.2;
    font-size: 1rem;
  }

  .left-msg-block {
    padding: 1rem 1.5rem;
    margin: 0.5rem auto 0.5rem 1.5rem;
    max-width: 92%;
    line-height: 1.2;
    font-size: 1rem;
  }

  .right-msg {
    padding: 1rem;
    margin: 0.5rem 0.5rem 0.6rem auto;
    max-width: 92%;
    line-height: 1.1;
    font-size: 1rem;
  }

  .time-left {
    font-size: 0.8rem;
  }

  .img-left {
    width: 2rem;
    font-size: 0.9rem;
  }

  .theimg {
    width: 80%;
    border-radius: 50%;
  }

  .right-msg-emoji {
    margin: 0.5rem 0 0.5rem auto;
    font-size: 2rem;
  }

  .left-msg-emoji {
    margin: 0.5rem auto 0.5rem 0;
    line-height: 0.1;
    font-size: 3rem;
  }

  .thumb-right {
    margin: 0.6rem 0.5rem 0.6rem auto;
    font-size: 1.8rem;
  }

  .polaroid img {
    width: 35%;
    border-radius: 5px;
  }

  .message-section {
    grid-template-columns: 10% auto 10% 10%;
    padding: 0.5rem;
    font-size: 2rem;
    grid-gap: 0.5rem;
  }

  .msg {
    padding: 0.65rem 0.9rem;
    font-size: 1.3rem;
  }

  .question-block {
    width: 100%;
    height: 20rem;
    margin: 0 auto;
    bottom: 1rem;
    left: 0;
    right: 0;
    padding: 1.5rem;
  }

  .go-back-question {
    padding: 0.4rem 0.7rem;
    font-size: 1.4rem;
    display: block;
    text-align: center;
    position: fixed;
    color: var(--main-light-blue);
    bottom: 1rem;
    right: 1rem;
    background-color: #fff;
    border-radius: 3rem;
    border: 0.05rem solid gray;
  }

  .headings {
    color: #fff;
    width: 100%;
    display: grid;
    grid-template-columns: 50% 50%;
    grid-gap: 0.5rem;
    text-align: center;
    font-size: 0.7rem;
    margin-bottom: 1rem;
  }

  .heading {
    padding: 0.5rem;
    border: 0.05rem solid gray;
    border-radius: 4px;
    background-color: var(--main-blue);
  }

  .sections {
    display: block;
    padding: 0.5rem;
    margin: 0 auto;
  }

  .personal {
    padding: 1rem;
    width: 100%;
    display: none;
    grid-gap: 0.5rem;
    border-right: none;
  }

  .work-related {
    padding: 1rem;
    width: 100%;
    display: none;
    grid-gap: 0.5rem;
    border-right: none;
  }

  .baloon {
    padding: 1rem;
    margin: 0.5rem auto;
    font-size: 1.1rem;
  }

  .baloon-disabled {
    background-color: var(--main-light-blue);
    padding: 1rem;
    margin: 0.5rem auto;
    font-size: 1.1rem;
    opacity: 0.2;
  }

  /* EMOJIS */
  .emoji-block {
    width: 80%;
    height: 15rem;
    margin: 0 auto;
    bottom: 5%;
    right: 1%;
    font-size: 1.7rem;
    padding: 0.5rem;
  }

  .thumb-right {
    margin: 1rem 2rem 1rem auto;
    max-width: 50%;
    line-height: 1.4;
    font-size: 1.8rem;
  }

  .contact-block {
    padding: 1rem;
    position: absolute;
    top: 6rem;
    margin: 0 auto;
  }

  .social-icon {
    width: 30px;
    height: 30px;
    font-size: 1.3rem;
  }
}

/* Small mobiles */
@media (max-width: 400px) {
  .main-top {
    grid-template-columns: 15% auto 20% 20%;
  }

  .name {
    font-size: 0.7rem;
    margin-left: 0.5rem;
    padding: 0.5rem;
  }

  .green-dot {
    margin-top: 0.2rem;
    font-size: 0.6rem;
  }

  .name p {
    color: #868686;
    font-size: 0.7rem;
  }

  .icon {
    padding: 0.75rem;
    font-size: 1.85rem;
  }

  .info {
    font-size: 2rem;
  }

  .my-projects {
    width: 90%;
    margin: 2rem auto;
    display: grid;
    grid-template-columns: 100%;
  }

  .left-msg {
    padding: 1rem 1.5rem;
    margin: 0.5rem auto 0.6rem 0.5rem;
    max-width: 95%;
    line-height: 1.1;
    font-size: 0.85rem;
  }

  .left-msg-block {
    padding: 1rem 1.5rem;
    margin: 0.5rem auto 0.5rem 1.5rem;
    max-width: 95%;
    line-height: 1.2;
    font-size: 0.85rem;
  }

  .right-msg {
    padding: 1rem;
    margin: 0.5rem 0.5rem 0.6rem auto;
    max-width: 95%;
    line-height: 1.1;
    font-size: 0.9rem;
  }

  .time-left {
    font-size: 0.65rem;
  }

  .img-left {
    width: 1.65rem;
    font-size: 0.85rem;
  }

  .right-msg-emoji {
    font-size: 1.5rem;
  }

  .left-msg-emoji {
    font-size: 2.2rem;
  }

  .thumb-right {
    font-size: 1.6rem;
  }

  .message-section {
    grid-template-columns: 12% auto 12% 12%;
  }

  .msg {
    padding: 0.5rem 0.7rem;
    font-size: 1rem;
  }

  .go-back-question {
    font-size: 1.2rem;
    bottom: 1.5rem;
  }

  .headings {
    font-size: 0.5rem;
  }

  .baloon {
    font-size: 0.9rem;
  }

  .baloon-disabled {
    font-size: 0.9rem;
  }

  .emoji-block {
    width: 100%;
  }

  .thumb-right {
    font-size: 1.7rem;
  }

  .contact-block {
    top: 6rem;
    margin: 0 auto;
    right: 0.5rem;
    left: 0.5rem;
  }

  .social-icon {
    width: 30px;
    height: 30px;
    margin: 0 0.6rem;
    font-size: 1.2rem;
  }

  @keyframes blinking {
    0% {
      opacity: 1;
      font-size: 1.8rem;
    }

    10% {
      opacity: 1;
      font-size: 1.85rem;
    }

    25% {
      opacity: 0.9;
      font-size: 1.9rem;
    }

    40% {
      opacity: 1;
      font-size: 1.95rem;
    }

    50% {
      opacity: 0.8;
      font-size: 2rem;
    }

    60% {
      opacity: 1;
      font-size: 1.95rem;
    }

    75% {
      opacity: 0.7;
      font-size: 1.9rem;
    }

    90% {
      opacity: 0.7;
      font-size: 1.85rem;
    }

    100% {
      opacity: 0.9;
      font-size: 1.8rem;
    }
  }
}

@media (min-width: 601px) and (max-width: 1100px) {
  .blue-alert {
    display: none;
  }

  .main-top {
    position: fixed;
    top: 0;
    width: 100%;
    display: grid;
    grid-template-columns: 15% auto 15% 15%;
  }

  .img img {
    width: 60%;
    border-radius: 50%;
  }

  .img img:hover {
    position: relative;
    box-shadow: none;
    -ms-transform: none;
    -webkit-transform: none;
    transform: none;
  }

  .name {
    text-align: left;
    font-size: 1rem;
    padding: 0.5rem;
  }

  .green-dot {
    margin-top: 0.2rem;
    font-size: 0.8rem;
  }

  .name p {
    font-size: 0.9rem;
  }

  .weather {
    display: none;
  }

  #wicon {
    margin-left: 1rem;
  }

  .icon {
    padding: 1rem;
    font-size: 2.1rem;
  }

  .info {
    font-size: 2.3rem;
  }

  .info-block {
    background-color: #fff;
    border-left: 0.05rem solid #e7e7e7;
    width: 50%;
    height: 100%;
    right: 0;
    top: 0;
    padding: 1rem 0;
  }

  .chatbox {
    top: 7rem;
    padding: 1rem 2rem;
    height: 75%;
  }

  .my-projects {
    width: 90%;
    margin: 2rem auto;
    display: grid;
    grid-template-columns: 50% 50%;
  }

  .left-msg {
    padding: 1.1rem 1.6rem;
    margin: 0.5rem auto 0.6rem 0.5rem;
    max-width: 75%;
    line-height: 1.1;
    font-size: 1.1rem;
  }

  .left-msg-block {
    padding: 1.1rem 1.6rem;
    margin: 0.5rem auto 0.5rem 1.5rem;
    max-width: 75%;
    line-height: 1.2;
    font-size: 1.1rem;
  }

  .right-msg {
    padding: 1rem;
    margin: 0.5rem 0.5rem 0.6rem auto;
    max-width: 75%;
    line-height: 1.1;
    font-size: 1.1rem;
  }

  .message-section {
    grid-template-columns: 10% auto 10% 10%;
    padding: 0.5rem;
    font-size: 2rem;
  }

  .question-block {
    width: 100%;
    height: 20rem;
    margin: 0 auto;
    bottom: 1rem;
    left: 0;
    right: 0;
  }

  .go-back-question {
    padding: 0.5rem 0.8rem;
    font-size: 1.5rem;
    display: block;
    text-align: center;
    position: fixed;
    color: var(--main-light-blue);
    bottom: 2rem;
    right: 1rem;
    background-color: #fff;
    border-radius: 3rem;
    border: 0.05rem solid gray;
  }

  .headings {
    color: #fff;
    width: 100%;
    display: grid;
    grid-template-columns: 100%;
    grid-gap: 0.5rem;
    text-align: center;
    font-size: 0.7rem;
    margin-bottom: 1rem;
  }

  .heading {
    padding: 0.5rem;
    border: 0.05rem solid gray;
    border-radius: 4px;
    background-color: var(--main-blue);
  }

  .sections {
    display: block;
    padding: 0.5rem;
    margin: 0 auto;
  }

  .personal {
    padding: 1rem;
    width: 100%;
    margin: 0 auto;
    display: none;
    grid-gap: 0.5rem;
    border-right: none;
  }

  .work-related {
    padding: 1rem;
    width: 100%;
    margin: 0 auto;
    display: none;
    grid-gap: 0.5rem;
    border-right: none;
  }

  .baloon {
    background-color: var(--main-light-blue);
    padding: 1rem;
    margin: 0.5rem auto;
    font-size: 1.1rem;
  }

  .baloon-disabled {
    background-color: var(--main-light-blue);
    padding: 1rem;
    margin: 0.5rem auto;
    font-size: 1.1rem;
    opacity: 0.2;
  }

  .emoji-block {
    width: 45%;
  }

  .contact-block {
    padding: 1rem;
    top: 6rem;
    right: 2rem;
    margin: 0 auto;
  }

  .social-icon {
    width: 40px;
    height: 40px;
    margin: 0 0.5rem;
    font-size: 1.3rem;
  }
}