  @import url('https://fonts.googleapis.com/css2?family=Courier+Prime&display=swap');

  :root {
    --color1: #2E4057;
    --color2: #746658;
    --color3: #3D799E;
    --color4: white;
    --color5: #323838;
    --color6: black;
  }

  html, body{
 
    height: 100%;
  }

* {
    margin:0;
    padding:0;
    box-sizing: border-box;
    font-family: 'Courier Prime', monospace;
}

a {
    text-decoration: none;
}
ul{
    list-style: none;
}

/* Header */
    .header{
        background-color: var(--color1);
        box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.5);
        position: sticky;
        top:0;
        width: 100%;
        z-index: 9999;
    }

/* Logo */
.logo{
    font-family: 'Courier New', Courier, monospace;
    display:inline-block;
    color: var(--color4);
    font-size:60px;
    margin-left: 10px;
}

/* Nav Menu */
.nav {
    top: 82px;
    width:100%;
    height:100%;
    position: fixed;
    background-color: var(--color1);
    overflow: hidden;
}
.menu a {
    display:block;
    padding:30px;
    color: var(--color4);
}
.menu a:hover {
    background-color: var(--color3);
}
.nav {
    max-height: 0;
    transition: max-height .5s ease-out;
}

/* Menu Icon */ 
.hamb{
    cursor: pointer;
    float: right;
    padding: 40px 20px;
}

.hamb-line {
    background: var(--color4);
    display:block;
    height: 2px;
    position: relative;
    width: 24px;
}

.hamb-line::before,
.hamb-line::after {
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    width: 100%;
    background: var(--color4);
    transition: all .2s ease-out;
}
.hamb-line::before{
    top: 5px;
}
.hamb-line::after{
    top: -5px;
}

.side-menu{
    display: none;
}

/* Toggle Menu Icon */
.side-menu:checked ~ nav {
    max-height:100%;
}

.side-menu:checked ~ .hamb .hamb-line {
    background: transparent;
}

.side-menu:checked ~ .hamb .hamb-line::before{
    transform: rotate(-45deg);
    top: 0;
}

.side-menu:checked ~ .hamb .hamb-line::after{
    transform: rotate(45deg);
    top: 0;
}

/* Hero Image */
.Hero-image {
    height: 65%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('file:///C:/Users/Legol/Documents/Website%20Stuff/Site/Images/pexels-hitarth-jadhav-220357.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-image-h1 {
    width: 75%;
    font-size: em;
    text-align: center;
    color: var(--color4);
    text-shadow: 3px 0px 3px black;
    
}

.swipe {
    display: flex;
    padding: 20px 40px;
    gap: 40px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

.card {
    width: calc( 100vw - 80px );
    flex-shrink: 0;
    scroll-snap-align: center;
    display:flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    padding: 20px;
    aspect-ratio: 1/1;
    flex-shrink: 0;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(225,225,225) rgb(200,200,200) rgb(225,225,225) rgb(200,200,200); 
    box-shadow: 0px 2px 4px rgba(0,0,0,0.5);
    background-size: cover;
    background-position: center center;
}

.swipe .card {
    background-image: linear-gradient(rgba(255,255,255,0) 40%, rgba(255,255,255,0.9) 80%), url('file:///C:/Users/Legol/Documents/Website%20Stuff/Site/Images/How%20I%20Do%20It%20Pic.jpg');
}

.swipe .card:first-child {
    background-image: linear-gradient(rgba(255,255,255,0) 40%, rgba(255,255,255,0.9) 80%), url('file:///C:/Users/Legol/Documents/Website%20Stuff/Site/Images/What%20I%20Do%20Pic.jpg');
}

.swipe .card:last-child {
    background-image: linear-gradient(rgba(255,255,255,0) 40%, rgba(255,255,255,0.9) 80%), url('file:///C:/Users/Legol/Documents/Website%20Stuff/Site/Images/Hire%20me%20pic.jpg');
}

.card h2, .card p {
    text-align: center;
}


.card a { 
    bottom: 0;
    text-align: center;
    padding: 10px 20px;
    background-color: var(--color1);
    border-radius: 5px;
    color: white;
    margin: 10px;
}

.card a:hover {
    background-color: var(--color3);
}

a.btn {
    display: block;
    text-align: center;
    padding: 10px 20px;
    background-color: var(--color1);
    border-radius: 5px;
    color: white;
    margin: 10px;
    width: fit-content;
}

a.btn:hover {
    background-color: var(--color3);
}
footer {
    padding: 7px;
    background-color: #333333;
    color: white;
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: #666666;
    box-shadow: -2px 0px 4px rgba(0,0,0,0.5);
}


@media (min-width: 768px) {
    .nav{
    max-height: none;
    top: 0;
    position: relative;
    float: right;
    width: fit-content;
    background: transparent;
    }
    .menu li {
        float: left;
    }
    .menu a:hover {
        background-color: transparent;
        color: var(--color3);
    }
    .hamb {
        display: none;
    }

    .swipe{
        padding: 30px 60px;
        gap: 60px;
    }

    .card {
        width: calc( 50vw - 90px );
    }
}

@media (min-width: 1200px) {
    .swipe {
        padding: 40px 80px;
        gap: 80px;
    }

    .card {
        width: calc( (100vw - 280px) / 3);
    }
}

/* Hire Me Page */
    .Hire_Me {
        font-size: 3em;
        text-align: center;
        padding-top: 5%;
    }

    .Hire_Me_intro {
        font-size: 2em;
        text-align: center;
        padding: 2% 20% 0% 20%;
    }

    a.Phone_btn {
        display: block;
        text-align: center;
        padding: 10px 20px;
        background-color: var(--color1);
        border-radius: 5px;
        color: white;
        margin: 10px;
        width: fit-content;
    }

    a.Phone_btn:hover {
        background-color: var(--color3);
    }

    a.Email_btn {
        display: block;
        text-align: center;
        padding: 10px 20px;
        background-color: var(--color1);
        border-radius: 5px;
        color: white;
        margin: 10px;
        width: fit-content;
    }

    a.Email_btn:hover {
        background-color: var(--color3);
    }

    .Phone_and_Email_Clipart {
        display:inline-flex;
        float: right;
        max-width: 20%;
    }