
/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

/*Global*/
.container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    font-family: Arial, Helvetica, sans-serif;
    background-color: rgb(245, 240, 240);
    max-width: 1280px;
    overflow-x: hidden;
}

.black {
    color: black;
}

/*Left Showcase*/

.showcase {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    width: 100%;
    padding-top: 100px;
}

.main-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}

#header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    font-size: 70px;
    padding-bottom: 3px;
    border-bottom: 3px solid black;
    margin-bottom: 0px;
}

#under-header {
    color: grey;
}

/*Right Showcase*/

.nav {
    padding-left: 50px;
}

.links {
    list-style: none;
}

.links li {
    padding-top: 20px;
}

a {
    text-decoration: none;
    color: rgb(228, 108, 10);
    font-weight: bold;
    font-size: 20px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

a:hover {
    color: black;
}

/*Bottom Showcase*/

.bottom-text {
    padding-top: 100px;
    color: black;
}

.word {
    color:rgb(228, 108, 10);
}


/*About Me*/

.about-me {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    border-bottom: 2px solid black;
}

.about-me-header {
    color:rgb(228, 108, 10);
    padding-top: 80px;
    font-size: xx-large;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif
}

.row-1 {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

.card-container {
    width: 50%;
    height: 300px;
    background-color:rgb(245, 240, 240);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.card-about {
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    background-color: white;
    -webkit-box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
            box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    height: 70%;
    width: 70%;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    color:rgb(228, 108, 10);
    font-family: Apple Chancery;
    font-style: italic;
    text-align: center;
}

.card-about p {
    font-weight: bold;
    color:rgb(228, 108, 10);
    font-style: italic;
    font-size: large;
    padding-left: 5px;
    padding-right: 5px;
}

.card {
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    background-color: white;
    -webkit-box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
            box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    height: 70%;
    width: 70%;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    color:rgb(228, 108, 10);
    font-family: Apple Chancery;
    font-style: italic;
    max-width: 270px;
}

.card:hover {
    -webkit-box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
            box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

.image {
    width: 50%;
    height: 300px;
    -o-object-fit: contain;
       object-fit: contain;
}

/*
.image img{
    width: 100%;
    object-fit: contain;
}
*/


#school{
    height: 100%;
    width: 50%;
    background-image: url("./img/tcnjimage.jpg");
    background-position-y: center;
}

.box {
    width: 100%;
    height: 100%;
    background-color:rgb(245, 240, 240);
}

.row-2 {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
            flex-direction: row-reverse;
}

.row-3 {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    border-bottom: 2px solid black;
    height: 300px;
}

/*Sample Work*/

.sample-work {
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.sample-work-header {
    color:rgb(228, 108, 10);
    padding-top: 10px;
    font-size: xx-large;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.sample-work-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    width: 100%;
    background-color:rgb(245, 240, 240);
    border-bottom: 2px solid black;
}

.card-container-column {
    width: 400px;
    height: 400px;
    background-color:rgb(245, 240, 240);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.card-container-column a{
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 400px;
}

.card-container-column p{
    color:rgb(228, 108, 10);
}

#middle {
    margin-bottom: 20px;
    background-image: url("img/istockphoto-813293954-612x612.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position-x: center;
    color: white;
    text-align: center;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
}


#middle h2 {
    width: 50%;
}

.card-container-column p {
    font-family: Apple Chancery;
    font-style: italic;
    font-weight: bold;
    font-size: 20px;
    text-align: center;
}

#left {
    background-image: url("img/laptop-photo.jpg");
    background-repeat: no-repeat;
    background-position-x: 45%;
    background-position-y: center;
}

#left h2 {
    color: black;
    -ms-flex-item-align: center;
        -ms-grid-row-align: center;
        align-self: center;
    padding-left: 7px;
    padding-bottom: 15px;
    text-align: center;
    max-width: 50%;
}

#right {
    background-image: url("img/personal-work-background.webp");
    color:white;
}

#right h2 {
    -ms-flex-item-align: end;
        align-self: flex-end;
}

.sides {
    margin-top: 20px;
}

/*CONTACT*/

.contact {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.contact-header {
    color:rgb(228, 108, 10);
    padding-top: 10px;
    font-size: xx-large;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.contact-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    width: 100%;
}

.contact-list ul {
    list-style: none;
    text-align: center;
    padding-left: 17px;
}

.contact-list li {
    padding-bottom: 15px;
    color:rgb(228, 108, 10);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold;
    font-size: 20px;
}

@media only screen and (max-width: 1270px) {
    .image img{
        width: 100%;
        -o-object-fit: contain;
           object-fit: contain;
    }

    .image {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
    }

    .sample-work-row {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
    }

    .card-container-column {
        width: auto;
        height: auto;
    }

}

@media only screen and (max-width: 768px) {
    * {
        overflow-x: hidden;
    }
    
    .showcase {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }

    .nav {
        padding: 0px;
    }

    .links {
        text-align: center;
        padding: 0;
    }

    .bottom-text {
        text-align: center;
    }
    
    .row-1, .row-2, .row-3 {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        height: auto;
    }

    .about-me-container img, .image {
        display: none;
    }

    .card-container {
        height: auto;
        width: auto;
        padding-bottom: 15px;
        padding-top: 15px;
    }

    .sample-work-row {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
    }

    .card-container-column a{
        height: auto;
    }
}
