
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Silkscreen:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap');

/* GENERAL STYLES */

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Outfit", system-ui;
    background-color: #22303C;
    background: url("../assets/bg.png") repeat  fixed;

}

nav, .nav-links {
    display: flex;
}

nav {
    background-color: #22303C;
    justify-content: space-around;
    align-items: center;
    height: 17vh;
}

.nav-links  {
    gap: 2rem;
    list-style: none;
    font-size: 1.5rem;
    font-weight: 500;
}

a {
    color: white;
    text-decoration: none;
    text-decoration-color: white;
}

a:hover {
    color: white;
    text-shadow: 0 0 5px #40E0D0,
                            0 0 10px #40E0D0,
                            0 0 20px #40E0D0,
                            0 0 40px #40E0D0,
                            0 0 80px #40E0D0,
                            0 0 100px #40E0D0;
    text-decoration: underline;
    text-underline-offset: 1rem;
    transition-duration: 0.3s;
}

.logo {
  margin-left: -8rem;
}

.title {
    color: #fff;
    font-weight: 800;
    font-size: 2rem;
    text-shadow: 0 0 5px #40E0D0,
                            0 0 10px #40E0D0,
                            0 0 20px #40E0D0,
                            0 0 40px #40E0D0,
                            0 0 80px #40E0D0,
                            0 0 100px #40E0D0;
    animation: blink 3s infinite linear alternate;
}

@keyframes blink{
    60%, 70%, 79%{
        opacity: 1;
    }

    65%, 67%, 76%, 78%{
        opacity: 0.2;
    }

    66%, 69%, 77%{
        opacity: 0.8;
    }
}

#letter6 {
    padding-left: 1rem;
}

.hamburger-nav {
    display: none;
}

.hamburger-menu{
    position: relative;
    display: inline-block;
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
    cursor: pointer;
}

.hamburger-icon span {
    width: 100%;
    height: 2px;
    background-color: white;
    transition: all 0.3 ease-in-out;
}

.menu-links  {
    position: absolute;
    top:100%;
    right: 0;
    background-color: black;
    width: fit-content;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3 ease-in-out;
}

.menu-links a {
    display: block;
    padding: 10px;
    text-align: center;
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
    transition: all 0.3 ease-in-out;
}

.menu-links li {
    list-style: none;
}

.menu-links.open {
    max-height: 300px;
}

.hamburger-icon.open span:first-child {
    transform: rotate(45deg) translate(10px, 5px);
  }
  
  .hamburger-icon.open span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger-icon.open span:last-child {
    transform: rotate(-45deg) translate(10px, -5px);
  }  

#profile{
    display: flex;
    justify-content: center;
    gap: 5rem;
    height: 50vh;
}

.section-pic-container{
    display: flex;
    flex-direction: column;
    text-align: center;
    height: 300px;
    width: 300px;
}

.section-text{
    align-self: center;
    text-align: center;
    color: white;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    justify-content: center;
    background: #3a5064;
    padding: 1rem;
    border-radius: 0.5rem;
}

.section-text h2 {
    font-size: 1.25rem;
}

#socials-container{
    display: flex;
    justify-content: center;
    margin-top: 0.3rem;
    gap: 1rem;
}

.window-button{
    border-bottom:2px solid gray; 
    border-right:2px solid gray;
    border-left:2px solid white;
    border-top:2px solid white;
    outline:0.5px black outset;
    background-color:lightgray;
    padding:3px;
    font-family:"timesnewpixelmedium",serif; /*change the font name to something else, preferably a bitmap font*/
    display:inline-block;
    text-align:center;
    font-size:1rem;
  }
  
  .window-button:active{
    border-bottom:2px solid white;
    border-right:2px solid white;
    border-left:2px solid gray;
    border-top:2px solid gray;
    outline:0.5px black inset;
  }
  
  .window-button:focus, button:hover{
    outline:0.5px black dotted;
    outline-offset:-4px;
  }
  
  .window{
    border-bottom:4px solid gray;
    border-right:4px solid gray;
    border-left:4px solid white;
    border-top:4px solid white;
    outline:1px black outset;
    box-sizing:border-box;
    background-color:lightgray;
    width: 60rem;
    margin-top: 1.5rem;
  }
  
  .titlebar{
    padding:3px;
    background: linear-gradient(90deg,steelblue,teal);
    height:auto;
    justify-content: space-between;
    align-items:right;
    display:flex;
  }
  .titlebar button{
    width:25px;
    font-size:0.7rem;
  }
  .title-window{
    display:inline;
    width:60%;
    word-wrap:break-word;
    padding-left:15px;
  }
  .title-window h1{
    color:white;
    text-shadow:1.5px 1.5px 0px gray;
    display:inline;
  }
  
  .buttons{
    display:inline;
    position:relative;
    align-items:right;
    justify-content: space-between;
    margin:5px;
  }
  
  .stuff{
    padding:2rem;
    flex-direction: column;
  }

  .stuff h2{
    margin-bottom: 0.5rem;
  }

  .tech-icons{
    height: 0.3rem;
    flex-wrap: wrap;
    flex-direction: row;
    margin-top: 2rem;
  }

  .tech-icons ul li{
    list-style: none;
    display: inline;
  }

  .content-divider {
    background: #22303C;
  }

  .content-divider h2{
    text-align: center;
    color: white;
    margin-bottom: 1rem;
    padding: 1rem;
  }

  .cards{
    display: flex;
    justify-content: center;
    gap: 6rem;
  }

  .container p {
    margin-bottom: 1rem;
    margin-top: 0.2rem;
  }

  .content-divider img {
    width: 20vi;
    height: 10vi;
  }

  .content-divider h2 {
  background: #22303C;
  font-size: 2rem;
  }
  
  .container {
    width: 20vi;
    color: black;
  }

  .card {
    background-color:#3a5064;
    border-radius: 1rem;
    margin-bottom: 2rem;
    padding: 2rem;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
    border-bottom:4px solid gray;
    border-right:4px solid gray;
    border-left:4px solid white;
    border-top:4px solid white;
    outline:1px black outset;
    box-sizing:border-box;
    background: lightgray;
    margin-top: 1.5rem;
  }

  .card:hover {
    transform: translateY(-1rem);
    box-shadow: 0 16px 32px 0 rgba(0,0,0,0.2);
  }

  .footer-info {
    background-color:#3a5064;
    color: white;
    display: flex;
    justify-content: center;
    gap: 1rem;
  }

  #footer-socials{
    flex-direction: column;
    justify-content: center;
    width: fit-content;
    height: fit-content;
    background-color:#273542;
    margin-top: 2.5rem;
    padding: 1rem;
    border-radius: 1rem;
  }

  #footer-socials h1{
    font-size: 2rem;
  }

  #footer-socials p{
    font-size: 1rem;
  }

  #footer-nav {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    width: fit-content;
    margin-top: 2.5rem;
    background-color:#273542;
    padding: 1rem;
    border-radius: 1rem;
  }

  #footer-nav li{
    list-style: none;
    padding: 1rem;
    display: inline;
  }

  #footer-nav h1{
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  #copyright {
    text-align: center;
    padding: 1rem;
    background-color:#3a5064;
    color: white;
  }

  .tooltip {
    position: relative;
  }

  .tooltip:before,
  .tooltip:after {
    display: block;
    opacity: 0;
    pointer-events: none;
    position: absolute;
  }

  .tooltip:after {
	border-right: 6px solid transparent;
	border-bottom: 6px solid rgba(0,0,0,.75);
    border-left: 6px solid transparent;
    content: '';
    height: 0;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
}
.tooltip:before {
    background: rgba(0,0,0,.75);
    border-radius: 2px;
    color: #fff;
    content: attr(data-title);
    font-size: 14px;
    padding: 6px 10px;
    top: calc(100% + 5px);
    left: 0%;
    transform: translateX(-50%) scale3d(.2, .2, 1);
    white-space: nowrap;
}

