@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
	padding: 0px;
	margin: 0px;
	border: none;
    font-size: 16px;
    text-align: left;
}

img {
    max-width: 100%;
}

td {
  padding: 5px;  
  text-align: center;
}

table{
    margin: 0px;
}

p {
    padding: 4px;
}

/*- Шапка*/

body {
    font-family: 'Inter', sans-serif;
    background-color: white;
    color: black;
}

a {
    color: black;
    text-decoration: none;
}

ul {
    list-style: none;
    display: flex;
    gap: 40px;
}

.container {
    max-width: 1010px; 
    margin-right: auto;
    margin-left: auto;
    padding: 2em;
}

hr {
    display: block;
    height: 1px;
    background-color: #E6E6E6;
}

.header .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header_nav a {
    opacity: 0.75;
}

.header_nav a:hover {
    opacity: 0.9;
    transition: 0.3s;
}

.header_nav a.active_page {
    opacity: 1;
}

/*-Мейн */

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    
    color: white;
    background: black;
    border-radius: 10px;

    width: 180px;
    height: 70px;
    transition: opacity 0.3s;
}

.btn:hover{
    opacity: 0.8;
}

.bold64_100 {
    font-size: 64px;
    font-weight: bold;
}

.regular16_75 {
    opacity: 0.75;
}

.logo {
    float: right;
    width: 100%;
    max-width: 248px;
}

.td_logo {
    width: 750px;
}

/*- Автопарк*/

.text_center{
    text-align: center;
}

.bold16_100 {
    font-size: 16px;
    font-weight: bold;
}

.bold40_100 {
    font-size: 40px;
    font-weight: bold;
}

.transport_list_img {
    max-width: 260px;
    max-height: 352px;
    border-radius: 45px;
    object-fit: cover;
    transition: opacity 0.3s;
}

.transport_list_img:hover {
    opacity: 0.8;
}

.transport_list_card{
    margin: 0;
}

.mgn10{
    margin-top: 30px;
}

/*- Футер */

.footer .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer_nav a {
    opacity: 0.75;
}

.footer_nav a:hover {
    opacity: 0.9;
    transition: 0.3s;
}

.footer_nav a.active_page {
    opacity: 1;
}

/* Ордер таблицы */

.order_table {
    border: 2px solid black; 
    margin: auto;
    border-collapse: collapse;
}

.order_table td {
    border: 1px solid black;
    padding: 10px;
    text-align: center;
}

.double_table{
    margin: auto;
}

@media screen and (max-width: 768px) {
    * {
        font-size: 14px;
    }
    
    .container {
        padding: 1em;
        max-width: 100%;
    }
    
    .header .container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 1em;
    }
    
    .header_nav {
        width: 100%;
    }
    
    .header_list {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        width: 100%;
    }
    
    .header_list a {
        display: block;
        padding: 8px 12px;
    }
    
    .welcome table {
        display: flex;
        flex-direction: column-reverse;
    }
    
    .welcome table tr {
        display: flex;
        flex-direction: column;
    }
    
    .welcome table td {
        width: 100% !important;
        padding: 10px 0;
    }
    
    .td_logo {
        width: 100% !important;
        padding: 0;
    }
    
    .logo {
        float: none;
        max-width: 200px;
        margin: 0 auto;
        display: block;
    }
    
    .bold64_100 {
        font-size: 36px;
        text-align: center;
    }
    
    .bold40_100 {
        font-size: 28px;
        text-align: center;
    }
    
    .regular16_75 {
        text-align: center;
        font-size: 14px;
    }
    
    .btn {
        margin: auto;
    }
    
    .transport_list_card {
        display: flex;
        flex-direction: column;
    }
    
    .transport_list_card table {
        display: flex;
        flex-direction: column;
    }
    
    .transport_list_card tr {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 30px;
        padding: 15px;
        border: 1px solid #eee;
        border-radius: 10px;
    }
    
    .transport_list_card td {
        width: 100% !important;
        padding: 10px 0;
    }
    
    .transport_list_img {
        width: 100%;
        max-width: 300px;
        height: 250px;
        border-radius: 20px;
    }
    
    .transport_list table tr {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .transport_list table tr td {
        width: calc(50% - 10px) !important;
        margin: 5px;
    }
    
    .order_table {
        font-size: 12px;
        width: 100%;
    }
    
    .order_table td {
        padding: 8px 5px;
    }
    
    .double_table {
        display: flex;
        flex-direction: column;
    }
    
    .table_column {
        width: 100% !important;
        margin-bottom: 30px;
    }
    
    .table_column table {
        width: 100%;
    }
    
    .footer .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer_nav {
        width: 100%;
    }
    
    .footer_list {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .footer_list a {
        display: block;
        padding: 8px 12px;
    }
    
    hr {
        margin: 20px 0;
    }
    
    .mgn10 {
        margin-top: 20px;
    }

    @media screen and (max-width: 480px) {
        .bold64_100 {
            font-size: 28px;
        }
        
        .bold40_100 {
            font-size: 24px;
        }
        
        .transport_list_img {
            height: 200px;
        }
        
        .transport_list table tr td {
            width: 100% !important;
            margin: 5px 0 !important;
        }
        
        .order_table {
            font-size: 11px;
        }
        
        .order_table td {
            padding: 6px 3px;
        }
        
        .header_list,
        .footer_list {
            gap: 10px;
        }
        
        .header_list a,
        .footer_list a {
            padding: 6px 10px;
            font-size: 13px;
        }
    }
    
    .transport_list_card table,
    .transport_list table,
    .order_table,
    .double_table {
        display: block;
        width: 100%;
        overflow-x: auto;
    }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 90%;
        padding: 1.5em;
    }
    
    .bold64_100 {
        font-size: 48px;
    }
    
    .logo {
        max-width: 200px;
    }
    
    .td_logo {
        width: auto;
    }
    
    .transport_list_img {
        width: 220px;
        height: 300px;
    }
    
    .header_list,
    .footer_list {
        gap: 20px;
    }
}