


body {
  font-family: lato, sans-serif;
  background-color: #f7f7f7;
  margin-top: 0;
  padding: 0;
  color: #1b2c45;

}



/* Tips Box */
.tip-box {
  background-color: #ffffff; /* Clean white background */
  border-left: 6px solid #ff8c00; /* Slightly more vibrant accent color */
  padding: 20px 25px; /* More padding for better readability */
  margin-top: 25px;
  font-size: 1.1em;
  color: #2c3e50;
  border-radius: 10px; /* Rounded corners for a modern look */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08); /* Softer shadow for depth */
  text-align: left;
}

.tip-box h4 {
  font-size: 1.3em;
  margin-bottom: 10px;
  color: #e67e22;
  font-weight: 600;
}

.tip-box p {
  font-size: 1.1em;
  line-height: 1.7; /* Better spacing for readability */
  color: #555; /* Slightly softer text color */
  text-align: left;
}

#linkunderline_small{
  text-decoration: none;
  color:#6694ef;
  font-weight: 400;
  font-size: 18px;
  }

  strong {
    color: #c98c00; /* Change this to your desired color */
}

/*Dropdown FAQ*/
.faq-section {
  max-width: 700px;
  margin: 40px auto;
  padding: 30px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
}

.faq-section h3 {
  text-align: center;
  font-size: 24px;
  color: #2c456b;
  margin-bottom: 20px;
}

.faq-item {
  border-bottom: 1px solid #e0e0e0;
  padding: 15px 0;
}

.faq-question {
  display: flex;
  align-items: center;
  font-size: 12px;
  font-weight: 400;
  color: #2c456b;
  cursor: pointer;
  transition: color 0.3s ease-in-out;
  position: relative;
  padding-left: 12px;
}

.faq-question::before {
content: "";
position: absolute;
left: 0;
width: 4px;
height: 100%;
background: linear-gradient(180deg, #ff9800, #c98c00); /* Smooth gradient */
border-radius: 2px;
transform: scaleY(0);
transform-origin: top;
transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.faq-item.active .faq-question::before {
transform: scaleY(1);
box-shadow: 0px 0px 8px rgba(201, 140, 0, 0.5); /* Soft glow effect */
}




.faq-icon {
  margin-left: auto;
  width: 18px;
  height: 18px;
  display: inline-block;
  transition: transform 0.3s ease-in-out;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%232c456b" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>') no-repeat center;
  background-size: contain;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding-top: 10px;
  font-size: 16px;
  color: #555;
  line-height: 1.5;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.faq-item.active .faq-answer {
  display: block;
  opacity: 1;
}


.informationomkreditkort {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 30px;
  border-radius: 12px;
  max-width: 800px;
  margin: auto;
}


.custom-checklist {
  list-style: none; /* Remove default bullets */
  padding: 0; /* Remove padding */
  margin: 0; /* Remove margin */
  font-family: 'Roboto', sans-serif; /* Modern, clean, and readable font */
  color: #333; /* Neutral text color */
  font-size: 1rem; /* Set a readable font size */
}

.custom-checklist li {
  position: relative; /* Position relative for the checkmark */
  padding-left: 45px; /* Create space for the icon */
  margin-bottom: 20px; /* Add more space between items */
  line-height: 1.8; /* Improved line height for better readability */
  font-weight: 400; /* Slightly lighter weight for a clean look */
  transition: color 0.3s ease, transform 0.3s ease-in-out; /* Smooth transitions */
}

.custom-checklist li:hover {
  color: #2c456b; /* Text color change on hover */
  transform: translateX(5px); /* Slide items slightly to the right on hover */
}

.custom-checklist li::before {
  content: ""; /* Remove any default content */
  position: absolute; /* Position the image */
  left: 0; /* Align to the left of the list item */
  top: 50%; /* Center the checkmark vertically */
  transform: translateY(-50%); /* Adjust for perfect vertical centering */
  width: 24px; /* Slightly larger checkmark */
  height: 24px; /* Slightly larger checkmark */
  background-size: contain; /* Ensure the image fits within the box */
  background-repeat: no-repeat; /* Prevent repeating the image */
  transition: transform 0.3s ease-in-out, opacity 0.3s ease; /* Smooth checkmark transitions */
}

.custom-checklist li:hover::before {
  transform: translateY(-50%) scale(1.1); /* Enlarge the checkmark slightly on hover */
  opacity: 0.9; /* Add a subtle opacity effect to the checkmark on hover */
}

/* Add a subtle box shadow to list items for a modern feel */
.custom-checklist li {
  border-left: 4px solid #2c456b; /* Add a modern left border with a contrasting color */
  padding: 10px 15px; /* Add some padding around the text */
  border-radius: 8px; /* Rounded corners for a softer, modern look */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* Light shadow for depth */
  background-color: #fff; /* White background for clarity */
}

.custom-checklist li:hover {
  background-color: #f4f7fb; /* Subtle background color change on hover */
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.1); /* Enhanced shadow on hover */
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body:not(navbar) {
  margin-top: 0%;

}

  /* Styling for the Choose Credit Card Section */
  #chooseCreditCardSection {
    background-color: #f7f7f7;
    padding: 40px 20px;
    text-align: center;
    margin-bottom: 40px; /* Added margin at the bottom for spacing */
    margin-top: -90px;
  }
  
  #chooseCreditCardHeader {
    margin-bottom: 40px;
  }
  
  #chooseCreditCardTitle {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #2c456b;
    padding-top: 40px;
  }
  
  #chooseCreditCardIntro {
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* Styling for each step block */
  .chooseCardStep {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    background-color: #ffffff00;
    padding: 20px;
    border-radius: 8px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .chooseCardImage {
    width: 100%;
    max-width: 300px;
    margin-bottom: 20px;
    border-radius: 8px;
  }
  
  .chooseCardStep h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
  }
  
  .chooseCardStep p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    max-width: 700px;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .chooseCardStep {
        flex-direction: column;
    }
  
    .chooseCardImage {
        max-width: 60%;
    }
  }
  
  
