@font-face {
    font-family: 'Grey Qo';
    src: url('/assets/fonts/GreyQo-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
  }

header {
	background-image: url("/img/borja_fondo.webp");
	background-size: cover;
    height: calc(100vw / 2.7);
}

header h1{
    font-family: "Grey Qo", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 160px !important;
    text-shadow: 0px 0px 10px black;
}

header span{
    font-style: italic;
    padding-right:20px;
    font-size:22px;
}

header .lead {
    margin-top:-35px;
}

.container-title {
    max-width:560px;
}

.text-elegant {
    font-family: "Grey Qo", cursive;
}

h2.text-elegant {
    font-size: 50px;
    font-weight: bold;;
}

.bg-theme {
    background: rgb(2,0,36);
    background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(0,38,75,1) 25%, rgba(0,38,75,1) 75%, rgba(2,0,36,1) 100%);
}

.text-theme
{
    color: rgb(0, 38, 75) !important;
}

#habilidades, #contacto {
    background-image: url('img/fondo1.webp');
    background-size: cover;
}

.link-menu:hover {
    background-color: rgba(0,0,0,0.5);
}

.link-menu a {
    display: block;
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
}

.btn-primary {
    background-color: rgb(0, 38, 75) !important;
}

.btn-primary:hover {
    background-color: rgb(2, 69, 136) !important;
}

.form-check-input:checked {
    background-color: rgb(0, 38, 75);
    border-color: rgb(0, 38, 75);
}

#experiencia {
    background-image: url("img/fondo_experiencia.webp");
    background-attachment: fixed;
    background-size: cover;
    background-position: bottom;
}

.cookie-consent {

    position: fixed; /* Fijo en la parte inferior */
    left: 0; /* Alinear a la izquierda */
    right: 0; /* Alinear a la derecha */
    bottom: 0; /* Alinear en la parte inferior */
    width: 100%; /* Asegurar que ocupa todo el ancho */
    background-color: #282c34; /* Color de fondo */
    color: white; /* Color del texto */
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.3);
    z-index: 1000; /* Asegúrate de que esté por encima de otros elementos */
}

.cookie-consent .cookie-message {
    flex: 1; /* Ocupa el espacio disponible */
}


.cookie-consent .accept-button, .cookie-consent .reject-button {
    background-color: #61dafb; /* Color del botón */
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    color: #282c34; /* Color del texto del botón */
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    margin:5px 0px;
}

.cookie-consent .accept-button {
    background-color: #61dafb; /* Color del botón */
}

.cookie-consent .reject-button {
    background-color: #cecece; /* Color del botón */
}

.cookie-consent .accept-button:hover, .cookie-consent .reject-button:hover {
    background-color: #21a1f1; /* Color del botón en hover */
}

.cookie-consent a {
    color: #61dafb;
    text-decoration: underline;
}

@media (min-width: 768px) {
.w-md-75 {
    width: 75% !important;
}
}

@media (max-width: 992px) {

    header h1{
        font-size: 110px !important;
    }
    header span{
        padding-right:100px;
        font-size:16px;
    }

    .cookie-consent .accept-button, .cookie-consent .reject-button {
        display: block;
        width:100%;
    }

    .cookie-buttons {
        min-width: 25%;
        max-width: 50%;
        margin-left: 10px;
    }
    
}

@media (max-width: 600px) {

    header {
        background-image: url("/img/borja_fondo.webp");
        background-size: cover;
        height: 300px;
    }

    header h1{
        font-size: 80px !important;
    }
    header span{
        padding-right:0px;
        font-size:16px;
    }
    header .lead {
        margin-top: 20px;
        text-align: center !important;
    }
    header .lead span {
        background-color: #020125a2;
        padding: 5px 15px;
        border-radius: 20px;
    }

    .cookie-consent {
        display:block;
    }

    .cookie-consent .accept-button, .cookie-consent .reject-button {
        display: inline !important;
        width: auto;
    }

    .cookie-buttons {
        min-width: 5%;
        max-width: 100%;
        margin-left: 0px;
    }
    
}