/*variables*/
:root {
  --primary-color: #344966;
  --secondary-color: #F28C28;
  --tertiary-color: #0d1821;
  --quarternary-color: #fff;
  --quinary-color: #d6e3f8;
  --box-shadow-glow: 0 0 5px 5px #fff;
  --default-margin: 10px;
  --tile-border: 2px solid ##d6e3f8;
}

/*browser styling*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
/*end broswer styling*/

/*body styling*/
body {
  position: relative;
  display: flex;
  flex-direction: column;
  font-family: "Roboto", sans-serif;
  background-color: #fff;
}
/*end body styling*/

/*hero styling*/
.parallax > use {
  animation: move-forever 12s linear infinite;
}
.parallax > use:nth-child(1) {
  animation-delay: -2s;
}
.parallax > use:nth-child(2) {
  animation-delay: -2s;
  animation-duration: 5s;
}
.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 3s;
}


@keyframes move-forever{
  0%{transform: translate(-90px , 0%)};
  100%{transform: translate(85px , 0%)}; 
}

.editorial {
  display: block;
  width: 100%;
  height: 20em;
  max-height: 100vh;
  margin: 0;
}

.hero a,
.nav-links a,
.about-links a,
.portfolio a {
  text-decoration: none;
}

.hero a,
.nav-links a,
.portfolio a {
  text-decoration: none;
  color: var(--quarternary-color);
}

.hero {
  width: 100%;
  height: 850px;
  display: flex;
  text-align: center;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: column;
  background-color: var(--primary-color);
  /* background-image: URL(../images/hero-design2.png); */
  background-size: cover;
}

.hero-title-btn {
  margin-bottom: 50px;
}

.hero-title {
  text-align: center;
  margin-bottom: var(--default-margin);
}

.hero-title a {
  font-size: 50px;
}

.span-name {
  color: var(--secondary-color);
}

.hero-btn {
  color: var(--quarternary-color);
  background-color: rgba(53, 72, 102, 0.75);
  font-size: 20px;
  justify-self: center;
  align-self: center;
  padding: 2px 2px;
  border: 3px solid var(--quinary-color);
}

.hero-btn:hover {
  color: var(--primary-color);
  background: var(--quarternary-color);
  font-weight: bold;
  box-shadow: var(--box-shadow-glow);
}
/*end hero styling*/

/*header*/
header,
footer {
  background-color: rgba(53, 72, 102, 0.95);
  display: flex;
  flex-wrap: wrap;
}

header {
  justify-content: space-between;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 9999;
  color: var(--quarternary-color);
  padding: 5px 10px;
}

header nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
}

.nav-links li {
  list-style: none;
  color: var(--quarternary-color);
  display: inline;
  margin: 5px 10px 5px 10px;
  font-size: 20px;
}

.nav-links li:hover {
  background-color: var(--quarternary-color);
  box-shadow: var(--box-shadow-glow);
}

.nav-links li a:hover {
  color: var(--primary-color);
  font-weight: bold;
}
/*end header styling*/

/*main styling*/
main h3 {
  font-size: 30px;
  text-align: center;
  align-self: center;
  margin: 0 auto;
}
/*end main styling*/

/*about section styling*/
.content{
  display: flex;
  margin: 40px auto;
}

.titlediv {
  display: flex;
  width: 15%;
  border-right: 2px solid var(--secondary-color);
  margin-top: var(--default-margin);
  margin-bottom: var(--default-margin);
}

.bio-image {
  height: 300px;
  width: 300px;
  border-radius: 50%;
  margin: var(--default-margin) var(--default-margin);
}

.about-links a{
  color: var(--secondary-color);
}

.about-links a:hover {
  color: var(--primary-color);
}

#bioinfodiv {
  display: flex;
  margin: 20px auto;
  text-align: center;
  width: 80%;
}

#about-text {
  text-align: center;
  align-self: center;
  font-weight: bold;
  font-size: 1.25em;
}
/*end about section styling*/

/* skills section styling */
.icons-div{
margin: 0 auto var(--default-margin);
display: flex;
gap: 1rem;
justify-content: space-around;
width: 75%;
}

.skills-icon{
  width: 100px;
  margin-left: 10px;
}

.alt-wrap { 
  display: block;
  position: relative;
  margin: 10px;
  color: var(--secondary-color);
}

