Untitled

mail@pastecode.io avatar
unknown
css
2 months ago
11 kB
2
Indexable
Never
@keyframes fadeIn {
    0% {opacity: 0;}
    100% {opacity: 1;}
}

@keyframes move {
    0% {
      left:0;
      opacity:0;
    }
      35% {
          left: 41%; 
          -moz-transform:rotate(0deg);
          -webkit-transform:rotate(0deg);
          -o-transform:rotate(0deg);
          transform:rotate(0deg);
          opacity:1;
      }
      65% {
          left:59%; 
          -moz-transform:rotate(0deg); 
          -webkit-transform:rotate(0deg); 
          -o-transform:rotate(0deg);
          transform:rotate(0deg); 
          opacity:1;
      }
      100% {
          left:100%; 
          -moz-transform:rotate(-180deg); 
          -webkit-transform:rotate(-180deg); 
          -o-transform:rotate(-180deg); 
          transform:rotate(-180deg);
          opacity:0;
      }
  }
  
  @-moz-keyframes move {
      0% {
          left:0; 
          opacity:0;
      }
      35% {
          left:41%; 
          -moz-transform:rotate(0deg); 
          transform:rotate(0deg);
          opacity:1;
      }
      65% {
          left:59%; 
          -moz-transform:rotate(0deg); 
          transform:rotate(0deg);
          opacity:1;
      }
      100% {
          left:100%; 
          -moz-transform:rotate(-180deg); 
          transform:rotate(-180deg);
          opacity:0;
      }
  }
  
  @-webkit-keyframes move {
      0% {
          left:0; 
          opacity:0;
      }
      35% {
          left:41%; 
          -webkit-transform:rotate(0deg); 
          transform:rotate(0deg); 
          opacity:1;
      }
      65% {
          left:59%; 
          -webkit-transform:rotate(0deg); 
          transform:rotate(0deg); 
          opacity:1;
      }
      100% {
          left:100%;
          -webkit-transform:rotate(-180deg); 
          transform:rotate(-180deg); 
          opacity:0;
      }
}
  
  @-o-keyframes move {
      0% {
          left:0; 
          opacity:0;
      }
      35% {
          left:41%; 
          -o-transform:rotate(0deg); 
          transform:rotate(0deg); 
          opacity:1;
      }
      65% {
          left:59%; 
          -o-transform:rotate(0deg); 
          transform:rotate(0deg); 
          opacity:1;
      }
      100% {
          left:100%; 
          -o-transform:rotate(-180deg); 
          transform:rotate(-180deg); 
          opacity:0;
      } 
}

body, html {
    font-family: "Poppins", sans-serif;
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #FFF7F1;
}

main{
    height: 100%;
    margin: 0;
    padding: 0;
}

#mobileContainer {
    display: none;
}

.tylerJayContainer {
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tylerJayContainer h1{
    font-size: 60px;
    font-weight: 500;
    color: #545454;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    margin-bottom: 0px;
}

.tylerJayContainer .aboutMe{
    color:#545454;
}

span{
    color: #C19BA6;
    margin: 0 0 0 15px;
}

span:last-child{
    margin-left: 0px;
}

.mewLoaderWrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #FFF7F1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-in-out;
    opacity: 100;
    margin-bottom: 0;
}

.mewLoaderWrapper img{
    content: url("images/pinkMew.gif");
    transform: scale(.5);
}


