/*
 * Author Nicholas Prokup 2025 -- comments and licensing stylesheet
 * Copyright (C) 2025 Nicholas J Prokup
 */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: 'Poppins', sans-serif;
}

body {
  justify-content: center;
  align-items: center;
  background-color: #344955;
  /* #2c313c; */
}

/* NAVIGATION STYLING */

.navigation {
  position: fixed;
  margin: 10px 2% auto 2%;
  height: 80px;
  width: 95%;
  background-color: #232F34;
  /* #424957; */
  border-radius: 10px;
  box-shadow: 0px 5px 5px 2px black;
  z-index: 9999;
}

.navigation ul {
  display: flex;
  width: auto;
  justify-content: center;
  align-items: center;
}

/* adjust the menu be more centered in mobile views */
@media only screen and (max-width: 767px) {
  .navigation ul {
    margin-right: 6%;
    margin-left: auto;
  }
}

.navigation ul li {
  list-style: none;
  padding: 10px 13% 0 11%;
  /* spacing of nav */
}

.navigation ul li a {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  text-align: center;
  text-decoration: none;
  font-weight: 500;
}

.navigation ul li a .icon {
  position: relative;
  display: block;
  font-size: 2.0em;
  line-height: 75px;
  color: #B3B3B3;
  transition: 0.5s;
}

@media (hover:hover) {
  .navigation ul li a:hover .icon {
    transform: translateY(-10px);
    color: #F9AA33;
  }
}

.navigation ul li.active a .icon {
  transform: translateY(-10px);
  color: #F9AA33;
}

.navigation ul li a .text {
  position: absolute;
  opacity: 0;
  color: #424957;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
  transition: 0.5s;
  text-transform: uppercase;
  transform: translateY(0px);
}

@media (hover:hover) {
  .navigation ul li a:hover .text {
    transform: translateY(15px);
    opacity: 1;
    color: #F9AA33;
  }
}

.navigation ul li.active a .text {
  transform: translateY(15px);
  opacity: 1;
  width: 25%;
  max-width: 100px;
  height: 20px;
  background: #F9AA33;
  border-radius: 10px;
}

/* INTRO SECTION */
#intro {
  padding-top: 150px;
}

.intro {
  padding: 150px auto 15% auto;
  max-width: 600px;
}

/* profile image formatting */
.profileImg {
  margin: 50px 35% auto;
}

img.profile {
  width: 175px;
  border-radius: 50%;
  border: 3px solid;
  border-color: #F5F5F5;
}

/* card alignment styling */
.row {
  align-items: center;
  padding-left: auto;
  padding-right: auto;
}

/* Card formate and styling containers */
.dCard {
  border: 2px solid #F9AA33;
  background-color: #232F34;
  box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, 0.2);
  transition: 0.2s;
  width: 100%;
  max-width: 200px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-content: center;
  margin: 30px auto 20px auto;
  padding-left: auto;
  padding-right: auto;
}

.icon {
  position: relative;
  display: block;
  margin-left: auto;
  margin-right: auto;
  font-size: 2.0em;
  line-height: 75px;
  color: white;
  transition: 0.5s;
}

.dCard a:hover .icon {
  transform: translateY(10px);
  color: #F9AA33;
}

/* Text styling for this section */
h1 {
  color: #F9AA33;
  font-size: 45px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

h1.nicholas {
  color: #F9AA33;
  font-size: 45px;
  font-family: serif;
  text-align: center;
}

h2 {
  padding-top: 25px;
  color: #FAF9F6;
  font-size: 1.25rem;
  font-family: 'Inter', sans-serif;
  text-align: center;

}

h2.opener {
  align-items: center;
  text-align: center;
}

a:hover .txt {
  transform: translateY(10px);
  color: #F9AA33;
  transition: 0.8s;
}

.txt {
  text-align: center;
  text-decoration: none;
  padding: 10px;
  color: #FAF9F6;
  font-size: 15px;
  font-family: monospace, monaco;

}

.arrow {
  animation: bounce 1.5s infinite;
  display: inline-block;
  padding-left: 0.25rem;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(4px);
  }
}

@media only screen and (max-width: 500px) {
  h1 {
    font-size: 38px;
  }

   h2 {
    font-size: 18px;
  }

  .foto {
    width: 247px;
  }

  .aboutIMG {
    width: 250px;
  }

  .captions {
    font-size: 0.5rem;
  }
}

/* PROJECT STYLING */
#project {
  padding-top: 200px;
}

.projects {
  padding: auto auto 15% auto;
  max-width: 600px;
}

/* adjust the padding be more centered in mobile views */
@media only screen and (max-width: 767px) {
  .projects {
    padding: 25px 10% 10% 10%;
  }
}

/* Project row and column image wrappers for organization */
.rowProjects {
  display: flex;
}

.columnsProjects {
  flex: 50%;
  padding: 15px;
}

/* Project section card style formatting */
.projectCard {
  border: 1px solid #dadada;
  background-color: #232F34;
  box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, 0.2);
  transition: 0.2s;
  width: 100%;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-content: center;
  margin: auto 60px 60px auto;
}

.containerCard {
  justify-content: center;
  border-top: 2px solid grey;
  padding: 5px;
}

/* text styling for the section */
p {
  color: white;
  text-align: justify;
}

h3 {
  color: #F9AA33;
  text-align: center;
}

p.langs {
  color: rgba(255, 165, 0, 1.0);
}

.langs {
  height: 25px;
  background: rgba(255, 165, 0, 0.3);
  color: #F9AA33;
  border-radius: 10px;
  display: inline-block;
  padding-left: 5px;
  padding-right: 5px;
}

.dates {
  color: grey;
  font-size: 16px;
  font-family: sans-serif, arial;
  float: right;
}

/* ABOUT STYLING */
#about {
  padding-top: 150px;
  padding-bottom: 75px;
}

.about {
  padding: auto auto 15% auto;
  max-width: 600px;
}

/* div id location for linking purposes */
#travel {
  height: 1px;
}

/* contain photos and styling */

.foto {
  border-radius: 30px 30px 0 0;
  max-width: 396px;
}


.aboutIMG {
  max-width: 400px;
  border-radius: 30px;
  border: 2px solid;
  border-color: #F5F5F5;
  background-color: #232F34;
  margin: 20px;
}

/* Breakpoints for mobile view */
@media only screen and (max-width: 767px) {
  .about {
    padding: 25px 10% 10% 10%;
  }

}

/* text styling in this section */
.captions {
  padding: 10px;
  color: #FAF9F6;
  font-size: 1rem;
  text-align: justify;
}

/* linkedIn and hyperlink style */
.link {
  width: 35px;
  color: white;
  opacity: 0.8;
}

/* FOOTER STYLING */
#foot {
  width: 100%;
  position: relative;
  bottom: 0;
  height: 130px;
  text-decoration-color: white;
  background-color: rgba(0, 0, 0, 0.5);
  
}

.footer {
  padding-top: 25px;
  display: block;
  text-align: center;
}