.tooltip.expand:before {
  transform: scale3d(.2,.2,1);
  transition: all .2s ease-in-out;
}
.tooltip.expand:after {
  transform: translate3d(0,6px,0);
  transition: all .1s ease-in-out;
}
.tooltip.expand:hover:before,
.tooltip.expand:hover:after {
  opacity: 1;
  transform: scale3d(1,1,1);
}
.tooltip.expand:hover:after {
  transition: all .2s .1s ease-in-out;
}


.learn-more-button {
  font-family: "Outfit", sans-serif;
  align-items: center;
  appearance: none;
  background: teal;
  border: 0;
  border-radius: 6px;
  box-shadow: rgba(45, 35, 66, .4) 0 2px 4px,rgba(45, 35, 66, .3) 0 7px 13px -3px,rgba(58, 65, 111, .5) 0 -3px 0 inset;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  height: 2rem;
  justify-content: center;
  line-height: 1;
  list-style: none;
  overflow: hidden;
  padding-left: 1rem;
  padding-right: 1rem;
  position: relative;
  text-align: left;
  text-decoration: none;
  transition: box-shadow .15s,transform .15s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  will-change: box-shadow,transform;
  font-size: 1rem;
}

.learn-more-button:focus {
  box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24),0 17px 50px 0 rgba(0,0,0,0.19);
}

.learn-more-button:hover {
  box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24),0 17px 50px 0 rgba(0,0,0,0.19);
  transform: translateY(-2px);
}

.learn-more-button:active {
  box-shadow: #3c4fe0 0 3px 7px inset;
  transform: translateY(2px);
}

#project-divider .cards {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap-reverse;
    align-items: center;
}

#projects {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

#project-divider .cards img {
    height: 10vi;
    width: 20vi;
}

.post-preview img {
  width:20vi;
  border-top-left-radius: 1rem;
  border-bottom-left-radius: 1rem;
}

.post-preview {
  background-color: #3a5064;
  border-radius: 1rem;
  display: flex;
  margin: 2rem;
  max-width: 60rem;
  margin-left: auto;
  margin-right: auto;
}

.post-content {
  display: flex;
  flex-direction: column;
  margin-left: 1rem;
  padding: 1rem;
  color: white;
}

.post-content a {
  text-decoration: none;
}

#goback {
  display: block;
  text-align: center;
}

#goback button {
  background-color: #40E0D0;
  width: 10rem;
  height: 3rem;
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
  margin: 1rem;
}

#goback button:hover {
  color: white;
  outline: none;
  border-color: white;
}

.post-full {
  background-color: #3a5064;
  text-align: center;
  color: white;
}

.post-full img {
  width: 40rem;
}

.post-full h1 {
  margin-left: 7rem;
  margin-right: 7rem;
}

.post-full p {
  display: block;
  margin-left: 5rem;
  margin-right: 5rem;
  text-align: left;
  font-size: 1.2rem;
}

.post-full h3 {
  margin-left: 5rem;
  text-align: left;
  font-size: 1.4rem;
}

.meta {
  display: block;
  margin-bottom: 1rem;
}

.post-full h4 {
  font-weight: normal;
  font-style: italic;
}

.post-full a {
  text-decoration: underline;
}

.post-full a:hover {
  text-decoration: none;
}

.post-full ul {
  text-align: left;
  margin-left: 5rem;
  margin-top: 0.5rem;
  font-size: 1.1rem;
  
}