.alt-wrap p.alt {
  position: absolute;
  text-align: center;
  opacity: 0; 
  top: -30px;
  left: 0; 
  right: 0; 
  bottom: 0;
  margin: 0;
  padding: 15px;
  font-size: 14px;
  font-weight: bolder;
  line-height: 22px;
  transition: all 100ms ease;
  transition-delay: 300ms;
}

.alt-wrap:hover > p.alt { 
  opacity: 1; 
  transition-delay: 0s;
  cursor: crosshair;
}

#icons{
display: flex; 
flex-direction: column; 
align-items: center; 
margin: 0 auto;
}

#mysql{
  width: 150px;
  padding: auto 0 auto 0;
}
/* skills section end */

/*portfolio section styling*/
.portfolio {
  display: flex;
  background-color: var(--quarternary-color);
  margin: 40px auto;
}

.tilediv {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto;
  width: 80%;
}

.portfolioinfodiv {
  width: 80%;
}

.project-title {
  background-color: var(--quinary-color);
  color: var(--tertiary-color);
  font-weight: bold;
  width: 50%;
  padding: 5px 10px;
  margin-bottom: 2px;
}

.project-subtitle {
  background-color: var(--quinary-color);
  color: var(--tertiary-color);
  font-weight: bold;
  font-size: 15px;
  width: 50%;
  padding: 5px 10px;
  line-height: 120%;
}

.btn-div{
width: 50%;
display: flex;
flex-direction: row;
column-gap: 2px;
margin-top: 2px;
}

.project-btn{
  font-family: "Raleway", sans-serif;
  background-color: rgba(53, 72, 102, 1);
  border: none;
  padding: 5px 10px;
  color: white;
  font-weight: bold;
  transition-duration: 0.4s;
  width: 100%
}

.project-btn:hover {
background-color: rgba(53, 72, 102, 0.75);
color: var(--secondary-color);
font-weight: 900;
cursor: pointer;
}

#portfoliotitlediv {
  display: flex;
  background-color: var(--quarternary-color);
}

#tile1, #tile2, #tile3, #tile4, #tile5, #tile6, #tile7, #tile8, #tile9, #tile10, #tile11, #tile12, #tile13, #tile14, #tile15, #tile16, #tile17, #tile18{
  background-size: cover;
  border: var(--tile-border);
}

#tile1, #tile2, #tile3, #tile4, #tile5, #tile6, #tile7, #tile8, #tile9, #tile10, #tile11, #tile12, #tile13, #tile14, #tile15, #tile16, #tile17{
  height: 200px;
  margin-left: 13%;
  margin:0 auto var(--default-margin);
  justify-content: center;
  width: 90%;
}

/* #tile1, #tile2, #tile3, #tile4, #tile5, #tile6, #tile7, #tile8, #tile9, #tile10, #tile11 {
  width: 100%;
} */

#tile18 {
  width: 90%;
  height: 400px;
  background-image: URL(../images/project-images/bug-bash.png);
  margin: var(--default-margin) auto var(--default-margin) auto;
}

#tile17 {
  background-image: URL(../images/project-images/tech-blog.png);
  background-position: 20% 80%;
}

#tile16 {
  background-image: URL(../images/project-images/e-commerce.png);
}

#tile15 {
  background-image: URL(../images/project-images/employee-tracker.png);
  background-position: 15% 85%;
}

#tile14 {
  background-image: URL(../images/project-images/note-taker.png);
}

#tile13 {
  background-image: URL(../images/project-images/team-profile.png);
}

#tile12 {
  background-image: URL(../images/project-images/generatedmarkdownpreviewexample.png);
}

#tile11 {
  background-image: URL(../images/project-images/workoutzen.png);
}

#tile10 {
  background-image: URL(../images/project-images/weathersitescreenshot.png);
}

#tile9 {
  background-image: URL(../images/project-images/wdsitescreenshot.png);
}

#tile8 {
  background-image: URL(../images/project-images/quiz.png);
}

#tile7 {
  background-image: URL(../images/project-images/password.png);
}

#tile6 {
  background-image: URL(../images/project-images/horiseon.png);
}

#tile5 {
  justify-content: center;
  background-image: URL(../images/project-images/css100.png);
  background-position: 30% 70%;
}

 #tile4 {
  background-image: URL(../images/project-images/technical.png);
}

#tile3 {
  background-image: URL(../images/project-images/ice-cream.png);
}