/* navbar for computer */
@media screen and (max-width: 600px) {
  
.three-divs-container {
  display:flexbox;
  justify-content: space-between;
  gap: 10vw; /* Adjusts spacing between divs */
  margin: 20px 0; /* Adds some top and bottom margin */
  padding-left: 10px;
  padding-right: 10px;

 

}

.inner-div {
  flex: 1;
  padding: 20px;
  text-align: left;
  border-radius: 8px;
  font-weight: 100;
  margin-bottom: 10px;
  padding-bottom: 10px;

  
}

#linkunderline{
  text-decoration: none;
  font-size: 24px;
  color:#6694ef;
  font-weight: 600;
  }



#lowerdiv
{
  flex: 1;
  padding: 20px;
  text-align: left;
  border-radius: 8px;
  font-weight: 100;
  margin-bottom: 10px;
  padding-bottom: 10px;
  margin: 20px 10px 100px 10px; /* Adds some top and bottom margin */
  
}

#titleforinfo
{
  font-family: lato, sans-serif;
  text-align: center;
  font-size: 46px;
  color:#2c456b;
  margin-bottom: 90px;
  margin-top:20px;
}
}


.thinking-image {
    width: 100%; /* Makes image responsive */
    max-width: 300px; /* Limits the max size */
    height: auto;
    margin: 10px 0;
    border-radius: 8px;
   
    
}

.thinking-image2 {
    width: 60%; /* Makes image responsive */
    max-width: 300px; /* Limits the max size */
    height: auto;
    margin: 10px 0;
    border-radius: 8px;
    margin-top: 2vw;
   
    
}



/* navbar for computer */
@media screen and (min-width: 601px) {

.three-divs-container {
  display: flex;
  justify-content: space-between;
  gap: 10px; /* Adjusts spacing between divs */
  margin: 20px 0; /* Adds some top and bottom margin */
  padding-left: 10px;
  padding-right: 10px;
}

.inner-div {
  flex: 1;
  padding: 20px;
  text-align: left;
  border-radius: 8px;
  font-weight: 100;
}

#linkunderline{
  text-decoration: none;
  font-size: 24px;
  color:#6694ef;
  }

#lowerdiv
{
  flex: 1;
  padding: 20px;
  text-align: center;
  border-radius: 8px;
  font-weight: 100;
  margin-bottom: 10px;
  padding-bottom: 10px;
  margin: 20px 10px 10px 10px; /* Adds some top and bottom margin */
  
  
}

