

.content {    
    width: 100%;
}
.section {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    scroll-margin-top: 50px;
}
.section h1 {
    padding-top: 52px;
}
.tre {
    width: 100%;
    height: 15px;
    background-color: #101010;    
}


/*------------------------------------------------------*/
/* LANDING */
/*------------------------------------------------------*/

.landing {
    background-image: url(/resources/img/Mini_cooper_background.jpg);
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
}
.landing-overlay {
    width: 100%;
    height: calc(100vh - 52px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.7);
}
.landing-logo {
    margin: 20vh 0;
    width: 180px;
}
.landing-overlay a i {
    font-size: 150%;
}

/*------------------------------------------------------*/
/*  GALLERY */
/*------------------------------------------------------*/

.portfolio-menu {
    position: relative;
    width: 100%;
    background-color: #1a1a1a;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.8);
    z-index: 10;
}
.categories {
    margin: auto;
    padding: 15px 10px;
    max-width: 600px;
    display: flex;    
    justify-content: space-between;
    align-items: center;
}
.categories li {
    padding: 0 5px;
    text-align: center;
    font-size: 75%;
    font-weight: 400;
    line-height: 1.5;
    cursor: pointer;
    transition: all 0.3s;  
}
.categories li:hover,
.categories li:active,
.categories .selected {
    color: #ddff00;
}
.portfolio-gallery {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    
}
.portfolio-item {
    position: relative;    
    width: 100%;
    height: fit-content;
}
.portfolio-gallery .hidden {
    transform: scale(0);
    opacity: 0;  
    width: 0;
    height: 0;
    margin: 0;
    overflow-x: hidden;
    visibility: hidden;
}
.gallery-img {
    display: block;
    width: 100%;
}
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: auto;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: 'kaneda-gothic', sans-serif;
    font-style: normal;
    font-weight: 200;
    text-transform: uppercase;    
    font-size: 300%;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.6);    
    opacity: 0;   
    transition: opacity 0.2s; 
}
.gallery-overlay:hover {
    opacity: 1;   
}

/*------------------------------------------------------*/
/*  ABOUT */
/*------------------------------------------------------*/

.about-wrapper {    
    background-image: url(/resources/img/portfolio/LaFerrari_04.jpg);
    background-position: right;    
    background-size: cover;
}
.about-overlay {
    background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.2));
}
.about-caption {
    padding: 30px 20px;    
    display: flex;
    flex-direction: column;
    font-size: 85%;
}
.about-caption p {
    padding: 5vh 0;    
    text-align: justify;
    color: #dadada;
}
.about-logo {
    margin: auto;
    width: 100px;
}

/*------------------------------------------------------*/
/*  SERVICES */
/*------------------------------------------------------*/

.services-wrapper {
    padding: 20px;
    display: flex;
    flex-direction: column;
    background-image: linear-gradient(90deg, #dadada, #999);
}
.section-heading-2 {
    padding-bottom: 20px;
    font-size: 85%;
}
.services-caption a {
    margin: auto;
    width: 100%;
}
.cards-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;    
}
.card {
    margin-top: 20px;
    width: 100%;
    text-align: center;
    color: #1a1a1a;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    box-shadow: 1px 2px 20px rgba(0, 0, 0, 0.2);
}
.card i {
    padding: 40px 0 20px;
    font-size: 350%;
}
.card p {
    padding: 20px 40px 40px;
    font-weight: 400;
}
/*------------------------------------------------------*/
/*  TEAM */
/*------------------------------------------------------*/