#tile2 {
  background-image: URL(../images/project-images/chunky.png);
}

#tile1 {
  background-image: URL(../images/project-images/tribute-page.png);
  background-position: center;
}
/*end porftolio section*/

/*heroupbtn section*/
.heroupbtndiv {
  background-color: var(--primary-color);
  display: flex;
  justify-content: center;
}

#heroupbtn {
display: flex;
justify-content: center;
align-items: center;
background-color: var(--quinary-color);
height: 50px;
width: 50px;
border-radius: 50%;
margin: var(--default-margin) auto;
}

#heroupbtn:hover {
  color: var(--primary-color);
  background: var(--quarternary-color);
  font-weight: bold;
  box-shadow: var(--box-shadow-glow);
}

#upbtn {
display: flex;
justify-content: center;
align-items: center;
text-decoration: none;
color: var(--primary-color);
font-weight: 900;
font-size: 1.75em;
}

#arrow {
  text-align: center;
  margin-bottom: 5px;
}

/*end heroupbtn section*/

/*contact section styling*/
.contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--primary-color);
}
#contacttitlediv {
  border-right: none;
  border-bottom:  2px solid var(--secondary-color);
  background-color: var(--primary-color);
  color: var(--quarternary-color);
}

.contact-links {
  margin: var(--default-margin) auto var(--default-margin) auto;
}

.contact-links img {
  width: 50px;
  height: 50px;
  margin-left: var(--default-margin);
  margin-right: var(--default-margin);
}

.contact-links img:hover {
  box-shadow: var(--box-shadow-glow);
}
/*end contact section styling*/

/*footer styling*/
footer {
  justify-content: flex-start;
  align-items: center;
  color: var(--quarternary-color);
  font-size: 20px;
  padding: 5px;
}

.footer-name {
  margin: 5px var(--default-margin);
}
/*end footer styling*/

/*media queries*/
/* MEDIA QUERY FOR SMALLER DESKTOP SCREENS AND SMALLER */
@media screen and (max-width: 980px) {
  .hero {
    height: 775px;
}
.skills-icon{
  width: 70px;
}

}

/* MEDIA QUERY FOR TABLETS AND SMALLER */
@media screen and (max-width: 768px) {
  .hero {
    height: 765px;
}

.bio-image {
  height: 200px;
  width: 200px;
}

.skills-icon{
  width: 50px;
}

#about-text {
  font-size: 1em;
}

#tile18 {
  height: 300px;
}
#tile1, #tile2, #tile3, #tile4, #tile5, #tile6, #tile7, #tile8, #tile9, #tile10, #tile11, #tile12, #tile13, #tile14, #tile15, #tile16, #tile17 {
  height: 200px;
}
}

@media screen and (max-width: 638px) {
  header {
    flex-direction: column;
  }
}

/* MEDIA QUERY FOR MOBILE PHONES AND SMALLER */
@media screen and (max-width: 600px) {
  .section-title{
    font-size: 20px;
  }

.content {
  display: flex;
  align-items: center;
  flex-direction: column;
  margin: 40px auto;
}

.titlediv {
  align-items: center;
  flex-direction: column;
  border-right: none;
  border-bottom: 2px solid var(--secondary-color);
}

.project-title {
  width: 100%;
  font-size: 15px;
}

.project-subtitle {
  width: 100%;
  font-size: 15px;
}

.btn-div{
  width: 100%;
  align-items: center;
}
}

@media screen and (max-width: 518px) {
  .nav-links li {
    font-size: 15px;
  }
}

@media screen and (max-width: 510px) {
  #about-text {
    font-size: .9em;
  }
}

@media screen and (max-width: 486px) {
  .skills-icon{
    width: 40px;
  }

  #bioinfodiv {
    width: 90%;
  }
}

@media screen and (max-width: 476px) {
  #portfoliotitlediv {
    width: 17%;
  }
}

@media screen and (max-width: 432px) {
  .skills-icon{
    width: 35px;
  }

  #abouttitlediv{
    margin-bottom: none;
  }

  #bioinfodiv {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
  }
}

@media screen and (max-width: 422px){
  .nav-links li {
    display: inline-block;
    font-size: 12px;
    margin-left: 5px;
  }

  #contacttitlediv {
    width: 70px;
  }

  #portfoliotitlediv{
    width: 80px;
  }
}