



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

}

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



#informationcredit {
  width: 70%;
  margin: 0 auto;
  gap: 20px;  /* Adds spacing between image and text */
  padding: 20px;
  border-radius: 10px;
  color: #2c456b;

  display: flex;
  flex-direction: column; /* Ensures elements are side by side */
  align-items: center; /* Vertically aligns items */
  justify-content: flex-start; /* Aligns elements to the left */
}









/* 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;
  border:none;
  background-color: none;

 

}

.thinking-image {
  width: 150px;
  height: auto;
  flex-shrink: 0; /* Prevents the image from shrinking */
  margin-left: auto; /* Automatically adjusts the left margin */
  margin-right: auto; /* Automatically adjusts the right margin */
  display: block; /* Make the image a block element */
}


.inner-div {
  flex: 1;
  padding: 20px;
  text-align: left;
  border-radius: 8px;
  font-weight: 100;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border: none;
  background-color: #f7f7f700;
  color:#2c456b;

  
}

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

  

#lowerdiv
{
  flex: 1;
  padding: 20px;
  text-align: left;
  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;
}
}


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

  .three-divs-container {
    display: flex;
    justify-content: center; /* Centers the content horizontally */
    align-items: center; /* Centers the content vertically */
    gap: 10px; /* Adjusts spacing between divs */
    margin: 20px auto; /* Adds some top and bottom margin, auto for centering the container */
    padding-left: 10px;
    padding-right: 10px;
    width: 100%; /* Ensure it takes up the full width of its parent */
    max-width: 1200px; /* Optional, set a max width for better control */
    flex-wrap: wrap; /* Allows wrapping of content if needed */
  }
  
  .thinking-image {
    width: 250px;
    height: auto;
    flex-shrink: 0; /* Prevents the image from shrinking */
    margin: 0; /* Remove any margin */
    display: block; /* Ensures the image is a block element */
  }
  
  .inner-div {
    display: flex;
    flex-direction: column; /* Stack content vertically */
    justify-content: center; /* Centers content vertically within the inner-div */
    text-align: center; /* Centers text inside the div */
    gap: 10px; /* Add some space between elements */
  }
  
  /* Styling for #categorytitle */
  #categorytitle {
    padding-bottom: 10px;
    font-size: 24px;
    color: #2c456b;
    text-align: left; /* Ensure the title is centered */
  }

  #Kortkategorier

{
  color:#2c456b;
  font-family: lato, sans-serif;
  font-size: 43px;
  text-align: center;
  padding-top: 20px;

 
  }

  .custom-checklist {
    list-style: none; /* Remove default bullets */
    padding: 0; /* Remove padding */
    margin: 0; /* Remove margin */
    font-family: lato, sans-serif; /* Set a clear, modern font */
    color: #333; /* Set a nice text color */
}

.custom-checklist li {
    padding-left: 35px; /* Add space for the icon */
    position: relative; /* Position relative for the checkmark */
    margin-bottom: 12px; /* Add space between items */
    font-size: 18px; /* Increase the font size for readability */
    line-height: 1.5; /* Improve line height for better spacing */
    font-weight: 400; /* Regular weight for the text */
    color: #1b3153; /* Dark text color for good contrast */
    text-align: left;
}

.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%; /* Vertically center the icon */
    transform: translateY(-50%); /* Fine-tune vertical alignment */
    width: 20px; /* Set smaller width */
    height: 20px; /* Set smaller height */
    background-image: url('check_drawn.webp'); /* Set background image */
    background-size: contain; /* Ensure the image fits within the box */
    background-repeat: no-repeat; /* Prevent repeating the image */
}

.custom-checklist li span {
    display: inline-block; /* Ensure the text does not wrap around the checkmark */
    margin-left: 10px; /* Adds spacing between the checkmark and the text */
}

  
/* Styling for #categorytitle2 */
#categorytitle2 {
  font-family: leto, sans-serif; /* Keep the font family */
  color: #2c456b; /* Keep the color */
  font-weight: 300; /* Use a lighter weight for better readability */
  font-size: 18px; /* Increase font size for better readability */
  line-height: 1.6; /* Add line height for better spacing between lines */
  text-align: left; /* Align the text to the left (remove center alignment) */
  max-width: 750px; /* Set a max width to prevent text from stretching too wide */
  margin: 20px auto; /* Center the block-level element and add top and bottom spacing */
  padding: 0; /* Remove padding on both sides to avoid right indent */
  letter-spacing: 0.5px; /* Add slight letter-spacing for readability */
}

/* Styling for #categorytitle2 */
#orange {
color: #e0a300;
}


/* Add a media query for responsiveness */
@media (max-width: 768px) {
  #categorytitle2 {
    font-size: 16px; /* Slightly smaller font on mobile */
    text-align: left; /* Align text to the left on smaller screens */
  }
}

  

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

#lowerdiv
{
  flex: 1;
  background-color: #f0f0f0;
  padding: 20px;
  text-align: center;
  border: 1px solid #ccc;
  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;
  margin-top: -10vw;
  font-size: 46px;
}

}
/* 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;

  }



 
  }
  /* 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;
}

#questions-container {
  border: 1px solid #d1d9e6;      /* Soft border color */
  border-radius: 12px;             /* Slightly rounder corners */
  padding: 2rem 3rem;              /* Spacious padding inside container */
  margin: 2rem auto;               /* Center container with vertical margin */
  box-shadow: 0 4px 10px rgba(44, 69, 107, 0.1); /* Subtle shadow for depth */
}

.question {
  margin-bottom: 1.5rem;          /* More balanced spacing */
  color: #2c456b;                 /* Retain your brand color */
  margin-left: 10%;               /* Keep your offset */
  margin-top: 2rem;               /* Slightly reduced top margin */
  min-height: 180px;              /* Use min-height for better flexibility */
  font-size: 1.125rem;            /* Slightly larger, modern font size */
  font-weight: 600;               /* Bold for questions */
  line-height: 1.4;               /* Better readability */
  padding: 1rem 1.5rem;           /* Padding inside question blocks */
  border-radius: 10px;            /* Rounded corners */
  transition: box-shadow 0.3s ease, transform 0.3s ease; /* Smooth hover effect */
  cursor: pointer;                /* Indicate clickable if these expand */
}


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;
    }
    
 
    
 
    

    
  

    #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%;
  }
  

  .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;
}



#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;

  
}


#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 */
  transition: transform 0.3s ease-in-out;

}

/* Rotate the button (and the hamburger inside it) */
.dropdown:hover .dropbtn {
  transform: rotate(-90deg);
}



/* 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;
}