:root{
    --mainColor: #eaeaea;
    --secondaryColor: #fff;

    --borderColor: #c1c1c1;

    --mainText: black;
    --secondaryText: #2b2e31;

}

html, body {
    padding: 0;
    margin: 0;
    transition: background .5s ease;
    scroll-behavior: smooth;
}

h1,h2,h3,h4,h5,h6, strong{
    color: var(--mainText);
}


h1,h4{
    font-family: 'Roboto Slab';
}

p{
    font-family: Georgia, 'Times New Roman', Times, serif;
}


p, li, span, label, input, textarea {
    color: var(--secondaryText);
}


/*** HEADER ***/
header {
    background-color: white;
    padding: 1em;
    overflow: auto;
    text-align: center;
}
header ul{
    margin: 0;
	display: flex;
	justify-content: center;
}

header a{
    padding-left: 4rem;
	padding-right: 4rem;
    font-size: 24px;
    text-decoration: none;
    
}
header a:visited{
    color: var(--mainText)
}
header a:hover {
	text-decoration: underline;
}


ul {
    list-style: none;
}


/*** Outer Border behind skill cards***/
.outer-container {
    width: 1400px;
    margin: 0 auto;
    background-color: #eaeaea;
    overflow: auto;
}

.s1 {    
    overflow: auto;
}

.s2 {
    overflow: auto;
}




/*** Main container size of skill cards/main column all the way down ***/
.main-container {
    width: 1200px;
    margin: 0 auto;
    padding-bottom: 2em;
    border-radius: 2em;
}


/*** Welcome section... The Hi Im Brian McCabe part ***/
.welcome-wrapper{
    display: grid;
    align-items: center;

    grid-template-columns: 1fr 1fr;
    grid-template-areas: 
        'left-welcome' 'right-welcome'
    ;
    border-radius: 2em;

    height: 500px;
}


.left-welcome {
    width: 600px;
    float: left;
}

.right-welcome {
    display: flex;
    width: 600px;
    float: right;
    justify-content: center;
    align-content: center;
}

/***.welcome-wrapper{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 500px;

}

.welcome-text {
    text-align: center;
}***/


/*** Skills wrapper ... the styling for the card with my face and skills ***/
.skills-wrapper {
    background-color: var(--secondaryColor);


    display: grid;
    /*text-align: center;*/
    align-content: center;

    grid-template-columns: 1fr 1fr;
    grid-template-areas: 
        'left-column right-column'
    ;

    border-radius: 2em;
    /*padding-bottom: 2em;
    padding-top: 2em;*/
    padding: 1em;
    margin-top: 1em;
}



.left-column{
    grid-area: left-column;
    display: flexbox;
    align-items: center;
    text-align: center;
}

.right-column{
    grid-area: right-column;
    
}


#profile_image {
    display: block;
    margin: 0 auto;


    font-size: 24px;
    border: 10px solid black;
    min-height: 3em;
    max-height: 10em;
    object-fit: contain;
    /*resize: both;*/
    background: linear-gradient(to top, rgba(#cffffe, 0.3), rgba(#f9f7d9, 0.3), rgba(#fce2ce, 0.3), rgba(#ffc1f3, 0.3));
    border-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='100' height='100' viewBox='0 0 100 100' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3ClinearGradient id='g' x1='0%25' y1='0%25' x2='0%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23cffffe' /%3E%3Cstop offset='25%25' stop-color='%23f9f7d9' /%3E%3Cstop offset='50%25' stop-color='%23fce2ce' /%3E%3Cstop offset='100%25' stop-color='%23ffc1f3' /%3E%3C/linearGradient%3E %3Cpath d='M1.5 1.5 l97 0l0 97l-97 0 l0 -97' stroke-linecap='square' stroke='url(%23g)' stroke-width='3'/%3E %3C/svg%3E") 1
}

/*** Skills list used for the skills card and the project card ***/
.skills-list{
    justify-content: space-evenly;
    text-align: center;
    list-style-type: none;
	padding: 0;
	margin: 0;
}

.skills-list  li {
    display: inline-block;
    border: 1px solid;
	border-radius: 7rem;
	font-family: Consolas, Monaco, 'Courier New', Courier, monospace;
    font-size: .8rem;
	text-transform: lowercase;
	padding: 0.4rem 0.8rem;
	margin-right: 0.4rem;
    margin-bottom: 0.8rem;
}


/*** Project wrapper ... the styling for each project card***/
.project-wrapper {
    background-color: var(--secondaryColor);
    display: grid;
    
    align-content: center;

    grid-template-columns: 1fr 1fr;
    grid-template-areas: 
        'left-column right-column'
    ;
    border-radius: 2em;
    /*padding-bottom: 1em;
    padding-top: 1em;*/
    padding: 1em;
    margin-top: 1em;
}


.project-image {
    display: block;
    margin: 0 auto;

    width: 500px;
    max-height: 400px;
    object-fit: contain;

    border-radius: 10px;
	box-shadow: 0 0 10px 0 #000;
}


/*** All for the image carousel/slideshow on the C-server***/
.carousel-image {
    display: block;
    margin: 0 auto;

    width: 500px;
    height: 400px;
    object-fit: contain;

    border-radius: 10px;
	box-shadow: 0 0 10px 0 #000;
	/*opacity: 0.5;*/

}

.carousel-container {
    max-width: 400px;
    position: relative;
    margin: auto;
}

.mySlides {
    display: none;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: black;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}


/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev{
    left: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}
  
.numbertext {
    color: #000000;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    bottom: 0;
    right: 45%;
}


/*** For the video for the rubiks cube***/
.project-video{
    border-radius: 10px;
	box-shadow: 0 0 10px 0 #000;
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

footer{
    text-align: center;
    color: var(--secondaryColor);
}
footer p {
    color: var(--secondaryColor);
}

footer a:visited{
    color: var(--secondaryColor);
}

.contact-icon {
    font-size: 3em;
    margin: .5em;
}



@media screen and (max-width: 1200px) {
    .main-container{
        width: 95%;
    }
}