/*----------------------------------------------------------- Start Main Code------------------------------------------------ */

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Navbar */
li {
    display: block;
    float: left;
}

ul {
    list-style-type: none;
    display: inline-flex;
    margin: 0;
    padding: 0;
    justify-content: space-between;

}

#navbar {
    list-style-type: none;
    margin-left: 0px;
    background-color: #CCCCCC;
    position: fixed;
    justify-content: space-between;
    top: 0;
    height: auto;
    width: 100vw; 
    align-items: center;
    margin-left: -8px;
    
}

li a {
    display: block;
    text-align: center;
    padding: 2.5vw 11.5vw;
    color: black;
    text-decoration: none;
}

li a:link {
    color:black;
}
li a:hover {
    background-color: white;
}


/* Image Sizes */
.spinninglogo {
    width: 35px;
    height: auto;
}

.infographic1,.infographic2,.campagneposter {
    max-width: 80px;
    height: auto;
    margin: auto;
}

.infographic1Project,.infographic2Project,.campagneposterProject {
    width: 500px;
    height: auto;
}

.mailicon,.instaicon,.twittericon {
    width: 30px;
    height: auto;
}


/* Text Aligns */
h1 {
    text-align: center;
}

h3 {
    text-align: center;
}



/* Hero text margin */
.homepageHero {
    margin-top: 150px;
    margin-bottom: 0px;
}


/* Font Family's*/
body{
    color: white;
    font-family: "Helvetica", sans-serif;
}

h3 {
    color: black;
    font-weight: normal;
}

h1 {
    font-size: 60px;
    color: black;
    font-weight: normal;
}

li {
    font-size: 13px;
    color: black;
    font-weight: bold;
}


/* Grids*/


/* Top of page Projects Grids */
.container1,.container2,.container3 {
    display: grid;
    grid-template-columns: repeat (12, 1fr);
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    grid-gap: 0px;
    background-color: white;
    grid-auto-rows: 40px;
    padding: 0rem;
    padding-top: 20px;
    max-width: 1000px;
}


/* Bottom of page Project Grids */
.projectcontainer1,.projectcontainer2,.projectcontainer3 {
    display: grid;
    grid-template-columns: repeat (12, 1fr);
    margin-bottom: 400px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 400px;
    grid-gap: 0px;
    background-color: white;
    grid-auto-rows: 40px;
    padding: 0rem;
    padding-top: 100px;
    max-width: 1000px;
}


/* About & Contact Grids */
.container4,.container5 {
    display: grid;
    grid-template-columns: repeat (12, 1fr);
    margin-bottom: 220px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 220px;
    grid-gap: 0px;
    background-color: white;
    grid-auto-rows: 40px;
    padding: 0rem;
    padding-top: 250px;
    max-width: 1000px;
}




/* Card Allignment Top ProjectContainer 1 */
.container1 .card:nth-child(1) {
    /* Image */
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row: 1/4;
    border-left: 3px solid black;
    border-top: 3px solid black;
    border-bottom: 3px solid black;
    background-color: rgba(45, 41, 41, 1);

}

.container1 .card:nth-child(1):hover img {
    /* Image transform on mouse hover */
    transform: scale(1.1);
    transition: 0.2s ease;
}

.container1 .card:nth-child(2) {
    /* Header */
    grid-column-start: 2;
    grid-column-end: 11;
    grid-row: 1 / 3;
    background-color: rgba(45, 41, 41, 1);
    border-top: 3px solid black;
    padding-left: 0px;
    padding-top: 0px;
    padding-bottom: 40px;
    font-weight: bold;
}

.container1 .card:nth-child(3) {
    /* Text */
    grid-column-start: 2;
    grid-column-end: 11;
    grid-row: 3/ 4;
    background-color: rgba(45, 41, 41, 1);
    border-bottom: 3px solid black;
    padding-left: 0px;
}

.container1 .card:nth-child(4) {
    /* Button */
    grid-column-start: 9;
    grid-column-end: 11;
    grid-row: 3/ 4;
    background-color: black;
    padding: 10px 20px;
    text-align: center;
}

.container1, a:link {
    color:white;
}

.container1 a:visited {
    color:white;
}

.container1 a:hover {
    color:red;
    text-decoration: underline;
}


/* Card Allignment Top ProjectContainer 2 */
.container2 .card:nth-child(1) {
    /* Image */
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row: 1/4;
    border-left: 3px solid black;
    border-top: 3px solid black;
    border-bottom: 3px solid black;
    background-color: rgba(45, 41, 41, 1);
}

