/* ----- CORE CSS ----- */
*, *:after, *:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}  
html {
    /*min-height: 100%;*/
    /*min-width: 100%;*/
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}
body {
    min-height: 100vh;
    margin: 0;
    color: rgb(51, 51, 51);
    font-size: 1.2rem;
}

/* ------ Typography ------ */
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    color: rgb(3, 55, 55);
    text-wrap: balance;
}
h1 {font-size: 2.4rem;}
h2 {font-size: 1.3rem;}
h3 {font-size: 1.25rem;}
h4 {font-size: 1.2rem;}
h5 {font-size: 1.125rem;}  
h6 {font-size: 1rem;}
p {margin-block: .25rem;}
strong, b {font-weight: 600;}
main p, li, figcaption { max-width: 75ch; text-wrap: pretty;}
/* ------ Links ------ */
a {
    text-decoration: underline;
    word-wrap: break-word;
    font-weight: 500;
    color: rgb(102, 51, 153);
	cursor: pointer;
}
a:hover {text-decoration: none;}
a:focus-visible {
    outline: medium dashed rgb(0, 128, 128);
}

/* -------------------- Starter Website CSS -------------------- */
p a {text-decoration: underline;}
ul, ol {list-style: none;}
li a {font-size: 1.1rem; font-weight: 600; text-decoration: none; padding: 1rem;}
img {
    display: block;
    width: 100%;
    height: auto;
}
/* -------- Layout CSS -------- */
header {
    grid-area: head;
}
main {
    grid-area: main;
}
footer {
    grid-area: footer;
}
 body {
    display: grid;
    width: 100%;
    height: auto;
    grid-template-areas:  
            "head"
            "main"
            "footer";
}
header {
    display:flex;
    flex-direction: row;
    flex-wrap: wrap;
    height: auto;
    color: rgb(61, 61, 61);
    background-color: rgb(80, 79, 129);
    min-height: 110px;
    /*padding: .5rem;*/
}
/* ----- Navigation ----- */
nav {
    align-self: center;
    width: 100%;
    justify-content: end;
    padding: 0;
    margin: 0;
}

