@import url('https://fonts.googleapis.com/css2?family=Titillium+Web&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Outfit&display=swap');

:root {
  --colour-1: #FCF7F8;
  --colour-2: #125c63;
  --colour-3: #3AAFB9;
  --colour-4: #64E9EE;
  --colour-5: #97ebe7;
}

@media only screen and (max-width: 700px) {
  #navbar {
    width: 60%;
  }
}

@media only screen and (min-width: 701px) {
  #navbar {
    width: 40%;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: 'Outfit', sans-serif;
}

header, main {
  min-width: 350px;
}

header {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  height: 60px;
  background-color: var(--colour-2);
  padding: 15px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
}

#navbar {
  display: flex;
  justify-content: flex-end;
  font-size: calc(20px + 0.5vw);
  align-items: center;
}

a {
  text-decoration: none;
}

.nav-link {
  color: var(--colour-1);
  padding: 0 2vw;
}

#welcome-section, #projects, #profile {
    height: 100vh;  
}

#welcome-section {
  background-color: var(--colour-4);
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  justify-content: center;
}

#introduction {
  font-size: calc(50px + 0.5vw);
  width: 100%;
}

#introduction-subtext {
  width: 100%;
  font-size: calc(35px + 0.5vw);
}

#projects {
  background-color: var(--colour-3);
  padding: 15px;
}

#projects-text, #profile-text {
  font-size: calc(24px + 0.5vw);
  text-align: center;
  width: fit-content;
  margin: 60px auto 0;
  padding: 0 15px 10px;
  border-bottom: 2px dotted black;
}

#projects-container, #link-container {
  display: flex;
  align-items: center;
  height: calc(100% - 104px - 0.5vw);
}

.project-tile, #profile-link {
  padding: 15px 15px 0;
  margin: 0 auto
}

.project-tile img {
  width: 100%;
  aspect-ratio: 16/9;
  vertical-align: middle;
}

.project-name {
  width: 100%;
  background-color: var(--colour-2);
  padding: 15px;
  text-align: center;
  font-size: calc(15px + 0.5vw);
  color: var(--colour-5);
}

#profile {
  background-color: var(--colour-5);
  padding: 15px;
}

.fab {
  padding: 5px;
}

#profile-link {
  font-size: calc(70px + 0.5vw);
  color: white;
}

#profile-link:hover, .project-tile:hover {
 transform: scale(130%);
 transition-duration: 1s;
}