@import url(https://fonts.googleapis.com/css?family=DelaGothicOne);
@import url(https://fonts.googleapis.com/css?family=Lato:300:400);
@import url(https://fonts.googleapis.com/css?family=Montserrat);

/* Color Palette Variables*/
:root {
    --purple: rgba(31, 33, 77, 1);
    --violet: rgba(80, 54, 111,1);
    --magenta: rgba(191, 52, 117, 1);
    --orange: rgba(238, 108, 69, 1);
    --yellow: rgba(255, 206, 97,1);
    --deg-angle: 40px;
  }

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Lato, Arial, sans-serif;
    background-color: #252525; 
    background: linear-gradient(175deg, var(--purple) 0%, var(--violet) 20%, var(--magenta) 40%, var(--orange) 60%, var(--yellow) 80%);
}

.hero {
    text-align: center;
    color: white;
    height: 40%; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

h1 {
    font-family: 'Dela Gothic One', 'Arial Black', Gadget, sans-serif; /* Bold, brutalist font */
    font-size: 5rem;
    margin-bottom: 20px;
    color: white;
}

h3 {
    font-family: Montserrat;
    font-size: 2rem;
}

h3 a {
    color: white;
    text-decoration: none;
}
h3 a:hover {
    color: var(--yellow);
}

h2 {
    margin: 10px;
}

.about-me {
    background: #fff3ea;
    clip-path: polygon(var(--deg-angle) 0px, 100% 0px, 100% calc(100% - var(--deg-angle)),  calc(100% - var(--deg-angle)) 100%, 0px 100%, 0px var(--deg-angle));
    text-align: left;
    padding: 40px;
    margin: 0 20%;
    overflow: none;
}

.about-me img {
    float: left; /* Float the image to the left */
    width: 150px; /* Adjust size as needed */
    margin-right: 40px; /* Space between image and text */
    margin-bottom: 20px; /* Space below the image */
    border-radius: 5px; /* Optional: for rounded corners */
}

.about-me div {
    flex-grow: 1; /* Allow the text container to fill the space */
}


footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    color: #1a1a2e;
    margin: 0;
    padding: 0;
}

footer p {
    background-color: white;
    margin: 0;
    padding: 20px 0 20px 0;
}

footer a{
    color: var(--violet);
    font-size: 1em;
    text-decoration: none;
}

footer a:hover{
    color: var(--magenta);
}

.bi{
    width: 30px;
    height: 30px;
    padding: 0px 10px 0 10px;
}


/* Animation for waves variation of: https://masscode.io/snippets/ui/effects/2/ */

.waves {
  position:relative;
  width: 100%;
  height:15vh;
  margin-bottom:-7px; /*Fix for safari gap*/
  min-height:100px;
  max-height:150px;
  z-index: 1;
}

.parallax > use {
  animation: move-forever 25s cubic-bezier(.65,.3,.45,.5)     infinite;
  z-index: 1;
}
.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
  z-index: 1;
}
.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
  z-index: 1;
}
.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
  z-index: 1;
}
.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
  z-index: 1;
}
@keyframes move-forever {
  0% {
   transform: translate3d(-90px,0,0);
  }
  100% { 
    transform: translate3d(85px,0,0);
  }
}




/* Responsive design */

@media (max-width: 1400px) {

    .hero h1{
        font-size: 4rem;
    }
    .hero h3{
        font-size: 1.5rem;
    }
    .about-me {
        margin: 0 10%;
        padding: 20px;
        clip-path: polygon(var(--deg-angle) 0px, 100% 0px, 100% calc(100% - var(--deg-angle)),  calc(100% - var(--deg-angle)) 100%, 0px 100%, 0px var(--deg-angle));
    }

}

@media (max-width: 600px) {
    .hero {
        height: 35%; 
    }
    .hero h1{
        font-size: 3rem;
    }
    .hero h3{
        font-size: 1rem;
    }

    .waves {
        min-height: 70px;
        height: 10vh;
    }
    .bi{
    width: 25px;
    height: 25px;
    padding: 0px 10px 0 10px;
    }

    .about-me img {
        width: 80px;
        float: left; /* Remove float on smaller screens */
        margin-right: 20px;
        margin-bottom: 10px;
    }

    .about-me {
        margin: 0 10px;
        padding: 20px;
        clip-path: polygon(5% 0px, 100% 0px, 100% 95%, 95% 100%, 0px 100%, 0px 5%);
    }
}

@media (max-width: 400px) {
    .hero {
        height: 23%; 
    }
    .hero h1{
        font-size: 2.5rem;
        margin: auto;
        padding: 10px;
    }
    .hero h3{
        font-size: 1rem;
        margin: auto;
        padding: 10px;
    }
    footer p {
        padding: 10px;
    }
    .waves {
        min-height: 50px;
        height: 6vh;
    }
}