nav ul {
    display: flex;
    flex-wrap: wrap;
    min-height: 50px;
    justify-content: space-around;
}
nav li {
    display: flex; 
}
nav a {
    font-size: 1.3rem;
    padding: .8rem 1rem;  
}
nav a:link { 
    color: rgb(255, 255, 255); 
}
nav a:visited {       
    color: rgb(255, 255, 255);
}
nav a:hover {
    color: rgb(80, 79, 129);
    background-color: rgb(255, 255, 255);
    transition: all 0.4s ease-in-out;
}
nav a:focus { 
    color: rgb(80, 79, 129);
    background-color: rgb(255, 255, 255);
    outline: transparent;
    
}
nav li .active {
    color: rgb(3, 55, 55);
    background-color: rgb(188, 188, 221);
}
.logo {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
    align-items: center;
    padding-bottom: .5rem;
    justify-content: center;
}
.logo_img img {
    max-width: 150px;
    height: auto;
    margin-left: .5rem;
}
.logo a {
    display: flex;
    text-decoration: none;
}
.title {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.sitename {
    font-size: 2.4rem;
    font-weight: 600;
    margin: 0;
    padding: .5rem 1rem;
    line-height: 1;
    color: rgb(255, 255, 255);
    letter-spacing: .1rem;
}
.sitename span {
    color: rgb(255, 224, 0);
}
.strap {
    color: rgb(255, 255, 255);
    font-size: 1.2rem;
    line-height: 1;
    margin: 0;
}
@media only screen and (min-width: 48em) { /* 768px */
    .logo {
        width: 50%;
        padding-bottom: 0;
        justify-content: start;
    }
    nav {
        width: 50%;
		padding-left: .5rem;
    }
}

/* -------- Main Layout -------- */
main {
    display: grid;
    /*min-height: calc(100vh - 306px);*/
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto;
}
/* -------- Panel Options -------- */
.panel_bg_dark {
    background-color: rgb(188, 188, 221);
    height: 100%;
}

.title_panel {
    grid-column: span 12;
    grid-row: auto;
    display: flex;
    flex-direction: column;
    align-self: flex-start;
    align-items: center;
    padding: .5rem 1rem;
}

/* -------- full panel (100% accross) -------- */

.content_panel_full {
    grid-column: span 12;
    grid-row: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-self: flex-start;
    justify-content: center;
    padding: .5rem 1rem;
}

/* -------- Content panels (100% accross in mobile) -------- */

.content_panel_half,
.content_panel_large,
.content_panel_small {
    grid-column: span 12;
    grid-row: auto;
    display: flex;
    flex-direction: column;
    align-self: flex-start;
    padding: .5rem 1rem;
}

/* -------- Text Panels (100% accross in mobile) -------- */

.text_panel_full,
.text_panel_exlarge,
.text_panel_large,
.text_panel_half {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-self: center;
}

/* -------------------- Image Options -------------------- */

.large_img {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: flex;
    margin: 1rem;
}
.small_img {
    width: 20%;
    max-width: 300px;
    min-width: 220px;
    height: auto;
    display: flex;
    margin: 1rem;
}
.large_img img,
.small_img img {
    width: 100%;
    height: auto;
}
.in_text_img_left {
    float: left;
    padding: .8rem .5rem;
}
.in_text_img_right {
    float: right;
    padding: .8rem .5rem;
}
@media only screen and (min-width: 48em) { /* 768px */

    /* -------- full panel (100% accross) -------- */

    .content_panel_full {
        grid-column: span 12;
        grid-row: auto;
        display: flex;
        flex-direction: row;
        align-self: flex-start;
        flex-wrap: wrap;
        align-items: flex-start;
    }

    /* -------- large panel (70% accross) -------- */

    .content_panel_large {
        grid-column: span 8;
        grid-row: auto;
        display: flex;
        flex-direction: column;
        align-self: flex-start;
    }

    /* -------- half panel (50% accross) -------- */

    .content_panel_half {
        grid-column: span 6;
        grid-row: auto;
        display: flex;
        flex-direction: column;
        align-self: flex-start;
    }
    /* -------- small panel (30% accross) -------- */

    .content_panel_small {
        grid-column: span 4;
        grid-row: auto;
        display: flex;
        flex-direction: column;
        align-self: flex-start;
    }
    /* -------- Text Panels (100% accross in mobile) -------- */

    .text_panel_full {
        width: 100%;
    }
    .text_panel_exlarge {
        width: 80%;
    }
    .text_panel_large {
        width: 70%;
    }
    .text_panel_half {
        width: 50%;
    }
    /* -------------------- Image Options -------------------- */

    .large_img {
        width: 50%;
    }
}

/* -------- Sitemap panel -------- */

.sitemap_panel {
    grid-column: 2 / 12;
    grid-row: auto;
    display: flex;
    flex-flow: wrap;
    align-items: center;
    justify-content: center;
}
.site_link {
    display: flex;
    width: 90%;
    color: rgb(255, 255, 255);
    background: rgb(3, 55, 55);
    margin: 0.5rem 0.2rem;
    justify-content: center;
}
.site_link a {
    color: rgb(255, 255, 255);
    display: flex;
    width: 100%;
    height: 100%;
    font-size: 1.3rem;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}
.site_link a:hover {
    color: rgb(3, 55, 55);
    background-color: rgb(188, 188, 221);
}
@media screen and (min-width: 658px) {
    .site_link {
        width: 32%;
    }
    .sitemap_panel {
        justify-content: space-around;
    }
}
/* -------------------- Card Panel Options -------------------- */
.card_panel {
    grid-column: span 12;
    grid-row: auto;
    display: flex;
    flex-direction: row;
    flex-flow: wrap;
    justify-content: space-around;
    padding: 1rem;
}
.card_link {    
    display: flex;
    justify-content: center;
    align-items: center;
}

/* -------- Card JD Card Panel -------- */

.card_jd {
    display: flex;
    flex-direction: column;
    width: 85%;
    height: auto;
    align-items: center;
    justify-content: space-between;
    margin: 0 .3rem 1rem;
    box-shadow: 0px 1px 6px rgb(86 65 95);
}
.card_jd .card_title {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: .5rem 1rem;
    align-items: center;
    min-height: 71px;
    justify-content: center;
}
.card_jd h2 {
    color: #fff;
    font-size: 1.3em;
    text-align: center;
}
.card_jd a {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    width: 100%;
}
.card_img {
    padding: .5rem 0 0;
}
.card_link {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.hosting-bg {
    background-color: rgb(0, 128, 128);
}
.webdev-bg {
    background-color: rgb(109, 114, 157);
}
.websites-bg {
    background-color: rgb(139, 102, 139);
}
@media screen and (min-width: 580px) {
    
    .card_jd {
    width: 32%;
    min-width: 265px;
    max-width: 450px;
    }
    .card_jd h2 {
        font-size: 1.1em;
    }
}
/* -------- Card Option 5 -------- */
.card_5 {
    display: flex;
    flex-direction: column;
    width: 30%;
    min-width: 265px;
    max-width: 350px;
    align-items: center;
    justify-content: space-between;
    border-radius: 25px;
    padding: 0 0 .5rem;
    margin: 0 .3rem 1rem;
    box-shadow: 0px 1px 6px rgb(86, 65, 95);
}
.card_5 .card_title {
    display: flex;
    flex-direction: row;
    width: 100%;    
    justify-content: center;
}
.card_5 h2 {
    font-size: 1.5rem;
	padding: 0 .5rem;
	text-align: center;
}
.card_title_img {
    width: 100%;
    height: auto;
    max-height: 300px;
    border-radius: 25px 25px 0 0;
	padding: 0 .5rem;
}
.card_text {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: .5rem;
}
.card_list {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: .5rem;
}
.card_list li {
    list-style: square inside;
}
.card_button {
    border: solid 2px rgb(80, 79, 129);
    border-radius: 8px;
    color: rgb(102, 51, 153);
    background-color: white;
    padding: .8rem;
    text-align: center;
}
.card_button:hover {
    border-radius: 8px;
    color: rgb(255, 255, 255);
    background-color: rgb(80, 79, 129);
    padding: .8rem;
    text-align: center;
}
.card_button:hover a{
    color: rgb(255, 255, 255);
}
/* -------- CTA panels -------- */

.cta_panel {
    grid-column: span 12;
    grid-row: span 1;
    display: flex;
    flex-direction: column;
    color: rgb(3, 55, 55);
    background-color: rgb(243, 241, 243);
    align-items: center;
    justify-content: center;
    padding: .5rem;
}
.cta_panel p:first-of-type {
    color: rgb(3, 55, 55);
    font-size: 1.3em;
    font-weight: 700;
}
.cta_button {
    background-color: rgb(255, 255, 255);
    border-radius: 8px;
    color: rgb(102, 51, 153);
    padding: .5rem;
    text-align: center;
}
.cta_button:hover {
    border-radius: 8px;
    color: rgb(3, 55, 55);
    background-color: rgb(80, 79, 129);
    padding: .5rem;
    text-align: center;
}
.plsnote { 
    background-color: rgb(248, 248, 255);
    border-left: 10px solid rgb(255, 224, 0);
    padding: .5rem .5rem .5rem 1rem;
}

/* -------------------- Contact Form Full Page -------------------- */

.contact_form_halfpage {
    grid-column: span 12;
    grid-row: auto;
    justify-self: center;
    display: flex;
    flex-direction: column;
    align-self: flex-start;
    align-items: center;
    width: 100%;
    height: auto;
}
form {    
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    padding: .5rem;
    width: 80%;
    height: auto;
    max-width: 600px;
}
label {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: rgb(3, 55, 55);
	cursor: pointer;
    width: 100%;
	padding: .5rem 0;
}
input[type],
input[list],
textarea,
select {
    font-size: 16px;
    width: 100%;
    height: auto;
    outline: 0;
    padding: 15px;
    border: 2px solid rgb(188, 188, 221);
    border-radius: 5px;
	margin-bottom: 1rem;
}
input[type="text"],
input[type="email"],
textarea {
    box-shadow: 2px 2px 8px 1px rgba(138,165,182, .3) inset;
}
input[type="email"] {
	width: 100%;
}
input:focus,
textarea:focus,
select:focus {
	outline: none;
	border-color: rgb(3, 55, 55);
}
/* input[required],
textarea[required] {
	border-color: rgb(80, 79, 129);
    box-shadow: 2px 2px 8px 1px rgba(138,165,182, .3) inset;
} */
button,
input[type="button"],
input[type="submit"] {
    width: max-content;
    font-size: 16px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight: 600;
    background-color: rgb(188, 188, 221); 
    border: solid 1px rgb(80, 79, 129);
    color: rgb(3, 55, 55);
    border-radius: 8px;
    padding: .8rem;
    text-align: center;
	cursor: pointer;
	margin-right: 1rem;
}
button:hover,
button:focus,
input[type="submit"]:hover,
input[type="submit"]:focus  {
    border-radius: 8px;
    color: rgb(255, 255, 255);
    background-color: rgb(80, 79, 129);
    padding: .8rem;
    text-align: center;
}
button:active,
input[type="button"]:active,
input[type="submit"]:active {
    border-radius: 8px;
    color: rgb(3, 55, 55);
    background-color: rgb(80, 79, 129);
    padding: .8rem;
    text-align: center;
}
.error {
    color: rgb(220, 20, 60);
}
form p {
    width: 50%;
}
@media only screen and (min-width: 48em) { /* 768px */
    .contact_form_halfpage {
        grid-column: span 6;
    }
}

/* ------ Info Messages ------ */
.feedback {
    background-color: rgb(255, 255, 204);
    padding: 0.125em 1em;
    margin: 1em 0;
    border-top: 0.125em solid rgb(204, 204, 153);
    border-radius: 0.25em;
}
.error-message {
    background-color: rgb(255, 204, 204);
    border-color: rgb(204, 153, 153);
}
/* -------------------- Footer -------------------- */

footer {
    display: flex;
    flex-wrap: wrap;
    color: rgb(255, 255, 255);
    background-color: rgb(80, 79, 129);
    /*padding: 1rem 1rem 0;*/
}
footer {
    justify-content: center;
    align-content: center;
}
footer a {
    color: rgb(255, 255, 255);
}
.social {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
}
.social a {
    color: rgb(255, 255, 255);
    text-decoration: underline;
    padding: .8rem;
}
.social a:hover {
    text-decoration: none;
}
.footer_menu  {
    display: flex;
    width: 100%;
}
.footer_menu ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-evenly;
    align-items: center;
    padding: 0;
    margin-block: 0;
}
.footer_menu li {
    justify-items: center;
    padding: .8rem;
}
.footer_menu li a {
    font-size: 1.3rem;
    text-decoration: none; 
    padding: .8rem;
}
.footer_menu a:link { 
    color: rgb(255, 255, 255); 
}
.footer_menu a:visited,
.footer_menu2 a:visited {
    color: rgb(255, 255, 255); 
}
.footer_menu a:hover {
    color: rgb(80, 79, 129);
    background-color: rgb(243, 241, 243);
    text-decoration: none;
}
.footer_menu a:focus { 
    color: rgb(3, 55, 55);
}
.footer_menu li .active {
    color: rgb(80, 79, 129);
    background-color: rgb(255, 255, 255);
}
.copyright {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: center;
}

.jdbadge img {
    display: inline-block;
    max-width: 125px;
    height: auto;
}

@media only screen and (min-width: 48em) { /* 768px */
    .social {
        width: 30%;
    }
    .footer_menu  {
        width: 70%;
    } 
}
/*@media screen and (min-width: 280px) {*/
/*    html {*/
/*      font-size: calc(14px + 4 * ((100vw - 320px) / 680));*/
/*    }*/
/*}*/