/* Styles for index.htm */
/* General css */
body {
    font-family: "Arial", Helvetica, sans-serif;
    font-size: 20px;
    background-color: white;}

img { 
    width: 100%;
    height: auto;
    vertical-align: middle;}

/* Top Navigation */
.topnav {
    overflow: hidden;
    background-color: #3b245c;}

.topnav a {
    float: left;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 900;}

.topnav a:hover {
    background-color: #252525;
    color: #ffffff;}

.topnav a.active {
    background-color: white;
    color: #3b245c;}

/* Brand CEITE */
.brand {
    overflow: hidden;
    text-align: center;}

.logo {
    padding-left: 0px;
    max-width: 750px;
    height: 100px;}

/* Search button and copyright */
.botnav {
    overflow: hidden;
    background-color: #3b245c;}

.botnav a {
    float: left;
    display: block;
    color: black;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;}

.botnav a:hover {
    background-color: #ddd;
    color: black;}

.botnav a.active {
  background-color: #3b245c;
  color: #3b245c;}

.botnav input[type=text] {
    float: left;
    padding-left: 6px;
    border: 8;
    margin-top: 20px;
    margin-right: 16px;
    margin-left: 8px;
    margin-bottom: 20px;
    font-size: 17px;}

.botnav a, .botnav input[type=text] {
    float: none;
    display: inherit;
    text-align: center;
    width: 25%;
    margin-left: 37.5%;
    padding: 14px;}

.botnav input[type=text] {
    border: 5px solid #3b245c;}

.footer {
    font-family: "Arial", Helvetica, sans-serif;
    color: #FFFFFF;
    height: 100%;
    border-color: #4c4754;
    text-align: center;
    font-size: 14px;
    line-height: 100px;
    background-color: #3b245c;}

/* HOME PAGE */
.portfolio-items-wrapper {
    display: grid;
    grid-template-columns: 1fr;}

.portfolio-item-wrapper {
    position: relative;}

.portfolio-img-background {
    height: 280px;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-color: #3b245c;
    border: 6px solid #3b245c;}

.img-text-wrapper {
    font-family: "Arial", Helvetica, sans-serif;
    position: absolute;
    top: 45%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 20%;
    width: 50%;
    text-align: center;
    padding-left: 0px;
    padding-right: 0px;
    font-weight: 700;
    font-size: 25px;
    background-color: #3b245c;}

a:link    { color: white; text-decoration: none; }
a:visited { color: white; text-decoration: none; }
a:hover   { color: white; text-decoration: none; }
a:active  { color: white; text-decoration: none; }

.img-text-wrapper .subtitle {
    font-family: "Arial", Helvetica, sans-serif;
    transition: 0.5s;
    font-weight: 900;
    color: #FFFFFF;}

.img-text-wrapper:hover .subtitle {
    font-family: "Arial", Helvetica, sans-serif;
    font-weight: 900;
    color: #bfbbc5;}

.img-darken {
    transition: 0.5s;
    filter: blur(5px);}

/*News page*/
* {box-sizing: border-box;}

#more {display: none;}

.main {
    width: 100%;
    margin-width: none;}

.row {
  margin: 8px -16px;}

/* NEWS PAGE - Add padding BETWEEN each column */
.row,.row > .column {padding: 8px;}

/* NEWS PAGE - Create four equal columns that floats next to each other */
.column {
    float: left;
    width: 25%;}

/* Clear floats after rows */ 
.row:after {
    content: "";
    display: table;
    clear: both;}

/* Content */
.content-news {
    background-color: #ccc8d1;
    padding: 10px;
    content-box: fixed;
    display: table-cell;}

.content-news:hover {
    border: 3px solid #3b245c;}


/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 900px) {.column {width: 50%;}}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {.column {width: 100%;}}