*,
*:after,
*:before {
  box-sizing: border-box;
}

html {
    font-size: 16px;
    font-weight: 300;
    color: #121212;
    font-family: articulat-cf, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    margin: 0;
    background-color: #ffffff;
    padding: 80px 24px 24px 24px;
}

p {
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 500;
    margin-bottom: 0.5em;
}

h1,
.h1 {
    font-size: 2.2rem;
}

h2,
.h2 {
    font-size: 2rem;
}

h3,
.h3 {
    font-size: 1.8rem;
}

h4,
.h4 {
    font-size: 1.6rem;
}

h5,
.h5 {
    font-size: 1.4rem;
}

h6,
.h6 {
    font-size: 1.2rem;
}

button,
.btn {
    color: #A30738;
    background-color: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 8px;
    padding: 1% 2%;
    text-decoration: none;
    font-weight: 500;
    text-transform: none;
}

button:hover,
.btn:hover {
    color: #ffffff;
    background-color: #121212;
    border: 1px solid #121212;
    border-radius: 8px;
    padding: 1% 2%;
    text-decoration: none;
    font-weight: 500;
    text-transform: none;
}

a,
.a {
    appearance: none;
    color: #A30738;
    text-decoration: underline;
}

a:hover,
.a:hover {
    color: #121212;
    text-decoration: underline;
}

ul {
    padding: 0px;
}


/*------ Inputs ------*/
input[type="text"],  /*** me gustaría que el input de comments fuera más grande pero no lo he conseguido ***/
input[type="email"],
input[type="tel"] {
    appearance: none;
    background-color: #1212122b;
    border: none;
    border-radius: 5px;
    padding: 0.8em 1em; 
    margin-bottom: 1em;
}

input[type="text"]:invalid,
input[type="email"]:invalid,
input[type="tel"]:invalid {
    border: 1px solid red;
    background-color: rgba(255, 0, 0, 0.2);
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="tel"]::placeholder {
    color: #0000007c;
}

label {
    margin-bottom: 0.5em;
}

input[type="submit"] {
    appearance: none;
    background-color: #A30738;
    color: #ffffff;
    width: 100%;
    border: 2px solid #A30738;
    border-radius: 5px;
    padding: 0.8em 1em; 
}

input[type="submit"]:hover {
    appearance: none;
    background-color: #ffffff;
    color: #A30738;
    width: 100%;
    border: 2px solid #A30738;
    border-radius: 5px;
    padding: 0.8em 1em; 
}

form {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  width: 100%;
}

.input--area {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
}

/*------ Inputs ends ------*/

/*------ Icons ------*/
.icon {
    height: 20px;
    width: auto;
    margin-bottom: 0.8em;
    fill: #121212;
}

.icon--card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50%;
    text-align: center;
}

.icon--position {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px 0px;
    justify-content: space-between;
    align-items: flex-start;
}

.icon--card--contactpage {
    display: flex;
    width: 50%;
}

.icon--position--contactpage {  /*esto no me funciona*/
    display: flex;
    justify-content: center;
    gap: 0;
}

.icon--card--personal {
    display: flex;
    width: 100%;
}

/*------ Icons ends ------*/

/*------ Menu starts ------*/
.hamburger {
    display: block;
    cursor: pointer;
    position: absolute;
    position: absolute;
    top: 0em;
    right: 24px;
    padding: 24px 0px;
    z-index: 5;
}
  
.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  border-radius: 30px;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: #A30738;
}
  
.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px;
    background-color: transparent;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
  
.hamburger.active .bar:nth-child(2){
    opacity: 0;
}
  
.hamburger.active .bar:nth-child(1){
    transform: translateY(8px) rotate(45deg);
}
  
.hamburger.active .bar:nth-child(3){
    transform: translateY(-8px) rotate(-45deg);
}
  
.nav-menu {
    position: fixed;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    gap: 50px;
    width: 100%;
    height: 100vh;
    left: -100%;
    top: 0px;
    background-color: #ffffffda;
    transition: 0.3s;  
}
  
.nav-link {
  transition: 0.7s ease;
}
  
.nav-link:hover {
  color: #A30738;
}
  
.nav-item {
    margin: 16px o;
    appearance: none;
}
  
.nav-menu.active {
    left: 0;
}
  
  
/*------ Menu ends ------*/

/*------ Footer start ------*/
footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    width: 100%;
    background-color: transparent;
    text-align: center;
    padding: 10px;
}

footer ul {
    list-style-type: none;
    padding: 0px;
}
    
footer li {
    float: left;
    padding: 0 0 0 10px;
    font-size: 10px;
}
/*------ Footer ends ------*/

/*------ Block styles ------*/
.cover--area {
    display: flex;
    align-items: center;
    flex-direction: column;
    order: -2;
}

.cover--picture {
    height: auto;
    width: 100%;
    max-width: 400px;
    margin-bottom: -80px;
}

.about {
    order: -1;
}
/*------ Block styles ends ------*/

/*------ Utilities ------*/
.text-align--center {
    text-align: center;
}

.color--vividBurgundy {
    color: #A30738;
}

.logo {
    fill: #A30738;
    height: 40px;
    width: auto;
}

.text-size--10 {
    font-size: 10px;
}

.font-weight--bold {
    font-weight: 900;
}

