:root {
    --bg: white;
    --light_dark: rgb(88, 88, 88);
    --swiper-theme-color:lightgrey;
}
* {
    box-sizing: border-box;
}

body{
    background-color: var(--bg);
    font-family: 'Nunito';
    font-size: 22px;
    color: black;
    text-align: center;
}

a {
    color:var(--light_dark);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:visited {
    color: var(--light_dark);
  
}

#main-container{
    max-width: 900px;
    margin: auto;
    left: 50%;
}

.flex-center {
    /* Center */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.header{
    color: var(--light_dark);
    padding-top: 40px;
    padding-bottom: 40px;
    cursor: pointer;
}

.footer {
    padding-top: 40px;
    padding-bottom: 40px;
    font-size: 0.7em;
    color: darkgray;
   
}
  
.contact{
    font-size: .8em;
    padding: 15px;
    padding-bottom: 35px;
    color: var(--light_dark);
    display: flex;
    flex-direction: row;
    max-width: 900px;
    opacity: 1;
    height: auto;
    -webkit-transition:all .3s ease-in;
    transition: all .3s ease-in;
    align-items: flex-start;

}
.column {
    padding: 15px;
    cursor: pointer;
}

/* Left and right column */
.column.side {
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    flex: 33%;
}

/* Middle column */
.column.middle {
    -webkit-flex: 2;
    -ms-flex: 2;
    flex: 2;
    flex: 33%;
    border: none;
    border-left: 1px solid var(--light_dark);
    border-right: 1px solid var(--light_dark);
}
.contact.hide {
    padding:0;
    opacity: 0;
    overflow: hidden;
    height: 0px;
}


/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
@media (max-width: 800px) {
    .contact {
        -webkit-flex-direction: column;
        flex-direction: column;
        align-items: center;
    }
    .column.middle{
        border:none;
        border-top: 1px solid var(--light_dark);
        border-bottom: 1px solid var(--light_dark);
    }
}


#projects-container{
    margin: 0 auto;
    max-width: 900px;
}

.swiper {
    width: 100%;
    height: 100%;
    max-width: 900px;
    background-color: white;
    margin-bottom: 10px;
    margin-top: 30px;
    opacity: 1;
    -webkit-transition: all .3s ease-in;
    transition: all .3s ease-in;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background-color: white;

    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;

}

.swiper-caption {
    margin-top: 3px;
    border-radius: 3px;
    display: flex;
    width: 100%;
    height: 100%;
    padding: 3px;
    font-size: 0.7em;
    color: darkgray;
    align-items: center;
        justify-content: center;
}
.swiper-caption div{
    display: flex;
}

.opacity_low{
    opacity: .2;
    -webkit-transition: all .3s ease-in;
    transition: all .3s ease-in;
}

.opacity_high {
    opacity: 1;
    -webkit-transition: all .3s ease-in;
    transition: all .3s ease-in;
}

