:root{
  --lightgray: rgb(250, 250, 250);
  --gray: rgba(237, 239, 241);
  --black: rgba(25, 25, 25, 0.8);
  --lightblue: rgb(11,187,255);
  --blue: rgba(0,114,255,1);
}

@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-Variable.ttf') format('truetype');
  font-weight: 400 500 600;
}

* {
  margin: 0;
  padding: 0;
  color: var(--black);
  font-family: "Inter", Arial;
  font-size: 1.0em;
  font-weight: 400;
  font-style: normal; 
  text-decoration: none;
  line-height: 1.65em;
  letter-spacing: -.0125em;
}

h1 {
  margin-bottom: -8px;
  font-weight: 500;
  font-size: 5em;
  background: var(--blue);
  background: linear-gradient(15deg, var(--lightblue) -20%, var(--blue) 80%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-size: 2.4em;
  font-weight: 500;
  margin-bottom: 10px;
}

h3 {
  font-size: 1.2em;
  font-weight: 500;
}

h4{
  font-weight: 500; 
  color: rgb(150, 150, 150);
  margin-bottom: 10px;
}

html{
  overflow-x: hidden;
  background-color: var(--lightgray);
}

@keyframes growBounce {
  0%, 100% { transform: scale(1); }
  40% { transform: scale(1.05); }
}

.switch{
  cursor: pointer;
  position: fixed;
  top: 3em;
  left: calc(50% - 100px);
  z-index: 2;
  display: flex;
  flex-direction: row;
  border: none;
  border-radius: 100px;
  padding: 5px;
  align-items: center;
  box-shadow: rgba(0, 0, 0, .08) 0px 4px 6px;
  background-color: var(--gray);
  animation: growBounce 300ms ease-out;
}

.switch p{
  padding: 12px 25px;
}

.page-select{
  background-color: white;
  border-radius: 100px;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 10vh 0;
}

.hero p {
  margin-top: 1vh;
  width: min(80%, 500px);
}

.about-text {
  width: min(80%, 600px);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.container {
  padding: 10vh 0;
  animation: fadeIn 150ms ease-in;
}

.tile {
  height: 400px;
  width: min(75vw - 2em, 800px);
  padding: 0 0 0 5em;
  margin: 2vh auto;
  display: flex;
  align-items: center;
  border-radius: 30px;
  background-color: var(--gray);
  background-image: url('images/mockup.png');
  background-size: 500px;
  background-repeat: no-repeat;
  background-position: bottom right;
}

.tile, .switch, .back-btn, #linkedin, #instagram{
  transition: transform 150ms ease;
  transform: scale(1);
}

.tile:hover{
  transform: scale(1.01);
}

.switch:hover, .back-btn:hover{
  transform: scale(1.03);
}

#linkedin:hover, #instagram:hover{
  transform: scale(1.05);
}

.tile-info{
  max-width: 300px;
}

.tile-description{
  margin: 1em 0;
}

#pocketstox-logo{
  height: 25px;
  margin-right: 10px;
}

#pocketstox-image{
  width: 450px;
  height: auto;
  margin-top: 2em;
  margin-left: 3em;
}

.about{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-text p{
  margin: 1em 0;
}

.footer{
  width: 100%;
  min-height: 200px;
  background-color: var(--gray);
  border-radius: 30px 30px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#linkedin,
#instagram{
  width: 35px;
  margin: 0 .8em 0 .8em;
}

#copyright {
  font-size: .8em;
  margin-top: 1em;
  text-align: center;
}

#photo-collection{
  width: 800px;
  height: auto;
  margin: 2em; 
  border-radius: 15px;
  margin-top: 14vh;
  margin-bottom: 8vh;
}


@media only screen and (max-width: 950px) {
  h1{
    font-weight: 500;
    font-size: clamp(2.8em, 10vw, 5em);
  }

  .switch{
    top: 1em;
  }

  .hero {
    margin: 8vh 0;
  }

  .tile {
    padding: 4em 0;
    width: 90%;
    padding-bottom: calc(-4em + 25%);
    display: block;
    text-align: center;
    background-image: url('images/mockup-2.png');
    background-size: 95%;
    background-position: bottom center;
  }

  .tile-info{
    margin: auto;
    max-width: 66%;
  }

  #photo-collection{
    width: 95%;
    margin-top: 8vh;
  }

  #linkedin,
  #instagram{
    width: 40px;
  }
}


/* Pocketstox */
.blog-wrapper{
  margin: 0 auto;
  width: min(85%, 925px);
}

.back-btn{
  cursor: pointer;
  position: fixed;
  height: 65px;
  width: 65px;
  z-index: 2;
  top: 2em;
  background-color: white;
  border-radius: 30px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 5px 7px;
  animation: growBounce 300ms ease-out;
  display: flex;
  justify-content: center;
  align-items: center;
}

.back-btn{
  left: calc(10%);
}

#back-img{
  width: 20px;
}

.blog-section{
  margin: 2em 0;
}

.blog-section > h4{
  margin-top: 3em;
}

.blog-box{
  display: flex;
  flex-direction: column;
  height: fit-content;
  padding: 2em 3em;
  margin: 3em auto;
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  background-color: var(--gray);
}

#project-icon{
  height: 30px;
  width: 30px;
}

.project-links{
  display: flex;
  flex-direction: row;
  gap: .4em;
}

.project-links a {
  text-decoration: underline;
}





.feedback-list {
  list-style: none;
  padding: 0;
  margin: 2em 0;
}

.feedback-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: .8em;
}

.number {
  width: 32px;
  height: 32px;
  background-color: var(--gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  flex-shrink: 0;
}
