@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root {
    /*========== Primary ==========*/
    --primary-color-1: #ffffff;
    --primary-color-2: #ffffff;
    --main-color: #00abf0;
    --main-color-alpha: rgba(131, 208, 238, 0.5);
    --second-color: #aa0000;

    --white-color: rgb(237, 237, 237);
    --text-color: rgb(20, 20, 20);

    --box-shadow-white: 0px 0px 7px 1px #ddd;
    --social-bg-color: rgba(0, 171, 240, .25);  

    /*========== Font ==========*/
    --font: 'Lato', sans-serif !important;
    --font-semi-bold: 400;

    --radius: 10px;
    --linear-gradient: linear-gradient(135deg, var(--primary-color-1));

    /*========== Nav ==========*/
    --black-color: rgb(23, 28, 38);
    --black-color-alpha: rgb(23, 28, 38, 0.75);
    --black-color-light: rgb(29, 35, 47);
    --black-color-lighten: rgb(37, 43, 55);

    --header-height: 120px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: var(--font);
    list-style: none;
    scroll-margin-top: 100px;
}

section {
    margin: 40px 0px;
}

body {
    background-color: var(--primary-color-1);
    justify-content: center;
    align-items: center;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

h4 {
    font-size: 1.2rem;
}

p,
li {
    font-size: 1rem;
    color: var(--text-color);
}

a {
    color: var(--text-color);
}

span {
    color: var(--main-color);
}

table {
    width: auto;
}

table tr:nth-child(odd) {
    background-color: var(--primary-color-2);
}

table span {
    color: var(--second-color);
    font-style: italic;
    text-decoration: line-through;
}


/* ========== Intro ========== */


.intro {
    width: 100%;
    height: 65vh;
    color: var(--white-color);
    display: flex;
    align-items: center;
    background-image: url(../images/BGs/BG.png);
    background-position: center;
    background-size: cover;
    margin-top: 0px;
}

.intro .overlay {
    position: absolute;
    width: 100%;
    height: 55vh;
    top: 0;
    background: linear-gradient(180deg, rgba(23, 77, 255, 0.25) 0%, #00000000 70%);
    z-index: 1;
}

.intro .intro_content {
    margin: 0 50px;
    color: var(--white-color);
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: var(--radius);
    z-index: 2;
}

.intro .intro_content .promo {
    margin-top: 10px;
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.intro .intro_content .promo p {
    color: var(--white-color);
    font-weight: 700;
}

.intro .intro_content .promo p i {
    color: lime;
}

.promo>*::after {
    content: " •";
    margin-left: 5px;
    color: #ccc;
    /* eller en anden farve */
}

.promo>*:last-child::after {
    content: "";
    /* Fjern stjernen efter sidste element */
}

.intro h1,
.intro h2,
.intro h3 {
    z-index: 2;
}

/* ========== kategorier ========== */

.kategorier {
    margin-top: -100px;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    vertical-align: middle;
    z-index: 9;
}

.kategorier a {
    position: relative;
    width: 350px;
    height: 200px;
    transition: ease .25s;
    z-index: 3;
}

.kategorier a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: var(--radius);
}

.kategorier a h3 {
    position: absolute;
    color: var(--white-color);
    font-size: 2rem;
    text-shadow: 0 0 20px #000000;
    padding-inline: 5px;
    border-radius: var(--radius);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.kategorier a:hover {
    scale: 1.075;
}

/* ========== links ========== */

.links {
    margin-top: -120px;
    width: 100%;
    display: flex;
    justify-content: center;
    vertical-align: middle;
    z-index: 9;
}

.links a {
    position: relative;
    width: 250px;
    height: 150px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: ease .25s;
    margin: 10px;
    z-index: 3;
    border: 3px solid #0000;
    background: linear-gradient(var(--primary-color-1), var(--primary-color-1)) padding-box, linear-gradient(var(--angle),
            var(--primary-color-1),
            var(--main-color)) border-box;
    animation: 4s rotate linear infinite;
}

.links a img {
    height: 100px;
    z-index: 2;
}

.links a h3 {
    z-index: 2;
}


.links a:hover {
    scale: 1.075;
}



@media (max-width: 700px) {
    .links a {
        width: 150px;
        height: 150px;
    }

    .links a img {
        height: 75px;
    }
}


@media (max-width: 500px) {
    .links a {
        width: 100px;
        height: 100px;
    }

    .links a img {
        height: 50px;
    }

    .links a h3 {
        font-size: 1rem;
    }

    .links {
        gap: 0px;
    }
}


/* ========== Information ========== */


.information {
    background: var(--primary-color-1);
    width: 80%;
    border-radius: var(--radius);
    margin: auto;
    padding: 20px;
    transition: ease .25s;
    line-height: 25px;
    box-shadow: var(--box-shadow-white);
    border: 1px solid #ccc;
    border-top: 3px solid var(--main-color);
}

.information h2 {
    text-align: center;
}

.information li h4 {
    font-size: 1rem;
    font-weight: normal;
}

.information li h4::before {
    content: "• ";
    margin-left: -10px;
}

.information li p {
    font-style: italic;
}

.information a,
.tabs a {
    color: var(--main-color);
}

.information li a::before,
.tabs li a::before {
    content: "• ";
}

.information a:hover,
.tabs li a:hover {
    text-decoration: underline;
}

.information .pay {
    color: var(--second-color);
}

/* ========== Udlejning ========== */


.udlejning {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.udlejning img {
    max-width: 700px;
    width: 100%;
    height: auto;
    border-radius: 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.udlejning img:hover {
    opacity: 0.8;
}

.imgopen {
    display: none;
    position: fixed;
    z-index: 9;
    padding-top: 200px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.9);
}

/* imgopen Content (image) */
.imgopen-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 800px;
}

/* Add Animation */
.imgopen-content,
#caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(0)
    }

    to {
        -webkit-transform: scale(1)
    }
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}


/* ========== The Close Button ==========*/


.close {
    position: absolute;
    top: 150px;
    right: 35px;
    color: #f1f1f1;
    font-size: 60px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}


/* ========== Kontakt Form ========== */


.form-kontakt {
    width: 40%;
    margin: 20px auto;
    background-color: var(--primary-color-1);
    padding: 32px 24px;
    font-size: 14px;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 20px;
    border-radius: var(--radius);
    box-shadow: var(--box-shadow-white);
    border: 1px solid #ccc;
    border-top: 3px solid var(--main-color);
}

form {
    text-align: left;
}

.form-kontakt button:active {
    scale: 0.95;
}

.form-kontakt .logo-container {
    text-align: center;
}

.form-kontakt .form {
    display: flex;
    flex-direction: column;
}

.form-kontakt .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
    width: 100%;
}

