/* WHOLE DOCUMENT */

html {
    scroll-behavior: smooth;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    width: 100%;
}

.section-content {
    max-width: 80%;
    margin: auto;
    padding-top: 30px;
    padding-bottom: 30px;
    transform: scale(0.985);
    transition: transform 0.5s;
}

.fixed-nav .section-content {
    transform: scale(1);
}

h3 {
    text-align: center;
    font-size: 30px;
    font-family: "Playfair Display", sans-serif;
}

h4 {
    font-family: "Open Sans", sans-serif;
}

p {
    font-family: "Open Sans";
}


/* HERO */

#hero {
    background-image: url("../img/bgs/NEUMORPHIC_CIRCLES_BACKGROUND.jpg");
    background-color: #22222e;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 80vh;
    color: white;
}

#hero {
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

h1 {
    font-size: 8vh;
    margin: 0px;
    font-family: "Playfair Display", sans-serif;
}

h2 {
    font-size: 3vh;
    font-family: "Open Sans";
}


/* cta */

.ghost-button { 
    display: inline-block; 
    width: 250px; 
    padding: 14px;
    font-size: 20px; 
    color: #fff; 
    border: 2px solid #fff; 
    text-align: center; 
    outline: none; 
    text-decoration: none;  
    transition: background-color 0.2s ease-out, color 0.2s ease-out; 
    font-family: "Open Sans";
} 

.ghost-button:hover, .ghost-button:active { 
    background-color: #fff; 
    color: #000; 
    transition: background-color 0.3s ease-in, color 0.3s ease-in; 
}


/* NAVIGATION */

nav {
    text-align: center;
    font-size: 25px;
    color: white;
    background-color: #22232E;
    padding: 10px;
    opacity: 0.97;
    z-index: 999;
}

.fixed-nav nav {
    position: fixed;
    top: 0px;
    box-shadow: 0 5px rgba(0, 0, 0, 0.1);
    width: 100%;
    z-index: 999;
}

nav a {
    text-decoration: none;
    color: white;
    margin: 0px;
    padding: 5px;
    font-family: "Playfair Display";
    transition: 0.3s;
    
    text-align: center;
    overflow: hidden;
}

nav a:hover {
    background-color: #575975;
    border: none;
    border-radius: 10px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

nav ul li {
    margin: 0;
    display: inline-block;
}


/* TESTIMONIALS */

#testimonials {
    background-color: #DCDBE6;
}

#testimonials .section-content .testimonial-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.testimonial {
    margin-bottom: 20px; 
    padding: 10px;
    padding-left: 30px;
    padding-right: 30px;
    margin-left: 10px;
    margin-right: 10px;
    box-sizing: border-box;
    text-align: center;
    border: none;
    border-radius: 5px;
    background-color: #f6f6f6;
}


/* SERVICES TAB */

#services {
    text-align: center;
    background-color: #f6f6f6;
}

.tab {
    overflow: hidden;
    border: none;
    background-color: #22232E;
    border-radius: 10px 10px 0px 0px;
}

.tab button {
    background-color: inherit;
    float: middle;
    border: none;
    border-radius: 20px 20px 0px 0px ;
    outline: none;
    cursor: pointer;
    padding: 18px 16px;
    transition: 0.3s;
    font-size: 18px;
    margin-left: 30px;
    margin-right: 30px;
    color: white;
    font-family: "Playfair Display", sans-serif;
}

.tab button:hover {
    background-color: #575975;
}

.tab button.active {
    background-color: #333449;
}

.tabcontent {
    display: none;
    padding: 6px 12px;
    background-color: #DCDBE6;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0px 0px 10px 10px;
}

.tabcontent .text-wrapper {
    max-width: 80%;
    margin: auto;
    text-align: left;
}

.tabcontent .text-wrapper h4 {
    text-align: center;
    font-size: 26px;
    margin-top: 15px;
    font-family: "Open Sans";
}

.tabcontent b {
    font-size: 20px;
}

.ghost-button-service { 
    display: inline-block; 
    width: 250px; 
    padding: 14px;
    margin-top: 30px;
    font-size: 20px; 
    color: #333449; 
    border: 2px solid #333449; 
    text-align: center; 
    outline: none; 
    text-decoration: none;  
    transition: background-color 0.2s ease-out, color 0.2s ease-out; 
    font-family: "Open Sans";
} 

.ghost-button-service:hover, .ghost-button-service:active { 
    background-color: #333449; 
    color: white; 
    transition: background-color 0.3s ease-in, color 0.3s ease-in; 
}


/* PORTFOLIO */

#portfolio {
    background-color: #DCDBE6;
    text-align: center;
}

#portfolio .section-content .pieces {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.piece {
    margin-bottom: 20px; 
    padding: 10px;
    margin-left: 10px;
    margin-right: 10px;
    box-sizing: border-box;
    text-align: center;
    border: none;
    border-radius: 5px;
    background-color: #f6f6f6;
}

.piece img {
    margin-top: 10px;
    max-width: 250px;
    max-height: auto;
}

.ghost-button-portfolio { 
    display: inline-block; 
    width: 150px; 
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 20px; 
    color: #22222e; 
    border: 2px solid #22222e; 
    text-align: center; 
    outline: none; 
    text-decoration: none;  
    transition: background-color 0.2s ease-out, color 0.2s ease-out; 
    font-family: "Open Sans";
} 

