@import url(https://fonts.googleapis.com/css?family=Roboto+Slab);

@import url(https://fonts.googleapis.com/css?family=Oswald:400,700);

html { 
}

body {
  font-family: Roboto Slab;
  background: black;
  color: black;
  /*background-image: url("img.jpg");
  background-size: 2000px 760px;
  background-repeat: no-repeat;
  background-position: top;*/
  background-color: gray;


}

.typewriter h3 {
  color: #000;
  font-family: monospace;
  overflow: hidden;
  border-right: none; 
  white-space: nowrap; 
  margin: 0 auto;
  letter-spacing: .15em; 
  animation: 
    typing 3.5s steps(20, end),
    blink-caret .5s step-end infinite;
}
.typewriter h4 {
  color: #000;
  font-family: monospace;
  overflow: hidden; 
  border-right: none; 
  white-space: nowrap; 
  margin: 0 auto;
  letter-spacing: .15em;
  animation: 
    typing 3.5s steps(30, end),
    blink-caret .5s step-end infinite;
}

/* The typing effect */
@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

/* The typewriter cursor effect*/ 
@keyframes blink-caret {
  from, to { border-color: transparent }
  10% { border-color: orange }
}

/* NAVBAR */
.navigation {
  top: 0px;
  text-align: center;
  padding-top: 0px;
  padding-right: 75px;
  z-index: 1;
  background-color: rgb(1 1 1 / 0%);
  color: rgb(245, 245, 245);
}

.navigation a {
  font-size: 16px;
  padding-top: 8px;
  padding-left: 15px;
  padding-right: 15px;
  color: #FFFFFF;
  text-decoration: none;
}

@media screen and (max-width: 768px){
body{
  display: inline-block;
}

/*sidebar*/
#mySidenav{
  display: none;  
}
}

/* HEADER DIV */
#header {
  text-align: center;
  
}

#welcome {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
}

}
#header a {
  font-size: 45px;
  color: #fff;
  -webkit-transition: all .2s ease-in-out;
  -moz-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;

}

#header a:hover {
  font-size: 40px;
  color: #fff;
}


/* SECTION 1 WRAPPER */
#wrapper1 {
    font-family: Roboto Slab;
    padding: 0;
    margin: 0;
    color: white;
    position: center;
    background: url(image/img2.jpg);
    background-repeat: round;
    background-size: cover;
    height: 100vh;
    
}

/* ABOUT ME WRAPPER */
#aboutme {
  margin-top: 50px;
  margin-bottom: 50px;
  background: #000000;
  color: white;
}

/* PORTFOLIO DIV */
#portfolio {
  background: #000000;
  color: #55606A;
  padding-top: 50px;
  padding-bottom: 100px;
  margin-top: 0px;
  margin-bottom: 50px;
  
}


/* FOOTER DIV */
#footer {
  background: #fff;
  bottom: 0;
  color: #000;
  text-align: center;
}

h1, h2, h3, h4, h5, h6, {
  font-family: Roboto Slab;
  margin-bottom: 14px
}

h1 {
  padding-top: 300px;
  font-size: 80px;
  font-family: Oswald;
  letter-spacing: 3px;
  line-height: 80px;
  font-weight: 500;
  word-wrap: break-word;
  color: black;
}

h2 {
  font-size: 32px;
  line-height: 36px;
}

h3 {
  font-size: 26px;
  line-height: 29px;
  color: #fff;
}

h4 {
  font-size: 20px;
  line-height: 25px;
  color: black;
}

h5 {
  font-size: 24px;
  line-height: 21px;
}

h6 {
  font-size: 15px;
}

.logo {
  color: #000;
  padding-top: 8px;
  padding-left: 30px;
  font-size: 25px;
  line-height: 18px;
}

.logo a {
  color: #000;
  font-size: 25px;
  line-height: 18px;
}

.sublogo {
  color: #000;
  padding-left: 45px;
  font-size: 11px;
  font-weight: 100;
  text-align: left;
  letter-spacing: 5px;
}

.left {
  float: left;
  position: fixed;
}

.right {
  float: right;
  position: sticky;
}



/* HEADSHOT */
.img-round {
  border-radius: 100%;
  height: 250px;
  width: 250px;
  opacity: 0.3;
}
.img-round:hover{
  opacity: 0.7;
  
}

  /*GALLERY*/
.gallery{
  margin-left: 50px;
  margin-right: 70px;
  width: 79vw;
  height: 145vmin;
  display: flex;
  gap: 4px;
  flex-direction: column;
}
.gallery img{
  flex: 1;
  object-fit: cover;
  overflow: hidden;
  cursor: pointer;
  border-radius: 30px;
  transition: all 0.3s;
  opacity: 0.5;
}
.gallery img:hover{
  flex: 3;
  opacity: 1.0;
}


#portfolio p a{
  color: #55606A;
  font-size: 25px;
}


