body {
    margin: 0;
    background-color: #333;
    font-family: Arial, Helvetica, sans-serif;
}

.title {
 font-size: 4rem;
 color: black;
 padding: 4rem;
 /* transform: translateZ(-4px) scale(1.2); */
}

.about-me-block {
    background-color: #333;
    position: relative;
}

.about-me-inner {
    opacity: 0;
    transition: ease-out 500ms;
}

.about-me-inner[data-visible="true"] {
    opacity: 0.9;
    transition: ease-in 500ms;
}

.about-me-top-quote {
    height: 1.2rem;
    position: absolute;
    top: 110px;
    left: 120px;
    opacity: 0.5;
}

.about-me-bottom-quote {
    height: 1.2rem;
    position: absolute;
    right: 135px;
    bottom: 75px;
    transform: rotate(180deg);
    opacity: 0.5;
}

.about-me-section {
    font-size: 1.75rem;
    padding-inline: 10rem;
    padding-top: 1rem;
    padding-bottom: 5rem;
    background-color: #333;
    color: white;
    margin-left: 10px;
}

.wrapper {
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    perspective: 20px;
    scroll-behavior: smooth;
}

header {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    transform-style: preserve-3d;
    z-index: -1;
    margin-top:-6rem;
}

header h1 {
    margin-top: -300px;
}

.background {
    transform: translateZ(-20px) scale(2);
}

.middleground {
    transform: translateZ(-15px) scale(1.75);
}

.foreground {
    transform: translateZ(-10px) scale(1.5);
}

.background,
.middleground,
.foreground {
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: -1;
}

.top-row {
    height: 5vh;
    background: black;
    opacity: 0.7;
    color: white;
    position: sticky;
    top: 0;
}

.page-title {
    font-size: 1.5rem;
    padding-top: 10px;
    padding-left: 10px;  
    display: inline-block;  
    text-decoration: none;
}

.page-title:hover, .page-title:active, .page-title:visited {
    color:white;
    text-decoration: none;
}

.flex {
    display: flex;
    gap: var(--gap, 4rem);
}

.primary-navigation {
    z-index: 1000;
    list-style: none;  
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    padding-right: 2rem;    
}

.logo {
    height: 2.75rem;
    margin-left: 25px;
}

.primary-header {
    align-items:center;
    justify-content: space-between;
    height: 6rem;
}

.primary-navigation a {
    color: #333333;
    text-decoration: none;
    font-size: 1.25rem;   
    font-weight: 600;
    padding-inline: 1rem;
}

.primary-navigation a:hover {
    color: white;
}

.scroll-icon {
    width: 2rem;
    height: 5rem;
    border-style: solid;
    border-color: white;
    border-radius: 25px;
    position: absolute;
    z-index: 1000;
    bottom: 80px;
    opacity: 0.4;
    transition: ease-in 500ms;
}

.scroll-icon[data-visible=false] {
    opacity: 0;
    transition: ease-out 500ms;
}

.scroll-inner {
    height: 1rem;
    width: 1rem;
    border-radius: 100%;
    background-color: white;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0px;
    animation: scroll 1.5s ease-in-out infinite;
}

@keyframes scroll {
    0% {
        transform: translate(-50%, 0%);
        opacity: 0;
    }
    20%, 70% {
        opacity: 1;
    }
    90%, 100% {
        transform: translate(-50%, -300%);
        opacity: 0;
    }
}

.mobile-nav-toggle {
    display: none;
}

.specialties {
    background: #e39e23; 
    color: white;
    padding: 1rem;
    font-size: 1.25rem;
}

.specialties section {
    opacity: 0.9;
}

.about-me-header {
    background: #333333;
    color: white;
    padding-left: 1rem;
    padding-top: 1rem;
    font-size: 1.25rem;
    opacity: 0.9;
}

.contact-me-header {
    background: #333333;
    color: white;
    padding-left: 2rem;
    padding-top: 1rem;
    font-size: 1.25rem;
    opacity: 0.9;
}

.card-section {
    background: #e39e23;
    color: white;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 2rem;
}

.card {
    width:200px;
    height:330px;
    margin:10px;
    font-size: 1.1rem;
    border-color: #333333;
    border-width: 2px;
    border-style: solid;
    border-radius: 10px;
    padding:10px;
}

.card h3 {
    color: #333333;;
}

.card-top-logo {
    height: 80px;
    width: auto;
    scale: fit;
    justify-content: center;
}

.card-top-background {
    display:flex;
    justify-content: center;
}

.card:hover {
    transform: scale(1.05);
    transition: 200ms ease-out;
    box-shadow: 0 0 40px -10px rgba(0,0,0,0.55);
}

