/* ===== VARIABLES ===== */
:root {
  --primary-color: #222222;
  --accent-color: #3E1357;
  --light-gray: #8238AD;
   /* --light-gray: #e2e2e2; */
  --white: #ffffff;
  --font-family: 'Raleway', sans-serif;
  /* --font-family: 'Merriweather', sans-serif; */
  --transition: all 0.3s ease;
}

/* ===== RESET & BASE STYLES ===== */
* {
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
  font-family: var(--font-family);
  line-height: 1.75;
  -webkit-tap-highlight-color: var(--accent-color);
}

::-moz-selection {
  /* background: var(--light-gray); */
  text-shadow: none;
}

::selection {
  background: var(--light-gray);
  text-shadow: none;
}

img::selection,
img::-moz-selection {
  background: transparent;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  /* text-transform: uppercase; */
}

p {
  margin-top: 1em;
  margin-bottom: 0;
}

.box h1 {
  font-size: 5em;
  line-height: 0.90em;
  font-weight: 900;
  /* text-transform: uppercase; */
  font-family: 'Merriweather', sans-serif;
  color: #3E1357;
}

.box h2 {
  font-size: 3em;
  line-height: 0.9em;
  color: #3E1357;
}

.box h3 {
  font-size: 3.5em;
  line-height: 0.75em;
  font-weight: 900;
  font-family: 'Merriweather', sans-serif;
  color: #3E1357;
}

.box p {
  font-size: 1.35em;
  line-height: 1.1em;
}

#experience h1 {
  font-size: 4em;
  line-height: 0.75em;
  font-weight: 900;
}

#resume h1 {
  font-size: 3.5em;
  line-height: 1em;
  font-weight: 900;
  text-transform: uppercase;
}

#resume h2 {
  font-size: 1.5em;
  line-height: 1em;
  font-weight: 400;
}

#resume h3 {
  font-size: 2em;
  font-weight: 900;
}

/* ===== CASE STUDIES ===== */

#case_studies img {
  box-shadow: 0px 0px 40px #0000001c;
  border: 10px solid var(--white);
  border-radius: 20px;
}

#case_studies h1 {
  font-size: 3.5em;
  line-height: 0.75em;
}

#case_studies h2 {
  font-size: 2.5em;
  line-height: 1em;
  font-weight: 900;
  font-family: 'Merriweather', sans-serif;
}

#case_studies h3 {
  font-size: 2em;
  line-height: 1;
  font-weight: 900;
}

#case_studies h4 {
  font-size: 1.5em;
  line-height: 1.2em;
  font-weight: bold;
  font-family: 'Merriweather', sans-serif;
  color: #3E1357;
}

#case_studies ul {
  font-size: 1.25em;
}

#case_studies p {
  font-size: 1.25em;
  line-height: 1.4em;
  /* padding: 0 0 1rem 0; */
}

#tools p {
  font-size: 1em;
}

/* ===== LAYOUT & SPACING ===== */
section {
  padding: 40px 0;
}

.top, .top2 {
  margin: 6em 0 0 0 !important;
}

section#resume,
section#gallery {
  padding-top: 1.5em;
}

#production {
  padding-top: 100px;
  background-color: var(--white);
}

/* ===== NAVIGATION ===== */

.navbar-brand {
  background-color: transparent;
}

#mainNav {
  background-color: #ffffffd4;
  color: var(--primary-color);
  border-bottom: solid 1px var(--primary-color);
}

#mainNav .navbar-nav .nav-item .nav-link {
  font-size: 70%;
  font-weight: 400;
  color: var(--primary-color);
  /* text-transform: uppercase; */
  background-color: transparent;
  /* padding: 0 0.5em !important; */
  transition: var(--transition);
}

#mainNav .navbar-nav .nav-item .nav-link:hover,
#mainNav .navbar-nav .nav-item .nav-link.active {
  /* background-color: var(--accent-color); */
  color: var(--accent-color);
  text-decoration: underline;
  /* font-weight: 900; */
}

#mainNav .navbar-toggler {
  font-size: 12px;
  padding: 13px;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgb(128, 69, 162);
  /* background-color: transparent; */
  font-weight: 600;
}