.form-kontakt .form-group-2 {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    gap: 25px;
}

.form-kontakt .form-group .req::before {
    content: "* ";
    color: var(--second-color);
    margin-left: -10px;
}

.form-kontakt .form-group label {
    display: block;
    margin-bottom: 3px;
}

.form-kontakt .form-group textarea {
    width: 100%;
    height: 100px;
    min-height: 100px;
    font-size: 14px;
    resize: vertical;
}

.form-kontakt .form-group input,
.form-kontakt .form-group textarea,
.form-kontakt .form-group select {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius);
    font-family: inherit;
    border: 1px solid #ccc;
}

.form-kontakt .form-group input::placeholder,
.form-kontakt .form-group textarea::placeholder {
    opacity: 0.5;
}

.form-kontakt .form-group input:focus,
.form-kontakt .form-group textarea:focus {
    outline: none;
    border-color: var(--main-color);
}

.form-kontakt .form-submit-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: inherit;
    font-size: 1rem;
    color: var(--white-color);
    background-color: var(--black-color);
    width: 100%;
    padding: 12px 16px;
    margin: 12px 0;
    cursor: pointer;
    border-radius: var(--radius);
    border: 1px solid var(--black-color);
    transition: ease .25s;
}

.form-kontakt .form-submit-btn:hover {
    background-color: var(--primary-color-1);
    color: var(--main-color);
    border: 1px solid var(--main-color);
}

.form-kontakt .devider {
    background-color: #eee;
}

.flatpickr-disabled-date {
    border: 1px solid var(--second-color) !important;
    color: var(--text-color) !important;
    background-color: rgba(255, 0, 0, 0.25) !important;
}





/* ========== Images ========== */
.images {
    display: flex;
    flex-wrap: wrap;
    max-width: 700px;
    gap: 25px;
    margin: 10px auto;
}