.container2 .card:nth-child(1):hover img {
    /* Image transform on mouse hover */
    transform: scale(1.1);
    transition: 0.2s ease;
}

.container2 .card:nth-child(2) {
    /* Header */
    grid-column-start: 2;
    grid-column-end: 11;
    grid-row: 1/ 4;
    background-color: rgba(45, 41, 41, 1);
    border-top: 3px solid black;
    padding-left: 0px;
    padding-top: 0px;
    font-weight: bold;
}

.container2 .card:nth-child(3) {
    /* Text */
    grid-column-start: 2;
    grid-column-end: 10;
    grid-row: 3/ 4;
    background-color: rgba(45, 41, 41, 1);
    border-bottom: 3px solid black;
    padding-left: 0px;
}

.container2 .card:nth-child(4) {
    /* Button */
    grid-column-start: 9;
    grid-column-end: 11;
    grid-row: 3/ 4;
    background-color: black;
    padding: 10px 20px;
    text-align: center;
}

.container2, a:link {
    color:white;
}

.container2 a:visited {
    color:white;
}

.container2 a:hover {
    color:red;
    text-decoration: underline;
}


/* Card Allignment Top ProjectContainer 3 */
.container3 .card:nth-child(1) {
    /* Image */
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row: 1/4;
    border-left: 3px solid black;
    border-bottom: 3px solid black;
    border-top: 0px solid black;
    background-color: rgba(45, 41, 41, 1);
}

.container3 .card:nth-child(1):hover img {
    /* Image transform on mouse hover */
    transform: scale(1.1);
    transition: 0.2s ease;
}

.container3 .card:nth-child(2) {
    /* Header */
    grid-column-start: 2;
    grid-column-end: 11;
    grid-row: 1 / 3;
    background-color: rgba(45, 41, 41, 1);
    border-top: 3px solid black;
    padding-left: 0px;
    padding-top: 0px;
    font-weight: bold;
}

.container3 .card:nth-child(3) {
    /* Text */
    grid-column-start: 2;
    grid-column-end: 9;
    grid-row: 3/ 4;
    background-color: rgba(45, 41, 41, 1);
    border-bottom: 3px solid black;
    padding-left: 0px;
}

.container3 .card:nth-child(4) {
    /* Button */
    grid-column-start: 9;
    grid-column-end: 11;
    grid-row: 3/ 4;
    background-color: black;
    padding: 10px 20px;
    text-align: center;
    display: inline-block;
}

.container3, a:link {
    color:white;
}

.container3 a:visited {
    color:white;
}

.container3 a:hover {
    color:red;
    text-decoration: underline;
}


/* Card Allignment Bottom ProjectContainer 1 */
.projectcontainer1 .card:nth-child(1) {
    /* Header */
    grid-column-start: 6;
    grid-column-end: 6;
    grid-row: 1/3;
    border-left: 3px solid black;
    border-top: 3px solid black;
    background-color: rgba(45, 41, 41, 1);
    color: white;
    text-align: center;
    font-weight: bold;
}

.projectcontainer1 .card:nth-child(2) {
    /* Image */
    grid-column-start: 1;
    grid-column-end: 6;
    grid-row: 1/20;
    border-left: 3px solid black;
    border-top: 3px solid black;
    border-bottom: 3px solid black;
    background-color: rgba(45, 41, 41, 1);
}

.projectcontainer1 .card:nth-child(3) {
    /* Text */
    grid-column-start: 6;
    grid-column-end: 6;
    grid-row: 3/20;
    border-left: 3px solid black;
    border-bottom: 3px solid black;
    background-color: rgba(45, 41, 41, 1);
    padding-top: 90px;
    padding-left: 5px;
    padding-right: 5px;
    line-height: 1px;
    display: inline-block;
    vertical-align: left;
    line-height: 40px;
    text-align: left;
}


/* Card Allignment Bottom ProjectContainer 2 */
.projectcontainer2 .card:nth-child(1) {
    /* Header */
    grid-column-start: 6;
    grid-column-end: 6;
    grid-row: 1/3;
    border-left: 3px solid black;
    border-top: 3px solid black;
    background-color: rgba(45, 41, 41, 1);
    color: white;
    text-align: center;
    font-weight: bold;
}