nav{
    max-width: 1200px;
    margin: auto;
    padding: 2rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.nav-links{
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5rem;
    position: relative;
    right: 4%;
}

.link a {
    position: relative;
    text-decoration: none;
    padding-bottom: 0.75rem;
    color: #545454;
    font-size: 25px;
}

.link a::after{
    content: "";
    position: absolute;
    height: 2px;
    width: 0;
    bottom: 0;
    left: 0;
    background-color: #C19BA6;
    transition: all .3s ease;
}

.link a:hover::after{
    width: 100%;
}

.changeModeButton {
    width: 30px; /* Adjust width and height to fit your SVG */
    height: 40px;
    background-color: transparent; /* Remove default button background */
    position: relative;
    content: url("images/moon.svg");
}

button {
    background-color: transparent;
    border: none;
    position: absolute;
    top: 4%;
    left: 3%;
}

button .changeModeButton:hover{
    transform: scale(1.2);
}

#load {
    width:600px;
    height:36px;
    left:50%;
    top:0%;
    margin-left:-300px;
    overflow:visible;
    -webkit-user-select:none;
    -moz-user-select:none;
    -ms-user-select:none;
    user-select:none;
  }
  
  #load div {
    position:absolute;
    width:20px;
    height:36px;
    top: 60%;
    opacity:0;
    font-family:Helvetica, Arial, sans-serif;
    animation:move 3s linear infinite;
    -o-animation:move 3s linear infinite;
    -moz-animation:move 3s linear infinite;
    -webkit-animation:move 3s linear infinite;
    transform:rotate(180deg);
    -o-transform:rotate(180deg);
    -moz-transform:rotate(180deg);
    -webkit-transform:rotate(180deg);
    color:#C19BA6;
  }
  
  #load div:nth-child(2) {
    animation-delay:0.2s;
    -o-animation-delay:0.2s;
    -moz-animation-delay:0.2s;
    -webkit-animation-delay:0.2s;
  }
  #load div:nth-child(3) {
    animation-delay:0.4s;
    -o-animation-delay:0.4s;
    -webkit-animation-delay:0.4s;
    -webkit-animation-delay:0.4s;
  }
  #load div:nth-child(4) {
    animation-delay:0.6s;
    -o-animation-delay:0.6s;
    -moz-animation-delay:0.6s;
    -webkit-animation-delay:0.6s;
  }
  #load div:nth-child(5) {
    animation-delay:0.8s;
    -o-animation-delay:0.8s;
    -moz-animation-delay:0.8s;
    -webkit-animation-delay:0.8s;
  }
  #load div:nth-child(6) {
    animation-delay:1s;
    -o-animation-delay:1s;
    -moz-animation-delay:1s;
    -webkit-animation-delay:1s;
  }
  #load div:nth-child(7) {
    animation-delay:1.2s;
    -o-animation-delay:1.2s;
    -moz-animation-delay:1.2s;
    -webkit-animation-delay:1.2s;
  }
  
  .aboutMe span{
    margin: 0 5px;
  }

  .contactContainer{
    background-color: red;
    display: flex;
    flex-direction: column;
    align-items: center;
    columns: 2;
  }

  .contactText {
    background-color: orange;
    width: 80%;
    font-size: 1em;
    flex-direction: center;
    text-align: center;
  }

  .nav-links{
  }

  .contactForm {
    background-color: green;
    display: flex;
    flex-direction: column;
    align-items:flex-start;
  }

  /* #validationForm {
    text-align: center;
  } */

  #validateForm {
    display: flex;
    flex-direction: column;
    background-color: #eee;
    font: 14px "Poppins", sans-serif;
    padding: 10px;
    width: 400px;
  }

 
  #validateForm h1 {
    margin-top: 5px;
    font-size: small;
 }
 
  .hide {
     display: none;
 }
 
   #formErrors {
    color: red;
 }
 
   input[type=text], input[type=email], input[type=password] {
    width: 400px;
    padding: 8px;
    margin-top: 4px;
    margin-bottom: 12px;
    border: 1px solid #aaa;
    border-radius: 4px;
    box-sizing: border-box;
 }
 
   input[type=text]:focus {
    background-color: rgba(193, 155, 166, .5);
 }
 
   input[type=submit] {
    width: 100%;
    color: black;
    background-color: #C19BA6;
    padding: 15px;
    margin-top: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
 }
 
   input[type=submit]:hover {
    background-color: blue;
 }
 
   input.error  {
    border: 2px solid red;
 }

#thankYouMessage {
    text-align: center;
}


@media screen and (max-width:500px) {

    .mewLoaderWrapper img{
        transform: scale(.35);
    }
}

@media screen and (max-width:450px) {
    /* background color: #FFF7F1; */
    /* Mew Text color: #C19BA6; */
    /* Text color: #545454; */



    #mobileContainer {
        margin: 0;
        padding: 0;
        height: 90%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        background-color: #FFF7F1;
    }

    .tylerJayContainer {
        display: none;
    }

    .changeModeButton {
        width: 15px; /* Adjust width and height to fit your SVG */
        height: 40px;
        background-color: transparent; /* Remove default button background */
        position: relative;
        content: url("images/moon.svg");
    }
    
    button {
        background-color: transparent;
        border: none;
        position: absolute;
        top: 3%;
        left: 4%;
    }
    
    #mobileContainer .topPart h1{
        margin: 0;
        padding: 0;
        color: #545454;
    }
    #mobileContainer .bottomPart h1{
        color: #C19BA6;
        margin-top: 2px;
        padding: 2px;
        position: relative;
        font-size: 2em;
    }


    .mobileNav {
        padding: 10px 20px;
        width: 80px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        position: absolute;
        right: 2%;
        top: 3%;
      }
      
      .icon {
        color: #C19BA6;
        font-size: 24px;
        cursor: pointer;
        display: block;
        z-index: 3;
        margin-bottom: 30px;
      }

      .icon.active{
        color: #C19BA6;
      }
      
      .menu {
        display: none;
        list-style-type: none;
        padding: 0;
        margin: 0;
        flex-direction: column;
        position: absolute;
        /* background-color: #333;  use this color soon*/
        top: 10%;
        padding: 10px;
        padding-top:10px;
        border-radius: 5px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        background-color: rgba(193, 155, 166, 0.3);
      }
      
      .menu li a {
        color: #545454;
        text-decoration: none;
        display: flex;
        justify-content: center;
        margin: 20px;
        padding-top: 10px;
        opacity: 1;
        position: relative;
        top: 15px;
      }

      .menu li a:active{
        color: #C19BA6;
      }

      .menu.active {
        display: flex;
      }
}



Leave a Comment