#mainNav .navbar-toggler:focus {
  outline: none;
}

.navbar-toggler-icon {
color:#3E1357 !important;
}

.show > .btn-primary.dropdown-toggle {
  color: #fff;
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.dropdown-menu {
  border: 1px solid rgb(128, 69, 162);
}

.dropdown-item.active, 
.dropdown-item:active {
  color: var(--primary-color);
  text-decoration: underline;
  background-color: transparent;
}

.dropdown-item:hover {
text-decoration: underline;
}

/* ===== PORTFOLIO COMPONENTS ===== */

.portfolio-item {
  margin: 2em 0 0 0;
}

.portfolio-item h3 {
  padding-top: 0.5em;
  font-size: 1.5em;
  font-family: 'Merriweather', sans-serif;
  color:#3E1357;
}

.portfolio-item p {
  padding-top: 0;
  margin-top: 0;
}

.portfolio-link {
  position: relative;
  display: block;
  margin: 0 auto;
  cursor: pointer;
  background: var(--white);
  overflow: hidden;
  border-radius: 20px;
  filter: drop-shadow(5px 5px 40px #603d761a);
}

.portfolio-link h1 {
  font-size: 25px;
  position: absolute;
  top: 3%;
  left: 3%;
  width: 100%;
  height: 20px;
  text-align: left;
  color: var(--accent-color);
  font-family: 'Merriweather', sans-serif;
}

.portfolio-hover {
  position: absolute;
  width: 100%;
  height: 100%;
  transition: var(--transition);
  opacity: 4;
  background: rgba(62, 19, 87, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  /* filter: drop-shadow(5px 5px 50px #603d763b); */
  /* border: #3e135716 solid 1px; */
  /* border-radius: 20px; */
}

.portfolio-hover h2 {
color: #222222;
text-align: center;
}

.portfolio-link:hover .portfolio-hover {
  opacity: 0.8;
}

.portfolio-hover-content {
  font-size: 1rem;
  text-align: center;
  color: var(--white);
  text-transform: uppercase;
}

/* ===== PROGRESS BARS ===== */
.progress {
  display: flex;
  height: 1rem;
  overflow: hidden;
  font-size: .75rem;
  background-color: var(--light-gray);
  border-radius: 1em;
  margin: 0.5em 0 1.5em 0;
}

.progress-bar {
  height: 1rem;
  line-height: 1rem;
  color: var(--primary-color);
  background-color: var(--accent-color);
  border-radius: 1em;
}

#software p {
  font-size: 1em;
  margin-bottom: 0;
}

/* ===== LISTS ===== */
ul {
  font-size: 1.5em;
}

.portfolio-item ul {
  font-size: 1em;
  list-style: none;
  margin-left: -1.5em;
}


/* ===== LINKS & BUTTONS ===== */
a {
  color: var(--primary-color);
  /* background-color: var(--accent-color); */
  transition: var(--transition);
}

a.active,
a:active,
a:focus,
a:hover {
  text-decoration: underline;
  color: var(--primary-color);
}

#network a {
  background-color: transparent;
  /* text-decoration: none; */
}

#network a:hover {
  /* background-color: var(--accent-color); */
}

.btn-primary {
  color: var(--white);
  border-color: var(--accent-color);
  background-color: var(--accent-color);
  text-transform: uppercase;
  transition: var(--transition);
  border-radius: 20px;
  font-size: 0.6em;
  padding: 7px 10px;
  padding: .5em 1em;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  color: var(--white);
  border-color: var(--accent-color);
  background-color: var(--light-gray);
  text-decoration: none;
}

.btn-xl {
  font-size: 18px;
  font-weight: 700;
  padding: 20px 20px;
  border-radius: 3px;
  color: var(--primary-color);
  border-color: var(--accent-color);
  background-color: var(--accent-color);
  text-transform: uppercase;
}

/* ===== UTILITY CLASSES ===== */
.text-primary {
  color: var(--primary-color) !important;
}

.text-secondary {
  color: var(--accent-color) !important;
}