.tm-social-link {
    display: inline-block;
    background-color: #0a0a0a;    
    font-size: 1.4rem;
    width: 50px;
    height: 50px;
    text-align: center;
    padding-top: 8px; 
    margin-right: 15px;   
    margin-bottom: 15px;
    border-radius: 100px;
}


.tm-social-icon { 
    color: #ffffff;    
    transition: all 0.3s ease;
}

.tm-social-link:hover .tm-social-icon.fa-linkedin { color: #0077b5; }
.tm-social-link:hover .tm-social-icon.fa-github { color: gray; }
.tm-social-link:hover .tm-social-icon.fa-instagram { color: #db2184; }
.tm-social-link:hover .tm-social-icon.fa-blogger { color: #e14104; }

/* SCROLL DOWN BUTTON */
.scroll{
  padding-top: 10px;
}
.scrolldown{
    height: 50px;
    width: 30px;
    border:2px solid #0000008f;
    position: absolute;
    left: 50%;
    top: 26em;
    border-radius: 50px;
    cursor: pointer;
    background-color: #22202000;
}
.scrolldown::before,
.scrolldown::after{
    content: "";
    position: absolute;
    top: 20%;
    left: 50%;
    height: 10px;
    width: 10px;
    transform: translate(-50%,-100%) rotate(45deg);
    border: 2px solid #0000008f;
    border-top: transparent;
    border-left: transparent;
    animation: scrolldown 1s ease-in-out infinite;
}
.scrolldown::before{
    top: 30%;
    animation-delay: 0.3s;
}
@keyframes scrolldown {
    0%{
        opacity: 0;
    }
    30%{
        opacity: 1;
    }
    60%{
        opacity: 1;
    }
    100%{
        top: 90%;
        opacity: 0;
    }
}

@media screen and (min-width: 768px){

  h1 {
    color: white;
}

h4{
  color: white;
}
  /* SECTION  WRAPPER */
  #wrapper1 {
    font-family: Roboto Slab;
    padding: 0;
    margin: 0;
    color: white;
    position: center;
    background: url(image/img1.jpg);
    background-repeat: round;
    background-size: cover;
    height: 100vh;
    
}


.logo {
  color: #ffffff;
  padding-top: 8px;
  padding-left: 30px;
  font-size: 25px;
  line-height: 18px;
}

.logo a {
  color: #ffffff;
  font-size: 25px;
  line-height: 18px;
}

.sublogo {
  color: #ffffff;
  padding-left: 45px;
  font-size: 11px;
  font-weight: 100;
  text-align: left;
  letter-spacing: 5px;
}
/*Side Bar*/
#mySidenav a {
  position: absolute;
  left: -126px;
  transition: 0.8s;
  width: 160px;
  text-decoration: none;
  font-size: 20px;
  text-align: center;
  border-radius: 90px;
}

#mySidenav a:hover {
  left: 0;
}

#nav_about {
  top: 300px;
  background-color: #f4910d;
  color: black;
}

#nav_portfolio {
  top: 340px;
  background-color: #b6c3de;
  color: black;
}

#nav_contact {
  top: 380px;
  background-color: #149445;
  color: black;
}

/*GALLERY*/
.gallery{
  width: 85vw;
  margin-left: 80px;
  margin-right: 80px;
  height: 60vmin;
  display: flex;
  gap: 2px;
  flex-direction: row;
}
.gallery img{
  flex: 1;
  object-fit: cover;
  overflow: hidden;
  cursor: pointer;
  border-radius: 30px;
  transition: all 0.3s;
  opacity: 0.5;
}
.gallery img:hover{
  flex: 3;
  opacity: 1.0;
}

/* SCROLL DOWN BUTTON */
.scroll{
  padding-top: 10px;
}
.scrolldown{
    height: 50px;
    width: 30px;
    border: 2px solid #b6b0b030;
    position: absolute;
    left: 50%;
    bottom: 20px;
    border-radius: 50px;
    cursor: pointer;
    background-color: #22202000;
}
.scrolldown::before,
.scrolldown::after{
    content: "";
    position: absolute;
    top: 20%;
    left: 50%;
    height: 10px;
    width: 10px;
    transform: translate(-50%,-100%) rotate(45deg);
    border: 2px solid white;
    border-top: transparent;
    border-left: transparent;
    animation: scrolldown 1s ease-in-out infinite;
}
.scrolldown::before{
    top: 30%;
    animation-delay: 0.3s;
}
@keyframes scrolldown {
    0%{
        opacity: 0;
    }
    30%{
        opacity: 1;
    }
    60%{
        opacity: 1;
    }
    100%{
        top: 90%;
        opacity: 0;
    }
}

.typewriter h3 {
  color: #fff;
  font-family: monospace;
  overflow: hidden; 
  border-right: none; 
  white-space: nowrap; 
  margin: 20px auto; 
  letter-spacing: .15em; 
  animation: 
    typing 3.5s steps(30, end),
    blink-caret .5s step-end infinite;
}
.typewriter h4 {
  color: #fff;
  font-family: monospace;
  overflow: hidden; 
  border-right: none; 
  white-space: nowrap; 
  margin: 0 auto; 
  letter-spacing: .15em;
  animation: 
    typing 3.5s steps(30, end),
    blink-caret .5s step-end infinite;
}