#titleforinfo
{
  font-family: lato, sans-serif;
  text-align: center;
  font-size: 46px;
  margin-bottom: 80px;
  color:#2c456b;

}

}
/* navbar for computer */
@media screen and (min-width: 1000px) {

  /* Image within the logo link */
#navbaricon {
  width: auto;
  height: 20px; /* Adjust height as needed */
  padding: 0 10px; /* Adjust padding as needed */
  margin-left: -30px;
  margin-top: 0px;
  position: absolute;
}



#navbaricon:hover {
 color:blue;
}

/* Image within the logo link */
#logohem {
  width: auto;
  height: 40px; /* Adjust height as needed */
  padding: 0 10px; /* Adjust padding as needed */

}


/* Hover effect for navbar links, excluding the logo link */
#navbar a:hover:not(#logo-link) {
  color: #4681f4; /* Elegant deep blue */
}




  /* Style the navbar */
#navbar {
background-color: #f7f7f7;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,.2);
    z-index:2; /*Add this*/
    overflow: hidden;
    display: flex;
    align-items: center; /* Vertically center items */
    font-size: 19px;
    z-index: 9999;
    position:sticky;
    top:0;
  


  }

  /* Specific styles for the logo link */
#logo-link {
  display: flex;
  align-items: center;
  margin-left: 0;
}

  /* Image within the logo link */
#logohem {
  width: auto;
  height: 40px; /* Adjust height as needed */
  padding: 0 10px; /* Adjust padding as needed */

}

  
  /* Navbar links */
  #navbar a {
    float: left;
    display: block;
    color:#1a2d48;
    text-align: center;
    padding: 24px;
    text-decoration: none;
    overflow: hidden;
    font-weight: 200;
  }


  #navbar a:active {
    background-color: #f7f7f7;
    font-size: 100%;
    background-color: #bdceefab;
    border-radius: 3px;
  }
 
  }
  /* End of navbar for computer*/
#logobild_vadarkreditkort

{
width: 25%;
position: absolute;
margin-top:-18%;
margin-left:95%;
z-index: 0;

}

#progress-container {
  width: 70%;
  background-color: #ddd;
  border-radius: 5px;
  overflow: hidden;
  margin-top: 5%;
  margin-left: 15%;
}

#progress-bar {
  width: 0;
  height: 20px;
  background-color: #2c456b;
  text-align: center;
  line-height: 20px;
  color: white;
}


header {
    background: #007BFF;
    color: white;
    padding: 1rem;
    text-align: center;
}

main {
    padding: 20px;
    max-width: 810px;
    margin: auto;
    padding-top: 50px;
}

.question {
    margin-bottom: 20px;
    color: #2c456b;
    margin-left: 10%;
    height:200px;
    margin-top:3%;
    
}


#questions-container
{
  background-color: #f7f7f7;
  border: 1px solid #ccc;
  border-radius: 8px;
  

}

button {
    display: block;
    margin: 10px 0;
    padding: 10px;
    font-size: 16px;
    border: solid #2c456b;
    border-radius: 5px;
    background:#f7f7f7;
    color: rgb(54, 62, 75);
    cursor: pointer;
    transition: background 0.3s ease;
}

#ratingall{
  display: block;
  width: 5%;
  background-color: red;
}

button:hover {
    background: #2c456b;
    color: #f7f7f7;
}

#recommendations {
    margin-top: 20px;
    color:#2c456b;
}

.card-recommendation {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #fff;
    margin-bottom: 10px;
}

/* Card image styling */
.card-recommendation img {
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for hover effects */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Shadow effect */
  border-radius: 8px; /* Optional: rounded corners for the image */
}

/* Hover effect */
.card-recommendation img:hover {
  transform: scale(1.05); /* Enlarge the image by 5% */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* Slightly larger shadow on hover */
}

/* Specific styles for the logo link */
#logo-link {
    display: flex;
    align-items: center;
}

/* Image within the logo link */
#logohem {
    width: auto;
    height: 40px; /* Adjust height as needed */
    padding: 0 10px; /* Adjust padding as needed */
}


      
      .dropdown {
        float: left;
        position: relative;
    }
    
    .dropdown .dropbtn {
        font-size: 17px;
        border: none;
        outline: none;
        color: rgb(219, 13, 13);
        padding: 12px 8px;
        background-color: inherit;
        font-family: inherit;
        margin: 0;
        cursor: pointer;
    }
    
   /* Rotate the button (and the hamburger inside it) */
