/* GR ---------- MAIN VARS ----------- */
:root {
  --color-primary: #fb4958; /* #394A59; */
  --color-primary-light: #59758d;
  --color-secondary: #e31148; /* #36BF7F; */
  --color-secondary-light: #00aae4; /* #75d3a7; */
  --color-secondary-dark: #464646; /* #1C5E3E; */
  --color-secondary-pale: #d9ebf1; /* #def4e9; */
  --color-accent: #D96666;
  --color-shadow-light: #939393; /* #1C5E3E; */
  --color-shadow-dark: #767676; /* #1C5E3E; */
  --color-shadow-black: #1c1c1c; 
}

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700&display=swap");


/* GR ----------- MAIN BASE STYLES -------------- */
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Set core root defaults */
html {
  line-height: 1.5;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  scroll-behavior: smooth;
}

html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  margin: 0;
}

/* Update default margin */
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
ul,
ol,
dl,
dd {
  margin: 0 0 1.5rem;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role=list],
ol[role=list] {
  list-style: none;
}

/* A elements that don't have a class get default styles */
a {
  text-decoration-skip-ink: auto;
  color: var(--color-secondary-dark);
}

a:hover,
a:focus-visible {
  color: var(--color-secondary);
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

svg {
  fill: currentColor;
}

svg:not(:root) {
  overflow: hidden;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/* GR ---------- Layout ---------- */
.container {
  width: min(65em, 100%);
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container--narrow {
  width: min(35em, 100%);
}

/* GR ---------- Utility ---------- */
.code--inline {
  background-color: #eee;
  padding: 0.125em 0.25em;
  border: 0.0625rem solid #ccc;
  border-radius: 0.25em;
  color: #000;
  text-transform: none;
  white-space: nowrap;
}

/* GR ---------- Typography ---------- */
h1 {
  font-size: 2.019rem;
  line-height: 1.3;
}

h2 {
  font-size: 1.756rem;
  line-height: 1.3;
}

h3 {
  /* color: var(--color-secondary-dark); */
  font-size: 1.525rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

h4 {
  font-size: 1.325rem;
  /* color: var(--color-accent); */
  margin: 0;
  line-height: 1.3;
}

h5 {
  font-size: 1.15rem;
  font-weight: normal;
  line-height: 1.3;
}

h6 {
  font-size: 1rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

@media only screen and (min-width: 45em) {
  h1 {
    font-size: 2.481rem;
  }
  h2 {
    font-size: 2.069rem;
  }
  h3 {
    font-size: 1.725rem;
  }
  h4 {
    font-size: 1.438rem;
  }
  h5 {
    font-size: 1.2rem;
  }
}
@media only screen and (min-width: 60em) {
  h1 {
    font-size: 3.056rem;
  }
  h2 {
    font-size: 2.444rem;
  }
  h3 {
    font-size: 1.956rem;
  }
  h4 {
    font-size: 1.563rem;
  }
  h5 {
    font-size: 1.25rem;
  }
}
/* GR ---------- Accessibility ---------- */
*:focus-visible {
  outline: 0.125rem solid var(--color-secondary);
  outline-offset: 0.125rem;
}

.skip-links {
  padding: 0;
  margin: 0;
  list-style: none;
}

.skip-links a {
  position: absolute;
  top: -10rem;
  left: 0.5rem;
  z-index: 100000;
  display: inline-block;
  padding: 0.55em 1.5em 0.5em;
  background-color: var(--color-secondary);
  border: 0.125rem solid var(--color-secondary);
  color: #000;
  border-radius: 0.25em;
  /* link necessary styles */
  text-decoration: none;
}

.skip-links a:focus {
  top: 0.75rem;
  outline: 0;
}

.screen-reader-text {
  position: absolute;
  clip-path: polygon(0 0, 0.1% 0, 0.1% 0.1%, 0 0.1%);
}

/* GR ---------- Buttons ---------- */
.btn,
input[type=submit] {
  /* common styles */
  display: inline-block;
  padding: 0.55em 1.5em 0.5em;
  background-color: var(--color-secondary);
  border: 0.125rem solid var(--color-secondary);
  color: #fff;
  border-radius: 0.25em;
  /* link necessary styles */
  text-decoration: none;
  /* button necessary styles */
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

.btn2 {
  /* common styles */
  display: inline-block;
  padding: 0.55em 1.5em 0.5em;
  /* background-color: var(--color-secondary); */
  /* border: 0.125rem solid var(--color-secondary); */
  color: #fff;
  border-radius: 0.25em;
  /* link necessary styles */
  text-decoration: none;
  cursor: pointer !important;
  /* button necessary styles */  
  font-family: inherit;
  font-size: inherit;
}
.btn2:hover,
.btn2:focus-visible {
  /* background-color: var(--color-primary-light); */
  border-color: var(--color-primary-light);
  color: #ffeeee;
  cursor: pointer ;
}

.btn:hover,
.btn:focus-visible {
  background-color: var(--color-primary-light);
  border-color: var(--color-primary-light);
  color: #fff;
}

.btn--secondary {
  background-color: var(--color-primary-light) !important;
  border-color: var(--color-primary-light) !important;
  color: white;
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  background-color: var(--color-secondary-light) !important;
  border-color: var(--color-secondary-light) !important;
  color: white;
}

.btn--outline {
  background-color: transparent;
  color: var(--color-primary);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.btn--small {
  font-size: 0.75rem;
}

.btn--large {
  font-size: 1.25rem;
}
.btn--large2 {
  font-size: 1.25rem;
  /* width: 10rem; */
 cursor: pointer !important;
}

/* GR ---------- Header ---------- */
.masthead {
  /* background-color: var(--color-primary); */
  background-image: linear-gradient(to bottom, #f94554, #f84554);
  color: #fff;
  /* border-top: 0.50rem solid var(--color-secondary); */
  /* border-top: 0.50rem solid #e81a4d; */
  
  position: sticky;
  top: 0;
  z-index: 10000;
}

.masthead .container {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.masthead a {
  color: #fff;
  text-decoration: none;
}

.masthead a:hover,
.masthead a:focus-visible {
  color: var(--color-secondary);
}

.masthead .logo {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  font-size: 1.525rem;
  font-weight: bold;
  line-height: 1.3;
  margin: 0;
}

.masthead .logo__img {
  width: 12.5rem;
  padding-top: 1.75rem;
  padding-bottom: 0.75rem;
}

.logo_footer {
  width: 6.5rem;
  padding-top: 1.75rem;
  padding-bottom: 0.75rem;
}
.masthead .logo__text {
  font-size: 1.525rem;
  font-weight: bold;
  line-height: 1.3;
}

.masthead nav {
  position: fixed;
  top: 0;
  right: -66.6666%;
  width: 66.6666vw;
  height: 100vh;
  box-shadow: -2px 3px 5px rgba(0, 0, 0, 0.15);
  background-color: var(--color-primary);
  border-top: 0.25rem solid var(--color-accent);
}

.masthead nav.open {
  right: 0;
}

.masthead ul {
  padding: 6rem 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
}

/* .masthead ul a {
  display: block;
  padding: 0.75rem 1.5rem;
  text-align: right;
  font-size: 1.5rem;
} */
.masthead ul a {
  display: block;
  padding: 0.75rem 1.5rem;
  text-align: right;
  font-size: 1.5rem;
  position: relative; /* Position relative for the pseudo-element */
  overflow: hidden; /* Ensure the pseudo-element is constrained to the link's dimensions */
}
.masthead ul a:hover,
.masthead ul a:focus-visible {
  color: #fff;
  background-color: transparent;
  /* background-color: var(--color-secondary); */
}

.masthead ul a:hover::after,
.masthead ul a:focus-visible::after {
  transform: translateX(-50%) scaleX(1); /* Center and scale to full width */
  width: 70%; /* Adjust the width to your preference */
  transform-origin: center left; /* End the transform from the center */
}

.masthead ul a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%; /* Center the line horizontally */
  width: 0; /* Start with no width */
  height: 4px; /* The height of the underline */
  background-color: #fff; /* White color for the underline */
  transform: translateX(-50%) scaleX(0); /* Center and scale to 0 width */
  transform-origin: center right; /* Start the transform from the right */
  transition: transform 0.2s ease-in-out; 
}
.masthead .sub-masthead {
  background-color: #222d36;
  color: #fff;
}


@media only screen and (min-width: 45em) {
  .masthead .container {
    padding: 0 1.5rem;
  }
  .masthead .site-title > * {
    font-size: 1.725rem;
  }
  .masthead nav {
    position: static;
    top: auto;
    left: auto;
    width: auto;
    height: auto;
    box-shadow: none;
    z-index: auto;
    background-color: transparent;
    border: 0;
  }
  .masthead ul {
    flex-direction: row;
    padding: 0;
  }
  .masthead ul a {
    padding: 1.5rem;
    font-size: 1rem;
  }
}
@media only screen and (min-width: 60em) {
  .masthead .site-title > * {
    font-size: 1.956rem;
  }
}
/* DROP DOWN MENU */
/* Dropdown Container */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none !important;
  position: absolute;
  /* background-color: #f9f9f9; */
  background-color: var(--color-primary);
  min-width: 180px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block !important;
}

/* Links inside the dropdown */
.dropdown-content a {
  /* color: black; */
  color: var(--color-secondary-pale);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left !important; 
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
  background-color:var(--color-shadow-black);
}

/* GR ----- FOOTER -----  */
/* .footer {
  background-color: var(--color-secondary);
  color: #fff;
  border-top: 0.5rem solid var(--color-secondary-pale);
} */
.footer {
  background-color: var(--color-secondary);
  color: #fff;
  border-top: 0.5rem solid var(--color-secondary-pale);
  box-shadow: 0 -5px 10px -5px rgba(0, 0, 0, 0.2); /* Horizontal offset, vertical offset, blur radius, spread radius, color */
}
.footer .container {
  padding-top: 3rem;
  padding-bottom: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer a {
  color: #fff;
  text-decoration: none;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--color-secondary-pale);
}

.footer .logo {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.footer .logo__img {
  width: 4rem;
}

.footer .logo__text {
  font-size: 1.525rem;
  font-weight: bold;
}

.footer ul {
  list-style: none;
  margin: 0;
  border-left: 0.124rem solid var(--color-secondary-pale);
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media only screen and (min-width: 45em) {
  .footer .container {
    flex-direction: row;
  }
  .footer .logo {
    flex: 2 0;
    align-items: flex-start;
  }
  .footer nav,
  .footer small {
    flex: 1 0;
  }
}
/* GR ---------- Banner ---------- */
.banner {
  /* background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url("../images/banner-01.jpg"); */
  background-position: center;
  background-size: cover;
  
   background-image: linear-gradient(to bottom, #f94554, #e81a4d);
   
   position: relative;
}
.banner__image {
  max-width: 80%;
  /* width: 960px; */
  height: auto;
  
  
  /* background-color: blue; */
  /* Add any additional styles needed for your layout */
}

.content__details {
  background-position: center;
  background-size: cover;
  background-image: linear-gradient(to bottom, #f8fcff, #d2eaff);
}


.banner .container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  min-height: 65vh;
  padding: 3rem 1.5rem;
}

.banner__content {
  /* width: min(35em, 100%); */
}

.banner__title {
  font-size: 1.756rem;
  line-height: 1.3;
  color: var(--color-secondary-pale);
  /* Your styles for fading in and out */
    transition: opacity 0.5s ease;
    opacity: 0;
  width: min(15em, 100%);
}
.banner__title.visible, .banner__text.visible {
    opacity: 1;
  }
  /* Hero dots */
  .banner__dots {
  position: absolute;
  bottom: 40px; /* Adjust this value as needed to place it below the 'Get Started' button */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
}

.dot {
  height: 15px;
  width: 15px;
  margin: 0 5px;
  background-color: var(--color-secondary-pale);
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
  cursor: pointer; /* To indicate that the dots are clickable */
}

.dot.active {
  background-color: #717171; /* Active dot color */
}
  /* End Hero dots */
.banner__text {
  font-size: 1.15rem;
  color: #fff;
  transition: opacity 0.5s ease;
    opacity: 0;
  width: min(25em, 100%);
}

.banner__action {
  background-image: linear-gradient(#ff3f62, #e31d49); 
  color: white;
  /* border: 2px solid white; White border */
  font-size: 16px;
  padding: 10px 20px;
  border-radius: 50px; /* Semi-circular rounded borders */
  cursor: pointer;
  outline: none;
  display: inline-flex; /* Use inline-flex to allow the button to shrink-wrap its content */
  align-items: center;
  justify-content: center;
  gap: 10px; /* Space between icons and text */
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25); /* Shadow */
  /* transition: box-shadow 0.3s ease, transform 0.3s ease, background-color 0.3s ease; */
  text-decoration: none; /* In case it's an anchor */
  user-select: none; /* Prevent text selection */
  width: 13rem;
}

/* .banner__action:hover, .banner__action:focus {
  box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.45); 
  transform: translateY(-2px); 
  background-image: linear-gradient(#ff527a, #e32050);
}

.banner__action:active {
  transform: translateY(1px); 
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2); 
} */

.banner__action .btn:hover, 
.banner__action .btn:focus {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly visible on hover/focus */
  color: white; /* Keep the text color white for contrast */
}

.banner__action .btn:active {
  background-color: rgba(255, 255, 255, 0.2); /* More visible when active/clicked */
}

@media only screen and (min-width: 45em) {
  .banner__title {
    font-size: 2.069rem;
  }
  .banner__text {
    font-size: 1.2rem;
  }
}
@media only screen and (min-width: 60em) {
  .banner__title {
    font-size: 2.444rem;
  }
  .banner__text {
    font-size: 1.25rem;
  }
}
/* GR ---------- Regular Text ---------- */
.regular-text .container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.regular-text__title,
.regular-text__content {
  grid-column: span 12;
}

.regular-text__title {
  margin: 0;
}

@media only screen and (min-width: 60em) {
  .regular-text__title {
    grid-column: span 4;
  }
  .regular-text__content {
    grid-column: span 8;
  }
}
/* GR ---------- Card Group ---------- */
.card-group {
  background-color: var(--color-secondary-pale);
}

.card-group .container {
  --cols: 1;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(var(--cols), 1fr);
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.card-group__title {
  grid-column: 1/-1;
}

.card {
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1333333333);
  background-color: #fff;
  color: #000;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.card:hover,
.card:focus-visible {
  color: #000;
  box-shadow: 0 0.5rem 0.75rem rgba(0, 0, 0, 0.1333333333);
}

.card__image img {
  object-fit: cover;
  width: 100%;
  aspect-ratio: 16/9;
}

.card__content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 2;
  align-items: flex-start;
}

.card__title {
  font-size: 1.325rem;
  color: var(--color-secondary);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.card__text {
  flex-grow: 2;
}

@media only screen and (min-width: 45em) {
  .card-group .container {
    --cols: 2;
  }
  .card__title {
    font-size: 1.438rem;
  }
}
@media only screen and (min-width: 60em) {
  .card-group .container {
    --cols: 3;
  }
  .card__title {
    font-size: 1.563rem;
  }
}
/* GR ---- CONTACT FORM ---- */
.contact {
  background-color: var(--color-secondary-pale);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 3rem 0;
}

.contact__wrap {
  /* background-color: #fafafa; */
  /* border-radius: 1.5rem; */
  /* box-shadow: 0 0.25rem 0.6rem var(--color-shadow-dark); */
  overflow: hidden;
  display: grid;
  --cols: 1;
  grid-template-columns: repeat(var(--cols), 1fr);
}

.contact__form {
  padding: 3rem 1.5rem;
  display: grid;
  --cols: 1;
  grid-template-columns: repeat(var(--cols), 1fr);
  gap: 1.5rem;
}

.form__unit.full {
  grid-column: 1/-1;
}

.btn__contact {
  background-color: var(--color-primary-light) !important;
  border-color: var(--color-primary-light) !important;
}

.btn__contact:hover {
  background-color: var(--color-secondary) !important;
  border-color: var(--color-secondary) !important;
}

.contact__title{
  padding: 3.25rem;
}
.contact__image {
  aspect-ratio: 16/9;
  background-color: var(--color-secondary);
  background-image: url("../images/contact-01.jpeg");
  background-size: 50%;
  background-size: cover;
}

.form__title {
  margin-bottom: 0;
}

.contact__form input, textarea {
  display: block;
  width: 100%;
  padding: 0.25rem;
  border: 0.0625rem solid #ccc;
  border-radius: 0.25rem;
}

label {
  display: block;
  width: 100%;
  font-size: 0.875rem;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

@media only screen and (min-width: 45em) {
  .contact__wrap {
    --cols: 3;
  }
  .contact__form {
    grid-column: span 2;
    padding: 6rem 3rem;
    --cols: 2;
  }
  .contact__image {
    aspect-ratio: auto;
  }
  .contact__image {
    aspect-ratio: auto;
  }
}
@media only screen and (min-width: 60em) {
  .contact__wrap {
    --cols: 2;
  }
  .contact__form {
    grid-column: span 1;
  }
}
/* GR ---------- Nav Toggle ---------- */
.nav-toggle {
  width: 2.5rem;
  height: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.nav-toggle .tog {
  width: 100%;
  height: 4px;
  background-color: #fff;
  position: relative;
}

.tog.top {
  top: 0;
}

.tog.bottom {
  bottom: 0;
}

.open .top {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.open .middle {
  opacity: 0;
}

.open .bottom {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

@media only screen and (min-width: 45em) {
  .nav-toggle {
    display: none;
  }
}
.click-to-close {
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5333333333);
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  opacity: 0;
}

.click-to-close.open {
  opacity: 1;
  pointer-events: all;
}

/* ---------- To Top ---------- */
.to-top {
  transition: transform 0.2s, bottom 0.2s;
}

.to-top {
  position: fixed;
  bottom: -0.5rem;
  right: 1.5rem;
  background-color: var(--color-primary);
  color: var(--color-secondary-pale);
  padding: 0.5rem 0.5rem 1rem;
  border-radius: 0.5rem 0.5rem 0 0;
  text-decoration: none;
  box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.1333333333);
  transform: translateY(100%);
}

.to-top.visible {
  transform: translateY(0);
}

.to-top:hover,
.to-top:focus-visible {
  bottom: 0;
  color: var(--color-secondary-pale);
  transform: translateY(0);
}

.screen-reader-text {
  position: absolute;
  clip-path: polygon(0 0, 0.1% 0, 0.1% 0.1%, 0 0.1%);
}

/* GR ------ PORTFOLIO STYLE ------- */
.portfolio__group {
  display: grid;
  --cols: 1;
  grid-template-columns: repeat(var(--cols), 1fr);
}

.portfolio {
  width: 20rem;
  margin: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 0.25rem 0.6rem var(--color-shadow-light);
  background-color: white;
  position: relative;
  overflow: hidden;
}

.portfolio img {
  width: 100%;
}

.portfolio__info {
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem 1rem;
  letter-spacing: 0.5px;
}

.portfolio__group h2 {
  color: var(--color-primary);
}

.portfolio__info h3 {
  margin-top: 0;
  color: var(--color-primary);
}

.portfolio__info span {
  background-color: var(--color-secondary);
  padding: 0.25rem 0.5rem;
  border-radius: 0.5rem;
  font-weight: bold;
}

.portfolio__tech {
  color: var(--color-secondary-pale);
}

.portfolio_link,
.portfolio_link:hover,
.portfolio_link:focus {
  text-decoration: none;
  text-transform: none;
  color: var(--color-primary);
}

.portfolio__info span.green {
  color: lightgreen;
}

.portfolio__info span.orange {
  color: orange;
}

.portfolio__info span.red {
  color: red;
}

.overview {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: white;
  padding: 1rem;
  max-height: 100%;
  transform: translateY(101%);
  transition: transform 0.3s ease-in;
}

.portfolio:hover .overview,
.portfolio:focus .overview {
  transform: translateY(0);
}

@media only screen and (min-width: 45em) {
  .portfolio__group {
    --cols: 2;
  }
}
@media only screen and (min-width: 60em) {
  .portfolio__group {
    --cols: 3;
  }
}
/* GR ---------- Skills Style ---------- */
.skills-group {
  /* background-color: white; */
  background-image: linear-gradient(to bottom, #f8fcff, #d2eaff);
}

.skills-group .container {
  --cols: 1;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(var(--cols), 1fr);
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.skills-group__title {
  grid-column: 1/-1;
}

.skills__main-title {
  color: var(--color-primary);
  grid-column: 1/-1;
}

.skills__main-subtitle {
  color: var(--color-primary-light);
  grid-column: 1/-1;
}

.skills {
  border-radius: 0.5rem;
  overflow: hidden;
  /* box-shadow: 0 0.5rem 0.5rem rgba(0, 0, 0, 0.1333333333); */
  /* background-color: #fff; */
  /* background-color: #ff0000; */
  /* color: #000; */
  text-decoration: none;
  /* display: grid; */
  /* grid-column: span 1; */
  display: flex;
  flex-direction: row;
  /* flex-direction: column; */
}

.skills:hover,
.skills:focus-visible {
  color: #000;
  box-shadow: 0 0.5rem 0.75rem rgba(0, 0, 0, 0.1333333333);
}

.skills__image {
  overflow: hidden;
  position: relative;
  text-align: center;
  width: 100%;
  vertical-align: middle;
  white-space: nowrap;
}

.skills__image img {
  vertical-align: middle;
  bottom: 0;
  left: 0;
  margin: auto;
  position: absolute;
  max-width: 10rem;
  right: 0;
  top: 0;
}

.skills__content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 2;
  align-items: flex-start;
  max-width: 21rem;
}

.skills__title {
  font-size: 1.325rem;
  color: var(--color-shadow-black);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.skills__text {
  flex-grow: 2;
  font-size: 0.9rem;
}

@media only screen and (min-width: 45em) {
  .skills-group .container {
    --cols: 2;
  }
  .skills__title {
    font-size: 1.438rem;
  }
}
@media only screen and (min-width: 60em) {
  .skills-group .container {
    --cols: 3;
  }
  .skills__title {
    font-size: 1.563rem;
  }
}

/* buttons style */
.rounded-button {
  background-color: #e81a4d; /* Rojo de Canadá */
  color: white;
  border: none;
  font-size: 16px;
  padding: 10px 20px;
  border-radius: 50px; /* Esto da la apariencia de bordes semicirculares */
  cursor: pointer;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px; /* Espacio entre las flechas y el texto */
  transition: background-color 0.3s ease;
}

.arrow {
  font-size: 20px;
  user-select: none;
}

.rounded-button:hover {
  background-color: #f94554; /* Un tono más claro de rojo para el efecto hover */
}

/* Estilos para asegurar que los botones no tengan un aspecto diferente en diferentes navegadores */
button:focus {
  outline: none;
}

button:active {
  transform: translateY(2px);
}

/* button second style */
.button-home-container {
  text-align: center;
  padding: 20px;
}

.btn-home {
  text-transform: uppercase;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 5px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: white;
  font-weight: bold;
  margin: 10px;
  display: inline-block;
}

.btn-home-primary {
  background-image: linear-gradient(to right, #e81a4d, #f94554);
}

.btn-home-secondary {
  background-image: linear-gradient(to right, #f94554, #e81a4d);
}

.btn-home-accent {
  background-image: linear-gradient(to right, #e81a4d, #f94554);
  box-shadow: 0 4px #ba1139;
}

.btn-home:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px #ba1139;
}

.btn-home:active {
  transform: translateY(1px);
  box-shadow: 0 2px #ba1139;
}

/* 3rd Button style */

.rounded-gradient-button {
    background-image: linear-gradient(#ff3f62, #e31d49); /* Gradiente vertical */

  color: white;
  border: 2px solid white; /* Borde blanco */
  font-size: 16px;
  padding: 10px 20px;
  border-radius: 50px; /* Bordes redondeados semicirculares */
  cursor: pointer;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px; /* Espacio entre las flechas y el texto */
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25); /* Sombra */
  transition: box-shadow 0.3s ease, transform 0.1s ease;
}

.arrow {
  font-size: 20px;
  user-select: none;
}

.rounded-gradient-button:hover {
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.35); /* Sombra más prominente al pasar el mouse */
}

/* Estilos para asegurar que los botones no tengan un aspecto diferente en diferentes navegadores */
button:focus {
  outline: none;
}

button:active {
  transform: translateY(2px); /* Efecto de presionado */
}

/* Button middle style */

.split-button {
  border: 2px solid white; /* Borde blanco */
  font-size: 16px;
  padding: 10px 20px;
  border-radius: 50px; /* Bordes redondeados */
  cursor: pointer;
  outline: none;
  background: linear-gradient(to right, white 50%, #e31d49 50%); /* Gradiente de dos colores */
  color: black; /* Color inicial del texto */
  transition: background-color 0.3s;
  position: relative; /* Posición relativa para pseudo-elementos */
  overflow: hidden; /* Esconder los bordes del pseudo-elemento */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; /* Aplicar el clip al color del texto también */
}

.split-button::before, .split-button::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 50%;
  height: 100%;
  transition: all 0.3s ease;
}

.split-button::before {
  left: 0;
  background: white; /* Fondo blanco para la mitad izquierda */
}

.split-button::after {
  right: 0;
  background: #e31d49; /* Fondo rojo para la mitad derecha */
}

.split-button:hover {
  background: linear-gradient(to right, white 50%, darken(#e31d49, 10%) 50%); /* Oscurecer el rojo al pasar el ratón */
}

.split-button:active {
  transform: scale(0.98); /* Efecto de presionado */
}

/* NEW STYLE */
.half-half-button {
  border: 2px solid white; /* Border color */
  font-size: 16px;
  padding: 10px 20px;
  border-radius: 50px; /* Rounded borders */
  cursor: pointer;
  outline: none;
  background-image: linear-gradient(to right, white 50%, #e31d49 50%); /* Half white, half red background */
  font-weight: bold;
  position: relative; /* For pseudo-element positioning */
  transition: background-color 0.3s, box-shadow 0.3s;
  /* Initial color for text is set for the left side, which is white background */
  color: #e31d49;
}

.half-half-button:hover {
  /* Darken the red side of the button on hover */
  background-image: linear-gradient(to right, white 50%, darken(#e31d49, 10%) 50%);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.half-half-button:active {
  /* Pressed effect for the button */
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2);
}

.half-half-button span {
  position: relative;
  z-index: 2;
}

.half-half-button::after {
  content: 'Services'; /* Duplicate the text */
  position: absolute;
  left: 50%; /* Start from the middle of the button */
  top: 0;
  height: 100%;
  line-height: normal; /* Align the line height with the button's size */
  width: 50%;
  overflow: hidden;
  white-space: nowrap;
  color: white; /* Text color for the right half */
  transition: color 0.3s;
  text-align: left;
  padding-left: 20px; /* Add padding to align the text properly */
}

/* Ensure the text color changes on hover for both halves */
.half-half-button:hover span,
.half-half-button:hover::after {
  color: white;
}

/* TEXT STROKE */
.outlined-text {
  color: white; /* Text color */
  font-size: 12px; /* Adjust the font size as needed */
  font-weight: bold; /* Make the text bold */
  position: relative;
  -webkit-text-stroke: 1px #e31d49; /* Text stroke for browsers that support it */
  text-stroke: 1px #e31d49; /* Standard property, not widely supported as of my knowledge cutoff in April 2023 */
  text-shadow:
    -1px -1px 0 #e31d49,
    1px -1px 0 #e31d49,
    -1px 1px 0 #e31d49,
    1px 1px 0 #e31d49; /* Text shadow to simulate stroke for better compatibility */
}



/*# sourceMappingURL=main.css.map */
