/*!
Theme Name: CreditLine
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: creditline
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
	font-family: "Roboto", "Arial", sans-serif;
    font-weight: 400;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #34495e;
    padding: 1rem;
}

.logo {
    margin-right: 1rem;
}

.logo img {
    width: 100%;
    height: 40px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #3498db;
}

/* Мобильная версия */
@media (max-width: 768px) {
    header {
        flex-direction: column;
    }
    .logo {
        margin-bottom: 1rem;
    }
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    nav ul li {
        margin: 0.5rem 0;
    }
}

main {
    padding: 0px 50px 0px 50px;
    background-color: #f3f3f3;
}

#home {
    text-align: center;
    padding: 4rem 0;
    background-color: #ecf0f1;
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-button {
    display: inline-block;
    background-color: #3498db;
    color: #fff;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #2980b9;
}

#loans {
    padding: 0rem 0;
}


.loan-cards {
   display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.loan-card {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin: 1rem;
    width: 300px;
    text-align: center;
    transition: transform 0.3s ease;
}

.loan-card:hover {
    transform: translateY(-5px);
}

.loan-card img {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 0rem;
	height: auto;
}

.loan-card h3 {
    margin-bottom: 0.5rem;
}

.apply-button {
    display: inline-block;
    background-color: #2ecc71;
    color: #fff;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 3px;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
	width: 100%;
}

.apply-button:hover {
    background-color: #27ae60;
}



footer {
    background-color: #34495e;
    color: #fff;
    text-align: center;
    padding: 1rem;
}

@media (max-width: 768px) {

    .loan-cards {

        align-items: center;
    }

    .loan-card {
        width: 100%;
        max-width: 300px;
    }
}



	.full_text {padding-bottom: 5px;margin-top: 50px;}



.full_text h1 {
    margin: 0 0 10px;
    font-weight: 700;
    font-size: 35px;
    color: #000;
}

.full_text h2{
font-size: 29px;
    line-height: 1.4;
    color: #000;
    font-weight: 700;
    margin: 50px 0 30px;
}
.full_text h3 {
    font-size: 23px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 20px;
    color: #000;
}
.full_text p{
	font-size: 17px;
    line-height: 1.6;
    color: #444;
    margin: 0 0 20px;
}
.full_text ul{
color: rgb(68, 68, 68);
    font-size: 17px;
    line-height: 1.6;
    margin: 0px 0px 25px;
    padding: 0px;
	}
.full_text li {
    position: relative;
    padding-left: 12px;
    margin: 0 0 0 10px;
    margin: 0 0 0 .571428571rem;
}
.full_text ol {
    font-size: 17px;
	padding-left: 18px;
    line-height: 160%;
    margin: 0 0 30px;
}


@media (max-width: 768px) {
	main {
    padding: 0px 5px 0px 5px;
    background-color: #f3f3f3;
}
.full_text h1 {
    font-size: 21px;
}
	.full_text h2{
font-size: 18px;
}
.full_text h3 {
    font-size: 16px;
}
	
	.full_text p{
	font-size: 14px;
}
.full_text ul{
    font-size: 14px;
	}
.full_text ol {
    font-size: 14px;
}
}

.cards {
    margin-top: 12px;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

.cards li {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding-left: 14px;
    margin-bottom: 8px;
}

.cards li span:first-child {
    font-weight: 500;
    font-size: 14px;
    line-height: 24px;
    color: #999;
}

.cards li span:last-child {
    font-weight: 600;
    font-size: 15px;
    line-height: 24px;
    text-align: right;
    color: #666;
}