.dropdown:hover .dropbtn {
  transform: rotate(-90deg);
}




    #propertytop {
      width: 7%;
      top: 13px;
      position: relative;
      margin-left: 23.3%;
      color: rgb(92, 90, 90);
  }
  
  #propertybottom {
      width: 7%;
      top: 13px;
      position: relative;
      margin-left: 20%;
  }
  
  #property_text {
      color: rgb(92, 90, 90);
      margin-left: 10%;
      margin-top: -4.5%;
  }
  
  /* Add a grey background color to dropdown links on hover */
  .dropdown-content a:hover {
    background-color: #dddddd00; /* Change to your desired hover color */



    
  }
  .dropdown:hover .dropdown-content {
      position: fixed !important;
      text-align: left;
  }
    
    .hamburger {
        width: 30px;
        height: 2px;
        background-color: black;
        margin: 4px 0;
        border-radius: 5px;
    }

/* Footer styles */
/* Footer Styles */
.footer {
  background-color: #1a2d48;
  color: white;
  padding: 20px 0;
  position: relative;
  bottom: 0;
  width: 100%;

}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.footer-section {
  flex: 1;
  margin: 10px 20px;
}

.footer-section h2 {
  margin-bottom: 20px;
  font-size: 20px;
}

.footer-section p,
.footer-section ul,
.footer-section a {
  font-size: 16px;
  line-height: 1.6;
}

.footer-section a {
  color: white;
  text-decoration: none;
}

.footer-section a:hover {
  text-decoration: underline;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section .social a {
  font-size: 20px;
  margin: 0 10px;
  display: inline-block;
}

.footer-section .social a:hover {
  color: #4681f4;
}

.footer-bottom {
  background-color: #0d1a2b;
  color: white;
  text-align: center;
  padding: 10px 0;
  margin-top: 20px;
  font-size: 14px;
}



.card-recommendation {
  margin: 10px;
  text-align: center;
}

.card-recommendation p {
  margin: 5px 0 0;
  font-weight: bold;
}

#informationcredit{
  background-image: linear-gradient(to bottom right, #2c456b,#7693bf);
  width: 70%;
  height: 30%;
  margin-left: 15%;
  border-radius: 10px;
  box-shadow: 0 20px 20px 0 rgba(0,0,0,.2);
  color: #FFFFEB;
  text-align: center;
  line-height: 27px;
}

#informationcredit2 {
  background-image: linear-gradient(to bottom right, #2c456b,#7693bf);
  width: 70%;
  margin-left: 0%;
  border-radius: 10px;
  box-shadow: 0 20px 20px 0 rgba(0,0,0,.2);
  color: #FFFFEB;
  line-height: 27px;
  margin-top: 10%;
  
  /* Flexbox properties for vertical centering */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px; /* Add some padding if needed */
  text-align: center; /* Center text horizontally */
}

#categorytitle_bottom
{
  font-family: Arial, Helvetica, sans-serif;
  color:  #FFFFEB;
  text-align: center;
  padding-bottom: 20px;

  
}

#categorytitle2
{
  font-family: Arial, Helvetica, sans-serif;
  color:  #FFFFEB;
  text-align: center;
  font-weight: 200;


}

#categorytitle
{

padding-bottom: 20px;

}

#categorytitle3
{
  font-family: Arial, Helvetica, sans-serif;
  color:  #FFFFEB;
  text-align: center;
  margin-top: 4%;
  font-size: 20px;
  font-weight: bold;
  font-weight: 200;

}


/* Footer for computer */
@media screen and (min-width: 1000px) {
  .footer {
    width: 100%;
}
  }

/* Mobile-specific styles */
@media screen and (max-width: 600px) {
  #categorytitle3 {
    font-family: Arial, Helvetica, sans-serif;
  color:  #FFFFEB;
  text-align: center;
  margin-top: 4%;
  font-size: 24px;
  font-weight: bold;
   
  }

  #quote_top
{
    width:150px;
    margin-top:0.5%;
    margin-left: 2%;
    position: absolute;
    transform: rotate(180deg);
    display: none;
 }


 


 #quote_bottom
{
    width:150px;  
    margin-top:5%;
    position: absolute;
    margin-left:95%;
    display: none;

   
 
 }

 #menuname
 {
  color:#1b3153;
  font-size: 18px;
  font-family: lato, sans-serif;
  background-color: #f7f7f7;
  font-weight: 400;
  border-radius: 4px;
  margin-top:5px;
 


 

}


 #logobild_vadarkreditkort

{
width: 25%;
position: absolute;
margin-top:-18%;
margin-left:95%;
display: none;

}
}