/* The typing effect */
@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

/* The typewriter cursor effect*/ 
@keyframes blink-caret {
  from, to { border-color: transparent }
  10% { border-color: orange }
}
}


/* CONTACT DIV */
#contact {
  background: #000000;
  color: #55606A;
  text-align: center;
  margin-top: 0px;
  width: 100%; 
}



.postcard {
  overflow: hidden;
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 20px;
  font-family: 'Michroma', sans-serif;
 
}

.postcard h1 {
  color: #fff;
  font-family: inherit;
  font-weight: 1000;
  padding: 3%;
  font-size: 200%;
}

#contact {padding: 120px 0 20px 0;}
#contact form {
  margin-top: 5px;
}
#contact .slider-masks {
  background-color: rgba(129, 129, 129, 0.7);
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}
#contact .group {
  position: relative;
  margin-bottom: 65px;
}
#contact button,
#contact input,
#contact textarea {
  font-size: 13px;
  padding: 10px 10px 10px 5px;
  display: block;
  width: 100%;
  border: none;
  border-bottom: 1px solid #fff;
  background: transparent;
  color: #fff;
  font-size: 13px;
}
#contact button:focus,
#contact input:focus,
#contact textarea:focus {
  outline: none;
  border-bottom: none;
}
#contact label {
  color: #fff;
  font-size: 14px;
  font-weight: normal;
  position: absolute;
  pointer-events: none;
  left: 5px;
  top: 10px;
  transition: 0.2s ease all;
  -moz-transition: 0.2s ease all;
  -webkit-transition: 0.2s ease all;
}
#contact input:focus ~ label,
#contact input:valid ~ label,
#contact textarea:focus ~ label,
#contact textarea:valid ~ label {
  top: -25px;
  font-size: 12px;
  color: #fff;
}
#contact .bar {
  position: relative;
  display: block;
  width: 100%;
}
#contact .bar:before,
#contact .bar:after {
  content: '';
  height: 2px;
  width: 0;
  bottom: 1px;
  position: absolute;
  background: #fff;
  transition: 0.2s ease all;
  -moz-transition: 0.2s ease all;
  -webkit-transition: 0.2s ease all;
}
#contact .bar:before {
  left: 50%;
}
#contact .bar:after {
  right: 50%;
}
#contact input:focus ~ .bar:before,
#contact input:focus ~ .bar:after,
#contact textarea:focus ~ .bar:after,
#contact textarea:focus ~ .bar:before {
  width: 50%;
}
#contact .highlight {
  position: absolute;
  height: 60%;
  width: 100%;
  top: 25%;
  left: 0;
  pointer-events: none;
  opacity: 0.5;
}
#contact input:focus ~ .highlight,
#contact textarea:focus ~ .highlight {
  -webkit-animation: inputHighlighter 0.3s ease;
  -moz-animation: inputHighlighter 0.3s ease;
  animation: inputHighlighter 0.3s ease;
}
#contact button[type=submit] {
  border: 1px solid #2b2b2b !important;
  color: #fff;
  background-color: rgba(0,0,0,.2);
  padding: 10px;
  font-weight: 700;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  transition: 0.2s ease all;
  -moz-transition: 0.2s ease all;
  -webkit-transition: 0.2s ease all;
}
#contact button[type=submit]:hover {
  background: #2b2b2b;
  color: #ffffff;
}
@-webkit-keyframes inputHighlighter {
  from {
    background: #5264AE;
  }
  to {
    width: 0;
    background: transparent;
  }
}
@-moz-keyframes inputHighlighter {
  from {
    background: #818181;
  }
  to {
    width: 0;
    background: transparent;
  }
}
@keyframes inputHighlighter {
  from {
    background: #818181;
  }
  to {
    width: 0;
    background: transparent;
  }
}

/* Default styles for larger screens */
body {
  font-size: 16px;
  margin: 0;
  padding: 20px;
}

.container {
  max-width: 960px;
  margin: 0 auto;
}

/* Media query for screens smaller than 768px (e.g., tablets) */
@media (max-width: 768px) {
  body {
    font-size: 14px;
    padding: 10px;
  }

  .container {
    max-width: 100%;
    padding: 0 10px;
  }
}

/* Media query for screens smaller than 480px (e.g., phones) */
@media (max-width: 480px) {
  body {
    font-size: 12px;
    padding: 5px;
  }

  .container {
    padding: 0 5px;
  }
}

/* CSS Variables for consistent theming */
:root {
  --primary-color: #007bff;
  --secondary-color: #6c757d;
  --background-color: #ffffff;
  --text-color: #333333;
  --transition-speed: 0.3s;
}

/* Modern Card Design */
.card {
  background: var(--background-color);
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform var(--transition-speed);
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
}

/* Glass Morphism Effect */
.glass-effect {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
}

/* Modern Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease-out;
}