.ghost-button-portfolio:hover, .ghost-button-portfolio:active { 
    background-color: #22222e; 
    color: white; 
    transition: background-color 0.3s ease-in, color 0.3s ease-in; 
}

.ghost-button-full-portfolio { 
    display: inline-block; 
    text-align: center;
    width: 250px; 
    padding: 14px;
    margin-top: 30px;
    margin-bottom: 30px;
    font-size: 20px; 
    color: #22222e; 
    border: 2px solid #22222e; 
    text-align: center; 
    outline: none; 
    text-decoration: none;  
    transition: background-color 0.2s ease-out, color 0.2s ease-out; 
    font-family: "Open Sans";
} 

.ghost-button-full-portfolio:hover, .ghost-button-full-portfolio:active { 
    background-color: #22222e; 
    color: white; 
    transition: background-color 0.3s ease-in, color 0.3s ease-in; 
}


/* CERTIFICATIONS */

.certifications {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.certifications img:nth-child(1) {
    max-width: 100%;
    height: auto;
}

.certifications img:nth-child(2) {
    margin-top: 20px;
    height: 250px;
    width: auto;
}


/* ABOUT */

#aboutme {
    background-color: #f6f6f6;
    text-align: center;
}

#aboutme img {
    max-height: 500px;
    max-width: auto;
    display: inline-block;
    margin: 10px;
}

.about-me-content {
    border: #000 solid 1px;
    border-radius: 30px;
    max-width: 70%;
    margin: auto;
    padding: 30px;
}

.about-me-content p {
    display: inline-block;
    max-width: 600px;
    margin: 10px;
}


/* SOCIALS */

.fa {
    padding: 20px;
    font-size: 30px;
    width: 30px;
    text-align: center;
    text-decoration: none;
    margin: 5px 2px;
    border-radius: 50%;
}

.fa:hover {
    opacity: 0.9;
}

.fa-facebook {
    background: #3B5998;
    color: white;
}

.fa-linkedin {
    background: #007bb5;
    color: white;
}

.fa-instagram {
    background: #125688;
    color: white;
}

.fa-youtube {
    background: #bb0000;
    color: white;
}


/* FOOTER */

footer {
    text-align: center;
    background-color: #22222e;
}

footer a {
    text-decoration: none;
    color: white;
    margin: 0px;
    padding: 5px;
    font-family: "Playfair Display";
    transition: 0.3s;
}


/* SCREEN OPTIMALIZATION*/

/* extra small and small */
[class*="col-"] {
    width: 100%;
}

/* medium */
@media only screen and (min-width: 768px) {
    .col-md-1 {width: 8.33%;}
    .col-md-2 {width: 16.66%;}
    .col-md-3 {width: 25%;}
    .col-md-4 {width: 33.33%;}
    .col-md-5 {width: 41.66%;}
    .col-md-6 {width: 50%;}
    .col-md-7 {width: 58.33%;}
    .col-md-8 {width: 66.66%;}
    .col-md-9 {width: 75%;}
    .col-md-10 {width: 83.33%;}
    .col-md-11 {width: 91.66%;}
    .col-md-12 {width: 100%;}
    #about img, p {
        display: block;
    }
}

/* large */
@media only screen and (min-width: 992px) {
    .col-lg-1 {width: 8.33%;}
    .col-lg-2 {width: 16.66%;}
    .col-lg-3 {width: 25%;}
    .col-lg-4 {width: 33.33%;}
    .col-lg-5 {width: 41.66%;}
    .col-lg-6 {width: 50%;}
    .col-lg-7 {width: 58.33%;}
    .col-lg-8 {width: 66.66%;}
    .col-lg-9 {width: 75%;}
    .col-lg-10 {width: 83.33%;}
    .col-lg-11 {width: 91.66%;}
    .col-lg-12 {width: 100%;}
}

/* extra large */
@media only screen and (min-width: 1200px) {
    .col-xl-1 {width: 8.33%;}
    .col-xl-2 {width: 16.66%;}
    .col-xl-3 {width: 25%;}
    .col-xl-4 {width: 33.33%;}
    .col-xl-5 {width: 41.66%;}
    .col-xl-6 {width: 50%;}
    .col-xl-7 {width: 58.33%;}
    .col-xl-8 {width: 66.66%;}
    .col-xl-9 {width: 75%;}
    .col-xl-10 {width: 83.33%;}
    .col-xl-11 {width: 91.66%;}
    .col-xl-12 {width: 100%;}
}

/* extra large */
@media only screen and (min-width: 1400px) {
    .col-fl-1 {width: 8.33%;}
    .col-fl-2 {width: 16.66%;}
    .col-fl-3 {width: 25%;}
    .col-fl-4 {width: 33.33%;}
    .col-fl-5 {width: 41.66%;}
    .col-fl-6 {width: 50%;}
    .col-fl-7 {width: 58.33%;}
    .col-fl-8 {width: 66.66%;}
    .col-fl-9 {width: 75%;}
    .col-fl-10 {width: 83.33%;}
    .col-fl-11 {width: 91.66%;}
    .col-fl-12 {width: 100%;}
}