.projectcontainer2 .card:nth-child(2) {
    /* Image */
    grid-column-start: 1;
    grid-column-end: 6;
    grid-row: 1/20;
    border-left: 3px solid black;
    border-top: 3px solid black;
    border-bottom: 3px solid black;
    background-color: rgba(45, 41, 41, 1);
}

.projectcontainer2 .card:nth-child(3) {
    /* Text */
    grid-column-start: 6;
    grid-column-end: 6;
    grid-row: 3/20;
    border-left: 3px solid black;

    border-bottom: 3px solid black;
    background-color: rgba(45, 41, 41, 1);
    padding-top: 90px;
    padding-left: 5px;
    padding-right: 5px;
    line-height: 1px;
    display: inline-block;
    vertical-align: left;
    line-height: 40px;
    text-align: left;
}


/* Card Allignment Bottom ProjectContainer 3 */
.projectcontainer3 .card:nth-child(1) {
    /* Header */
    grid-column-start: 6;
    grid-column-end: 6;
    grid-row: 1/3;
    border-left: 3px solid black;
    border-top: 3px solid black;
    background-color: rgba(45, 41, 41, 1);
    color: white;
    text-align: center;
    font-weight: bold;
}

.projectcontainer3 .card:nth-child(2) {
    /* Image */
    grid-column-start: 1;
    grid-column-end: 6;
    grid-row: 1/20;
    border-left: 3px solid black;
    border-top: 3px solid black;
    border-bottom: 3px solid black;
    background-color: rgba(45, 41, 41, 1);
}

.projectcontainer3 .card:nth-child(3) {
    /* Text */
    grid-column-start: 6;
    grid-column-end: 6;
    grid-row: 3/20;
    border-left: 3px solid black;
    border-bottom: 3px solid black;
    background-color: rgba(45, 41, 41, 1);
    padding-top: 90px;
    padding-left: 5px;
    padding-right: 5px;
    line-height: 1px;
    display: inline-block;
    vertical-align: left;
    line-height: 40px;
    text-align: left;
}


/* About Cards Allignment */

.container4 .card:nth-child(1) {
    /* Text */
    grid-column-start: 2;
    grid-column-end: 11;
    grid-row: 1/ 8;
    background-color: rgba(45, 41, 41, 1);
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
    text-align: left;
    font-size: 19px;
    line-height: 40px;
}


/* Contact Cards Allignment */

.container5 .card:nth-child(1) {
    /* Header */
    grid-column-start: 1;
    grid-column-end: 6;
    grid-row: 1/10;
    border-left: 3px solid black;
    border-top: 3px solid black;
    border-bottom: 3px solid black;
    background-color: rgba(45, 41, 41, 1);
    text-align: center;
    font-weight: bold;
}

.mailicon {
    /* Mail Image */
    grid-column-start: 2;
    grid-column-end: 2;
    grid-row: 3/3;
    background-color: rgba(45, 41, 41, 1);
}

.container5 .card:nth-child(3) {
    /* E-mail Adress */
    grid-column-start: 2;
    grid-column-end: 2;
    grid-row: 3/3;
    background-color: rgba(45, 41, 41, 1);
    margin-left: 40px;
    display: flex;
    justify-content: left;
    align-items: center;
}

.instaicon {
    /* Instagram Logo */
    grid-column-start: 2;
    grid-column-end: 2;
    grid-row: 5/5;
    background-color: rgba(45, 41, 41, 1);
}

.container5 .card:nth-child(5) {
    /* Instagram Link */
    grid-column-start: 2;
    grid-column-end: 2;
    grid-row: 5/5;
    background-color: rgba(45, 41, 41, 1);
    margin-left: 40px;
    display: flex;
    justify-content: left;
    align-items: center;
}
.twittericon {
    /* Twitter logo */
    grid-column-start: 2;
    grid-column-end: 2;
    grid-row: 7/7;
    background-color: rgba(45, 41, 41, 1);
}

.container5 .card:nth-child(7) {
    /* Twitter Link */
    grid-column-start: 2;
    grid-column-end: 2;
    grid-row: 7/7;
    background-color: rgba(45, 41, 41, 1);
    margin-left: 40px;
    display: flex;
    justify-content: left;
    align-items: center;
}

.container5, a:link {
    color:white;
    text-decoration: none;
}

.container5 a:visited {
    color:white;
    text-decoration: none;
}

.container5 a:hover {
    color:red;
    text-decoration: underline;
}