.images img {
    width: 75px;
    height: auto;
    display: block;
    margin: auto;
    object-fit: cover;
    mix-blend-mode: multiply;
    cursor: pointer;
}

.images video {
    width: 155px;
    height: auto;
    display: block;
    margin: auto;
    object-fit: cover;
    mix-blend-mode: multiply;
    cursor: pointer;
}

.images a {
    height: auto;
    display: block;
    margin: auto;
    text-align: center;
    text-decoration: none;
    padding: 10px 5px;
    border: 1px solid #333;
    object-fit: cover;
    mix-blend-mode: multiply;
    cursor: pointer;
    transition: ease .25s;
    border-radius: var(--radius);
}

.images a:hover {
    background-color: var(--main-color);
    color: #fff;
}

.mediaContainer {
    text-align: center;
    height: 450px;
    max-width: 600px;
    padding: 10px;
    align-items: center;
    justify-content: center;
    margin: auto
}

#expandedImg,
#expandedVideo {
    height: 100%;
    width: 100%;
    position: relative;
    margin: auto;
    justify-content: center;
    align-items: center;
    object-fit: contain;
}

#expandedImg {
    mix-blend-mode: multiply;
}

#expandedVideo {
    display: none;
}


/* ========== Tabs ========== */
.tabs {
    background: var(--primary-color-1);
    padding: 20px;
    margin: auto;
    text-align: center;
    width: 80%;
    border-radius: var(--radius);
    box-shadow: var(--box-shadow-white);
    border: 1px solid #ccc;
}

.tabs .tab {
    background-color: var(--primary-color-1);
    color: var(--text-color);
    font-size: 1.2rem;
    border: 1px solid black;
    border-radius: var(--radius);
    padding: 5px 10px;
    margin: 0px 0px 10px 0px;
    cursor: pointer;
}

.tabs .tab.active {
    border: 1px solid var(--main-color);
    background-color: var(--main-color-alpha);
    color: var(--texy-color);
}

.tabs .tab:hover {
    border: 1px solid var(--main-color);
}

.text * {
    text-align: left;
    padding: 5px;
}

.text span {
    font-weight: bold;
    font-size: 1.1rem;
}


.leje-tekst {
  text-indent: -1em; /* træk første linje tilbage */
  padding-left: 2em; /* flyt hele teksten ind igen */
}

.leje-tekst i {
  margin-right: -6px;
}



/* ========== Om mig ========== */
.ommig {
    background: var(--primary-color-1);
    border-radius: var(--radius);
    padding: 10px;
    transition: ease .25s;
    width: 90%;
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 25px;
    box-shadow: var(--box-shadow-white);
    border: 1px solid #ccc;
}

.ommig .imgContainer {
    width: 40%;
}

.ommig .imgContainer img {
    width: auto;
    height: 200px;
}

.ommig .info {
    max-width: 60%;
}