#whatiscredit{
  width: 10%;
  position: absolute;
  margin-left: 2.5%;

}

#creditname{
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  position: absolute;
  margin-left: 5.5%;
  margin-top:1.8%;
  color:#1b355b;

}

/* Navbar and menu styles */
.dropdown {
  float: left; /* Float left to align it properly */
  position: relative; /* Ensure relative positioning for absolute children */
}

.dropdown .dropbtn {
  font-size: 17px;
  border: none;
  outline: none;
  color: rgb(219, 13, 13);
  padding: 34px 8px;
  background-color: inherit;
  font-family: inherit; /* Important for vertical align on mobile phones */
  margin: 0; /* Important for vertical align on mobile phones */
  cursor: pointer; /* Add cursor pointer to indicate it's clickable */
}

.dropdown-content {
  display: none; /* Hide dropdown content by default */
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 999; /* Ensure dropdown content is above other content */
  text-align: left; /* Ensure text is left-aligned */
  padding: 0; /* Remove padding from dropdown-content */
}

.dropdown-content a {
  color: black;
  padding: 12px 12px;
  text-decoration: none;
  display: block; /* Display links as block elements */
  background-color: transparent; /* Ensures background color does not spill over */
  text-align: left; /* Ensure text is left-aligned */
  width: 100%; /* Ensure the link takes full width of its container */
  box-sizing: border-box; /* Ensure padding and width work together properly */
}

.dropdown-content a:hover {
  background-color: #314c8300; /* Change to your desired hover color */
  color: #FFFFEB; /* Change text color on hover */
}

.dropdown:hover .dropdown-content {
  display: block;
  overflow: hidden; /* Ensures content does not overflow */
}

/* New Container for Pyramid Layout */
.container {
  display: flex;
  justify-content: center; /* Center align the divs horizontally */
  flex-direction: column;
  align-items: center;
  margin-top: 20px; /* Add space between the blue div and the white divs */
}

.white-div {
  background-color: white;
  border: 1px solid #ccc;
  width: 80%; /* Adjust width as needed */
  height: 300px; /* Adjust height as needed */
  margin: 10px;
  border-radius: 8px;
}

.left-div {
  width: 101%;
  margin-right: 5px;
  margin-top:10%;
  border-radius: 0px;
  border:none;
  margin-left: -1px;
  background-image: linear-gradient(to bottom right, #2c456b,#1a2b43);
  height: 200px;
}

#quote_top
{
    width:3%;
    margin-top:0.5%;
    margin-left: 2%;
    position: absolute;
    transform: rotate(180deg);
 }

 #quote_bottom
{
    width:3%;
    margin-top:11%;
    position: absolute;
    margin-left:95%;

    
 
 }

.right-div {
  margin-left: 10px;
  margin-top:10%;
  margin-bottom: 10%;
}

#vadarkreditkortbild
{
  margin-top: -2%;
  margin-left: -37%;
  width: 6%;
  position: absolute;
}

#litentext_info{
  position: relative;
  font-size: 20px;
  font-family: Arial, Helvetica, sans-serif;
  color: rgb(83, 98, 122);
  text-decoration: none;


}

#litentext_card{
  position: relative;
  font-size: 16px;
  font-family: Arial, Helvetica, sans-serif;
  color: rgb(83, 98, 122);
  text-decoration: none;
  margin-top: 15%;
  margin-left: 1%;


}

.benefits-list {
  display: flex;
  justify-content: space-around;
  margin-top: -23.5%;
  margin-left: 10%;
}

.benefits-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefits-list li {
  margin-bottom: 10px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  color: rgb(41, 65, 101);
  font-weight: bold;
}