.text--highlight {
    font-weight: 500;
    text-decoration: underline;
    color: #A30738;
}

.padding--top10 {
    padding-top: 10%;
    padding-bottom: 5%;
}

.paddin---botom0 {
    margin-bottom: 0px;
}

.color--vividBurgundy--cover {
    color: #A30738;
}

/*------ Utilities ends ------*/

/*------ Media Queries ------*/
    /*------ Desktop ------*/
    @media only screen and (min-width: 1024px) {
        html {
            font-size: 18px;
            color: #ffffff;
        }

        body {
            flex-direction: row;
            padding: 0px;
            height: 100vh;
            width: 100vw;
        }

        button,
        .btn {
            color: #ffffff;
            background-color: #A30738;
            border: 1 solid #A30738;
        }

        button:hover,
        .btn:hover {
            color: #A30738;
        }

        a,
        .a {
            color: #ffffff;
        }

        a:hover,
        .a:hover {
            color: #ffffff;
            text-decoration: underline;
        }

        form {
            padding-top: 5%;
        }

        /**Inputs**/
        input[type="text"],
        input[type="email"],
        input[type="tel"] {
            background-color: #ffffff2b;
        }

        input[type="text"]::placeholder,
        input[type="email"]::placeholder,
        input[type="tel"]::placeholder {
            color: #ffffff7c;
        }

        input[type="submit"] {
            background-color: #ffffff;
            color: #A30738;
            border: 2px solid #ffffff;
        }
        
        input[type="submit"]:hover {
            background-color: #A30738;
            color: #ffffff;
            border: 2px solid #ffffff;
        }

        .input--area {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            width: 48%;
        }

        .input--area--row {
            display: flex;
            flex-direction: row;
            justify-content: space-between;
        }
        
        /*** Icons ***/

        .icon--card {
            width: 25%;
        }
        
        .icon--card--contactpage {
            width: 25%;
        }

        .icon {
            fill: #ffffff;
        }

        .icon--card--personal {
            width: 40%;
            text-align: left;
            font-size: 14px;
        }

        .icon--personal {
            height: 40px;
            width: auto;
            margin-bottom: 0.8em;
        }

        /*** Menu ***/
        .hamburger {
            display: none;
        }
          
        .nav-bar {
            display: flex;
            width: 100%;
          }
          
        .nav-menu {
            flex-direction: row;
            text-align: center;
            gap: 0;
            width: auto;
            height: auto;
            left: 0;
            background-color: transparent;
            transition: none;
            position: static;

        }
          
        .nav-item {
            margin: 0 16px;
        }

        nav a {
            color: #ffffff;
            text-decoration: none;
            appearance: none;
        }

        .nav-link:hover {
            color: #ffffff;
            text-decoration: underline;
        }
        
        /*** Footer ***/
        footer {
            position: fixed;
            bottom: 0;
            right: 0;
            text-align: right;
            justify-content: flex-end;
            align-items: flex-end;
        }
        
        footer ul {
            padding-right: 20px;
        }
            
        footer li {
            padding: 0 0 0 20px;
        }

        /*** Block Styles ***/
        .cover--area {
            width: 35%;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
            justify-content: center;
            background-image: url('Images/coverBg.png');
            background-repeat: no-repeat;
            background-position: bottom left;
            background-size: cover;
        }
        
        .cover--picture {
            height: auto;
            width: 100%;
            margin-bottom: -20%;
            max-width: 1000px;
        }
        
        .main--area {
            display: flex;
            width: 65%;
            justify-content: center;
            align-items: center;
            background-color: #A30738;
        } 
        
        .main--area--content {
            display: flex;
            height: 100vh;
            justify-content: center;
            flex-direction: column;
        }

        /*** Block Display Desktop ***/

        .slide {
            display:none;
        }

        .slide.about {
            display:block;
        }

        .slide:target {
            display: block;
        }

        .slide:target ~ .slide.about {
            display: none;
        }

        /*** Utilities ***/
        .color--vividBurgundy {
            color: #ffffff;
        }

        .text--highlight {
            color: #ffffff;
        }

        .margin-side--10 {
        margin: 0 10% 0 10%;
        }

        .margin-side--15 {
            margin: 0 15% 0 15%;
        }

        .padding--top10 {
            padding-top: 0%;
            padding-bottom: 3%;
        }

        .cookies {
            position: relative;
            background-color: #A30738;
            display: flex;
            flex-direction: column;
            width: 100%;
            align-items: center;
            justify-content: flex-start;
            margin-top: 80px;
        }

        .white-fill {
            fill: white;
        }



    }
    /*------ Desktop ends ------*/

    /*------ Tablet ------*/
    @media only screen and (min-width: 595px) and (max-width: 1024px) {

        .margin-side--15 {
            margin: 0 10% 0 10%;
        }

        body {
            background-image: url('Images/CoverBgTablet.png');
            background-repeat: no-repeat;
            background-position: bottom left;
            background-size: contain;
        }

        .icon--card {
            width: 25%;
        }
        
        .icon--card--contactpage {
            width: 25%;
        }

        .icon--card--personal {
            width: 40%;
            text-align: left;
            font-size: 14px;
        }

        .icon--personal {
            height: 30px;
            width: auto;
        }

    }
    /*------ Tablet ends ------*/

    
    /*------ Media Queries ends ------*/