.contact-me-block {
    display:flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 2rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.contact-me-card {
    position: relative;
    background-color: transparent;
    width: 50rem;
    height: 10rem;
    border-radius: 10px;
    border-color: white;
    border-style: solid;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.contact-email {
    color: white;
    font-size: 1.5rem;
    opacity: 0.9;
    width: 50%;
    height: auto;
    margin: auto;
    padding-top: 2rem;
}

.linked-in-link {
    margin: auto;
    /* padding-left: 5rem;     */
}

.linked-in-logo {
    height: 2rem;   
    padding-top: 2rem;
}

.contact-me-label {
    color: white;
    padding-left: 1rem;
    font-size: 1.25rem;
}

.contact-me-container {
    position:relative;
    display: grid;
    grid-template-areas: 
    'icon-1 label-1 label-1 label-1 a a'
    'icon-1 link-1 link-1 link-1 link-1 link-1'
    'icon-2 label-2 label-2 label-2 c c'
    'icon-2 link-2 link-2 link-2 link-2 link-2';
    padding: 10px;
    grid-column-gap: 10px;
    background-color: transparent;
    height: 10rem;
    width: 35rem;
    color: white;
    border-radius: 10px;
    border-color: white;
    border-style: solid;
    margin: auto;
    font-size: 1.3rem;
}

.contact-me-container a {
    color: white;
}

.contact-me-container a:hover, 
.contact-me-container a:active, 
.contact-me-container a:visited {
    color:white;
}

.item-1 {
    grid-area: icon-1;
}

.linked-in-image {
    height: 2rem;
}

.item-2 {
    grid-area: label-1;
}

.item-3 {
    font-size: 1rem;
    grid-area: link-1;
}

.item-4 {
    grid-area: icon-2;
    height: 1rem;
}

.email-image {
    height: 1.5rem;
}

.item-5 {
    grid-area: label-2;
}

.item-6 {
    font-size: 1rem;
    grid-area: link-2;
}

.footer {
    color: white;
    margin: 25px;
    font-size: 1rem;
}





@media (max-width: 70em) {

    .title {
        font-size: 2rem;
        padding-top: 18rem;
        padding-left: 2rem;
        padding-right: 10rem;
    }

    section {
        font-size: 1.25rem;
    }

    .logo {
        height: 2rem;
        transform: translateY(-15%);
    }

  .primary-navigation {
    inset: 0 0 0 30%;
    position: fixed;
    flex-direction: column;
    padding: min(30vh, 10rem) 2em;
    height: 100vh;
    margin-top: -2rem;
    transform: translateX(100%);
    transition: transform 350ms ease-out;

    background: hsl(0 0% 0% / 0.8);
  }

  .primary-navigation a {
    padding-inline: 0.5rem;
    color: white;
}

.about-me-section {
    font-size: 1.25rem;
    padding-inline: 3rem;
    padding-bottom: 1rem;
}

.about-me-header {
    font-size: 1rem;
}

.about-me-top-quote {
    height: 1.2rem;
    position: absolute;
    top: 90px;
    left: 20px;
    opacity: 0.5;
}

.about-me-bottom-quote {
    height: 1.2rem;
    position: absolute;
    right: 35px;
    bottom: 15px;
    transform: rotate(180deg);
    opacity: 0.5;
}

.specialties {
    font-size: 1rem;
}

.contact-me-header {
    font-size: 1rem;
}

.contact-email {
    font-size: 1.25rem;
    width: 80%;    
}

.contact-me-label {
    font-size: 1rem;
}

.contact-me-container {
    width: 20rem;
}

.item-3 {
    font-size: 0.95rem;
}

  @supports(backdrop-filter: blur(1rem)) {
    .primary-navigation {
      background: rgba(13, 13, 14, 0.4);
      backdrop-filter: blur(1rem);
    }
  }

    .primary-navigation[data-visible="true"] {
        transform: translateX(20%);
    }

    .mobile-nav-toggle {
        display: block;
        position: absolute;
        background: transparent;
        border: none;
        color: #333333;
        width: 3rem;
        height: 3rem;
        top: 1rem;
        right: 1rem;
        z-index: 9999;        
    }

    .icon-contract {
        display:none;
    }

    .icon-contract[aria-expanded="true"] {
        display: block;
    }

    .icon-expand[aria-expanded="true"] {
        display: none;
    }
}

@media (max-width:40em) {
    .title {
        font-size: 2rem;
        padding-top: 10rem;
        padding-inline: 2rem;
    }

    .about-me-section {
        font-size: 1.25rem;
    }

    .card {
        width: 150px;
        height: 380px;
        margin: 5px;        
    }
}