/* Button */
.animated-button {
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 30px;
    border: 4px solid transparent;
    font-size: 18px;
    border-radius: 100px;
    font-weight: 600;
    box-shadow: 0 0 0 0px var(--main-color-alpha);
    background-color: var(--white-color);
    cursor: pointer;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button i {
    position: absolute;
    font-size: 20px;
    color: var(--main-color);
    z-index: 9;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .arr-1 {
    right: 16px;
}

.animated-button .arr-2 {
    left: -25%;
}

.animated-button .circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background-color: var(--main-color-alpha);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .text {
    position: relative;
    z-index: 1;
    transform: translateX(-12px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button:hover {
    box-shadow: 0 0 0 10px transparent;
    border-radius: 12px;
}

.animated-button:hover .arr-1 {
    right: -25%;
}

.animated-button:hover .arr-2 {
    left: 16px;
}

.animated-button:hover .text {
    transform: translateX(12px);
}

.animated-button:active {
    scale: 0.95;
    box-shadow: 0 0 0 4px var(--main-color);
}

.animated-button:hover .circle {
    width: 220px;
    height: 220px;
    opacity: 1;
}


/* Small-btn */

.animated-button.small-btn {
    padding: 6px 18px;
    font-size: 16px;
    border-radius: 40px;
}

.animated-button.small-btn .circle {
    background-color: var(--main-color-alpha);
}

.animated-button.small-btn i {
    position: absolute;
    font-size: 15px;
    color: var(--main-color);
    z-index: 9;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button.small-btn .arr-1 {
    right: 10px;
}

.animated-button.small-btn .arr-2 {
    left: -25%;
}

.productPacket:hover .animated-button.small-btn {
    box-shadow: 0 0 0 10px transparent;
    border-radius: 10px;
}

.productPacket:hover .animated-button .text {
    transform: translateX(12px);
}

.productPacket:hover .animated-button.small-btn .arr-1 {
    right: -25%;
}

.productPacket:hover .animated-button.small-btn .arr-2 {
    left: 10px;
}

.productPacket:hover .animated-button .circle {
    width: 220px;
    height: 220px;
    opacity: 1;
}





/* ========== Responsive ========== */
@media (min-width: 1500px) {
    #packets {
        width: 70%;
    }
}

@media (max-width: 1400px) {

    .productItem,
    .productSale {
        width: 80%;
    }

}

@media (max-width: 1200px) {
    .form-kontakt {
        width: 60%;
    }

    .kategorier a {
        width: 200px;
    }

    .kategorier a h3 {
        font-size: 1.7rem;
    }

}

@media (max-width: 1000px) {
    .intro h1 {
        font-size: 2.5rem;
    }

    .intro h2 {
        font-size: 1.5rem;
    }

    .promo>*::after {
        content: " ";
    }

    .kategorier {
        gap: 10px;
    }

    .kategorier a {
        width: 150px;
        height: 150px;
    }

    .kategorier a h3 {
        font-size: 1.3rem;
    }

    .information {
        width: 90%;
    }

    .kontakt {
        width: 50%;
    }

    .form-kontakt {
        width: 75%;
    }

    .tabs {
        width: 90%;
    }

    .productItem,
    .productSale {
        width: 100%;
    }

    .showProductPacket {
        flex-direction: column;
    }

    .showProductPacket .imgShowContainer {
        width: 100%;
    }

    .showProductPacket .show_product_content {
        max-width: 100%;
    }

    .ommig {
        flex-direction: column;
    }

    .ommig .imgContainer {
        width: 100%;
    }

    .ommig .info {
        max-width: 100%;
    }
}

@media (max-width: 700px) {
    .intro .intro_content .promo {
        flex-direction: column;
    }

    .kategorier a {
        width: 200px;
        height: 100px;
    }

    .kategorier a h3 {
        font-size: 1.7rem;
    }

    .productItem,
    .productSale {
        width: 100%;
        display: block;
    }

    .kontakt {
        width: 75%;
    }

    .imgopen-content {
        width: 100%;
    }

    .udlejning {
        display: flex;
        flex-direction: column;
    }

    .productInfo {
        width: 90%;
    }
}


@media (max-width: 500px) {
    .intro h1 {
        font-size: 2rem;
    }

    .intro h2 {
        font-size: 1rem;
    }

    .intro .intro_content {
        margin: 0 25px;
    }

    .kategorier a {
        width: 90%;
        height: 100px;
    }

    .kategorier a h3 {
        font-size: 1.7rem;
    }

    .promo p {
        font-size: 0.9rem;
    }

    .productItem .product_info {
        display: block;
        width: 100%;
    }

    .kontakt,
    .form-kontakt {
        width: 90%;
    }

    .form-kontakt .form-group-2 {
        flex-direction: column;
        gap: 0px;
    }

    .mediaContainer {
        max-width: 500px;
    }

    .productPacket {
        min-width: 250px;
    }

    .most::after,
    .popular::after {
        top: -17px;
        left: 70px;
        rotate: 0deg;
    }

    .mostShow::after,
    .popularShow::after {
        top: 0px;
        left: -30px;
    }

}






.tooltip-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.info-tooltip {
  background: #a50505;
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: inline-block;
  font-size: 13px;
  text-align: center;
  line-height: 18px;
  font-weight: bold;
  cursor: help;
  flex-shrink: 0;
}

.tooltip-text {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  background: var(--white-color);
  color: var(--text-color);
  border: 1px solid #a50505;
  text-align: left;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 13px;
  width: 300px;
  top: 125%; /* vises under labelen */
  left: 50%;
  transform: translateX(-50%);
  transition: opacity 0.2s ease;
  z-index: 10;
}

.tooltip-wrapper:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}
