@import url("intro.css");
@import url("landing.css");
@import url("about.css");
@import url("project.css");

*{
  margin: 0; padding: 0;
  outline: none; border: none;
  font-family: 'Roboto', sans-serif;
  scrollbar-width: none;
}

img{
  pointer-events: none; /* Make images non interactive (not draggable or saveable) */  
  image-rendering: optimizeQuality;
}

:root {

  --color-1: #f3dfa2; /* Page: Om meg     */
  --color-2: #7ebdc2; /* Page: Portfolio  */
  --color-3: #bb4430; /* Page: CV         */
  --color-4: #231f20; /* Shadows          */

  --color-1: #5798ce; /* Page: Om meg     */
  --color-2: #dcaf3d; /* Page: Portfolio  */
  --color-3: #d13f3f; /* Page: CV         */
  --color-4: black;   /* Shadows          */


  --color-1-hover: #5fa4db; /* Page: Om meg     */
  --color-2-hover: #ecbc42; /* Page: Portfolio  */
  --color-3-hover: #e84646; /* Page: CV         */


  --text-color: black;
  --bg-color: whitesmoke;



  --text-type: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  --main-text-font: Arial;
  --font-size-p: 1.4rem;
  --font-size-h1: 2.5rem;
  --font-size-h2: 2rem; /* About me typing animation size */
  --text-line-height: 33px;

  --type-animation-value: calc(var(--font-size-h1) + 1rem);

}

body{
  background-color: var(--bg-color);
}



::-webkit-scrollbar {
  width: 0px;
  scrollbar-width: none;
  background: transparent; /* make scrollbar transparent */
}


.hidden{
  opacity: 0;
  filter: blur(6px);
}

.hidden-l{
  transform: translateX(-20%);
}

.hidden-r{
  transform: translateX(+20%);
}

.show{
  transition: 0.3s linear;
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
}



@keyframes loading_animation {
  from{
    transform: translateX(-100%);
  }
  to{
    transform: none;
  }
}


@media (max-width:1000px) {
  .hidden{
    opacity: 1;
    filter: blur(0px);
  }
  
  .hidden-l{
    transform: translateX(0%);
  }
  
  .hidden-r{
    transform: translateX(0%);
  }
}

.animation{
  animation: loading_animation 1.5s;
}