.text-muted {
  color: var(--primary-color) !important;
  font-size: smaller !important;
}

.quote {
  line-height: 1.50em !important;
  font-style: oblique;
  margin: 1em;
}

.quote-bg {
  font-size: 1.5rem !important;
  padding: 0 1.5em;
}

hr {
  margin-top: 1rem;
  margin-bottom: 1rem;
  border: 0;
  border-top: 2px solid var(--primary-color);
}

/* ===== COOKIE CONSENT ===== */
.cc-floating.cc-theme-edgeless .cc-message {
  margin: 1em !important;
  margin-bottom: 0 !important;
  font-family: var(--font-family);
}

.cc-link {
  background: transparent;
  display: inline-block;
  padding: .2em;
  text-decoration: underline;
  color: var(--accent-color) !important;
}

.cc-link:hover {
  color: var(--primary-color) !important;
}

.cc-btn {
  display: block;
  font-size: .9em;
  font-weight: 400;
  border-width: 2px;
  border-style: solid;
  text-align: center;
  white-space: nowrap;
  font-family: var(--font-family);
}

/* ==== MODALS ==== */

.portfolio-modal .modal-dialog {
    max-width: none;
    height: 100%;
    margin: 0;
}

.portfolio-modal .modal-content {
  min-height: 100%;
  padding: 100px 0 !important;
  text-align: center;
  border: none;
  border-radius: 0;
  background-color: var(--white);
}

.portfolio-modal .close-modal {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 75px;
    height: 75px;
    cursor: pointer;
    background-color: transparent;
}

.portfolio-modal .close-modal .lr {
    z-index: 1051;
    width: 3px;
    height: 50px;
    margin-left: 35px;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    background-color: #222222;
}

.portfolio-modal .close-modal .rl {
    z-index: 1051;
    width: 3px;
    height: 50px;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(90deg);
    background-color: #222222;
}


.portfolio-modal .modal-content img {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--light-gray);
  padding: 0.5em;
  box-shadow: 0 0 10px rgb(0 0 0 / 10%);
  background-color: var(--white);
  margin-bottom: 1.5rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 470px) {
  .box h1 {
    font-size: 3em;
    line-height: 0.90em;
  }
  
  .box h2 {
    font-size: 2em;
    line-height: 0.85em;
    /* font-weight: 600; */
  }
  
  .portfolio-hover-content i {
    margin-top: -0.5em !important;
  }
}

@media (max-width: 995px) {
  .top2 {
    margin: 2em 0 0 0 !important;
  }
  
  #mainNav .navbar-nav .nav-item .nav-link .navbar-collapse {
    margin-top: 0.5rem;
    background-color: #ffffff;
  }
}

@media (max-width: 992px) {
  #mainNav {
    background-color: #ffffff;
  }
  .btn-primary {
    margin: 0 !important;
  }
}

@media (min-width: 768px) {
  section {
    padding: 40px 0;
  }
  .container, .container-md, .container-sm {
    max-width: none;
    padding: 0 2em;}
    }


  @media (min-width: 576px) {
  .container, container-md, .container-sm {
    max-width: 90%;
  }
  .portfolio-item {
    margin: 2em 0 0 0;
  }
  /* .box h1 {
    font-size: 3.5em;
  } */
}

/* ===== FOOTER ===== */

footer {
position: relative;
/* display: flex; */
/* flex-wrap: wrap; */
/* align-items: center; */
padding: 0 0 1em 0;
border-top: #3E1357 1px solid;
font-size: small;
text-align: center;
}


/* #footer {
  text-align: center;
  font-size: 0.6em;
} */

/* ===== SOCIAL BUTTONS ===== */
ul.social-buttons li a {
  font-size: 20px;
  line-height: 40px;
  display: block;
  width: 40px;
  height: 40px;
  transition: var(--transition);
  color: var(--white);
  border-radius: 100%;
  outline: none;
  background-color: var(--primary-color);
}

ul.social-buttons li a:active,
ul.social-buttons li a:focus,
ul.social-buttons li a:hover {
  background-color: var(--light-gray);
}