.team-wrapper {
    display: flex;
    flex-direction: column;
}
.team-heading .section-heading {
    padding: 20px;
    font-size: 85%;
    background-image: linear-gradient(0deg, #000000, #242424);
}
.team-luis {
    width: 100%;
    height: 40vw;
    max-height: 500px;
    min-height: 250px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 60%;
    background-image: url(/resources/img/G24_team_luis_L.jpg);
    background-position: right bottom;    
    background-size: cover;
}
.team-luis .section-heading {
    margin-left: 20px;
}
.team-oriol {
    width: 100%;
    height: 40vw;
    max-height: 500px;
    min-height: 250px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: 60%;
    background-image: url(/resources/img/G24_team_oriol_L.jpg);
    background-position: left bottom;    
    background-size: cover;
}
.team-oriol .section-heading {
    margin-right: 20px;
}

/*------------------------------------------------------*/
/*  CONTACT  */
/*------------------------------------------------------*/

.contact {
    /* padding: 10px; */
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;  
    background-image: radial-gradient(#555, #1e1e1e);
    background-attachment: fixed;
}
.form-wrapper {
    position: relative;
    width: 100%;
    max-width: 650px;    
    padding: 20px;    
    display: flex;
    flex-direction: column;
    justify-content: center;    
    align-items: center;
    background-color: #999;
    box-shadow: 0 1px 30px rgba(0, 0, 0, 0.5);
}
.contact-heading {
    margin-bottom: 20px;
}
.contact-heading p {
    font-size: 85%;
    font-weight: 400;
    color: #1a1a1a;
}
.contact-form {    
    display: flex;
    flex-wrap: wrap;
    justify-content: center;    
}
.field-name,
.field-email,
.field-subject,
textarea {
    z-index: 1;
    width: 100%;
    margin: 10px 0;
    padding: 15px;
    outline: none;
    font-size: 85%;
    font-weight: 400;
    color: #999;
    background-color: #242424;
    border: none;
    border-radius: 5px;
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.5);
}
.field-phone {
    position: absolute;
    top: 50px;
    right: 20px;
    width: 20px;
    z-index: 0;
    border: none;
    background-color: #999;
}
.contact-form p,
.acceptance {
    z-index: 1;
    width: 100%;
    margin: 7px 0;
    font-size: 85%;
    font-weight: 400;
    color: #1a1a1a;
}
.contact-form textarea {
    resize: vertical;
}
.acceptance {
    position: relative;
}
.acceptance-caption {
    line-height: 1.6;
}
.acceptance input {
    border: 0;    
    clip: rect(0 0 0 0);
    height: 1px;    
    overflow: hidden;
    padding: 0;
    position: absolute;
    bottom: 0px;
    left: 10px;
    width: 1px;
}
.acceptance label::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    padding: 2px;
    vertical-align: -5px;
    background-color: #242424;
    border-radius: 3px; 
    cursor: pointer;   
    transition: all 0.2s ease;
}
.acceptance input:hover + label::before{
    background-color: #ddff00;
}
.acceptance label::after {
    border-right: 3px solid #1a1a1a;
    border-top: 3px solid #1a1a1a;
    content: "";
    height: 12px;
    width: 6px;
    top: 10px;
    left: 2px;
    position: absolute;    
    transform: scaleX(-1) rotate(135deg);
    transform-origin: left top;
    cursor: pointer;    
    display: none;
}
.acceptance input:checked + label::before {
    background-color: #ddff00;
}
.acceptance input:checked + label::after {    
    display: block;
    width: 8px;
    height: 14px;    
}
.acceptance a {
    color: #ddff00;
}
.acceptance a:hover {
    color: #fff;
}
.send-btn {
    z-index: 1;
    width: 50%;
    min-width: 110px;
    margin: 30px 0;
    cursor: pointer;
    display: inline-block;
    font-weight: 700;
    background-color: #ddff00;
    color: #242424;
    padding: 15px 30px;
    text-align: center;
    border: none;
    border-radius: 50px;
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.5);  
    transition: all 0.3s ease 0s;
}
.send-btn:hover {
    background-color: #242424;
    color: #ddff00;
}
.form-messages {
    z-index: 1;
    margin: 20px 0;
    text-align: center;
    font-size: 110%;
    font-weight: 500;
}
.success,
.error {
    color: #1a1a1a;
}
.success span {
    color: rgb(100, 225, 100);
}
.error span {
    color: rgb(255, 50, 50);
}
.form-wrapper h4 {
    z-index: 1;
    margin-bottom: 20px;
    font-size: 130%;
}
