:root {
    --primary_color:#ffffff;
    --secondary_color: #333333;
    --third_color: #AB9B7A;
    --max_width: 900px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--primary_color);
    color: var(--secondary_color);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.5rem;
}

.container {
    max-width: var(--max_width);
    margin: 0 auto;
}

img {
    max-width: 100%;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--third_color);
}

/* Navigation */
.main_nav {
    background: var(--secondary_color);
    position: sticky;
    top: 0;
    z-index: 3;
    height: 70px;
    border-bottom: 1px solid var(--third_color);
    font-size: 1.1rem;
}

.main_nav ul {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main_nav ul li a {
    padding: 30px 30px;
}

.main_nav ul li a:hover {
    color: var(--primary_color);
}

#symbol {
    height: 50px;
    width: 50px;
    background: url(../images/Angelidis_symbol.png);
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
}

#symbol:hover {
    height: 50px;
    width: 50px;
    background: url(../images/Angelidis_symbol_white.png);
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
}

/* Slider */
.slider {
    height: 90vh;
    background-image: url(../images/slider/hero_foto.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position-x: center;
    background-position-y: center;
    background-attachment: fixed;
    position: relative;
}

.slider img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.slider2 {
    height: 50vh;
    background-image: url(../images/slider/hero_foto_2.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position-x: center;
    background-position-y: center;
    background-attachment: fixed;
    position: relative;
}

.slider3 {
    height: 50vh;
    background-image: url(../images/slider/hero_foto_3.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position-x: center;
    background-position-y: center;
    background-attachment: fixed;
    position: relative;
}

.slider_home {
    height: 50vh;
    background-image: url(../images/slider/Hero.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position-x: center;
    background-position-y: center;
    background-attachment: fixed;
    position: relative;
}

/* History */
.area2 {
    min-height: 80vh;
}

#history {
    height: 80vh;
    padding: 10vh 5%;
    font-size: 1.2rem;
    text-align: justify;
    /* background: rgba(113, 148, 148, 0.5); */
}

#history h1 {
    padding-bottom: 3rem;
    text-align: center;
    border-top: solid 1px var(--third_color);
    width: 300px;
    margin: 0 auto;
}

#history h3 {
    font-size: 3rem;
    text-align: center;
    line-height: 4rem;
    padding-bottom: 3rem;
}

#history p {
    line-height: 2.5rem;
    text-align-last: center;
}

/* Services */
.service_container {
    height: 80vh;
    padding: 10vh 5%;
    background: var(--secondary_color);
}

.service_container h1{
    padding-top: 3rem;
    color: var(--third_color) ;
    text-align: center;
    border-top: solid 1px var(--primary_color);
    width: 300px;
    margin: 0 auto 5% auto;
}

.services {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

/* Showcase */
.area {
    background: var(--secondary_color);
    padding: 10vh 5%;
}

.area h1{
    padding-top: 3rem;
    color: var(--third_color) ;
    text-align: center;
    border-top: solid 1px var(--primary_color);
    width: 300px;
    margin: 0 auto;
}

#showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 5% 1%;
    max-width: var(--max_width);
    margin: 0 auto;
}

.column img {
    width: 100%;
    padding: 1vh 1.5vh;
  }

  .column img:hover {
      opacity: 0.5;
      transform: scale(1.02);
      transition: 0.5s ease;
  }

/* Contact */
#contact {
    min-height: 80vh;
    padding: 10vh 5%;
}

#contact h1 {
    padding-bottom: 5rem;
    padding-top: 3rem;
    text-align: center;
    border-top: solid 1px var(--third_color);
    width: 300px;
    margin: 0 auto;
}

.contact_details {
    display: flex; /*switch to "inline" or other for smaller devices */ 
    align-items: center;
    justify-content: center;
    min-height: 45vh;
}

.box {
    padding: 2% 2%;
}

.box a {
    display: block;
    background: var(--secondary_color);
    height: 300px;
    width: 300px;
    text-align: center;
    padding-top: 100px;
    line-height: 3rem;
    font-size: 1.2rem;
}

.box a:hover{
    opacity: 0.8;
    color: var(--primary_color);
    transform: scale(0.98);
    transition: 0.5s;
}

.contact_container .social {
    display: flex; /*switch to "inline" or other for smaller devices */ 
    align-items: center;
    justify-content: center;
}

.contact_container .social a {
    justify-self: center;
    padding: 3% 8%;
}

/* Footer */
footer {
    border-top: 1px solid var(--third_color);
}

footer p {
    text-align: center;
    padding: 30px;
}
