* {
    box-sizing: border-box;
    text-decoration: none;
    margin: 0;
    padding: 0;
}

body {
    padding-bottom: 58px;
    font-family: "Inter", sans-serif;
    color: #5e607a;
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 26px;
    /* background: linear-gradient(rgb(255, 255, 255), #4343436e); */
}

a {
    color: inherit;
}

.container {
    margin-right: auto;
    margin-left: auto;
    max-width: 1130px;
    padding-left: 10px;
    padding-right: 10px;
}

/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    min-height: 110px;
    width: 100%;
    margin-bottom: 40px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .1);
    padding: 10px;
}

.logo img {
    text-align: center;
    border-radius: 20px;
    width: 80px;
    height: 60px;
    background-size: contain;
    margin-left: 30px;
}

ul.menu {
    width: 410px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
}

button.burger,
button.cross {
    display: none;
}

a.menu-item-link {
    color: rgb(94, 96, 122);
}

a.menu-item-link img {
    transition: .5s;
}

a.menu-item-link img:hover {
    transform: scale(1.2);
}

header a {
    line-height: 1px;
}

/* MAIN */
/* Section */
main {
    display: flex;
    justify-content: center;
    /* align-items: center; */
    flex-wrap: wrap;
    column-gap: 30px;
    row-gap: 64px;
    margin-bottom: 71px;
}

section {
    max-width: 730px;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 730px;
}

section p span {
    font-weight: bold;
}

/* .bckg-news {
    background-image: url(./assets/News_photo/pay_later.jpeg);
    height: 370px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
} */

h1 {
    /* column-gap: 30px; */
    /* row-gap: 16px; */
    /* max-width: 350px; */
    font-weight: 800;
    font-size: 40px;
    line-height: 45px;
    /* color: #5E607A; */
    color: black;
    text-align: center;
}


h2 {
    text-align: center;
    margin-bottom: 50px;
}

section a {
    display: inline-block;
    color: #ff3131;
    font-weight: bold;
}

/* MAIN */
/* aside */
aside {
    max-width: 350px;
    height: 510px;
    background: #00001a;
    padding: 32px 24px;
    overflow-y: auto;
}

h3 {
    font-weight: 700;
    font-size: 40px;
    line-height: 40px;
    color: #e9aa52;
    margin-bottom: 34px;
}

h3 span {
    color: rgb(20, 113, 189);
}

aside article+article {
    border-top: 1px solid #5E607A;
    padding-top: 31px;
}

h4 {
    font-weight: 800;
    font-size: 20px;
    line-height: 24px;
    color: #fffdfa;
    margin-bottom: 8px;
}

aside p {
    color: #C5C6CE;
    margin-bottom: 29px;
}

aside h4 a {
    transition: all 0.5s ease-in-out;
    color: white;
}

aside h4 a:hover {
    color: #e9aa52;
}

/* FOOTER */
footer {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

footer article {
    max-width: 350px;
    min-height: 127px;
    background-repeat: no-repeat;
    padding-left: 124px;
}

footer span {
    display: inline-block;
    font-weight: 700;
    font-size: 32px;
    line-height: 32px;
    color: #c5c6ce;
    margin-bottom: 12px;
}

footer h5 {
    font-weight: 800;
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 9px;
    color: #00001a;
}

footer article h5 a {
    transition: all 0.5s ease-in-out;
}

footer article h5 a:hover {
    color: #F15D51;
}

.footer-contacts {
    border-top: 1px solid gray;
    margin-top: 20px;
    padding-top: 20px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    color: rgb(164, 163, 163);
}

.contact-ua {
    background-image: url(./assets/icons/ukraine.png);
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 25px;
    padding-left: 35px;
    
}

.contact-ca {
    background-image: url(./assets/icons/canada.png);
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 25px;
    padding-left: 35px; 
}


/* POPUP */

.popup {
    position: fixed;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
}

.popup:target {
    opacity: 1;
    visibility: visible;
}

.popup-body {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;

}

.popup-content {
    background-color: rgba(0, 0, 0, 0.7);
    color: #000;
    max-width: 100%;
    border-radius: 5px;
    padding: 30px;
    position: relative;
}

.popup-close {
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 20px;
    color: white;
}

.popup-title {
    text-align: center;
    /* line-height: 40px; */
    font-size: 35px;
    /* margin-bottom: 0, 0, 1em, 0; */
    margin-bottom: 30px;
    color: #fff;
}

.popup-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* font-size: 20px; */
    color: #fff;
}

input {
    max-width: 500px;
    min-width: 280px;
    padding: 15px;
    margin: 10px;
    outline: none;
    border: none;
}



.popup-form button {
    margin-top: 20px;
    max-width: 500px;
    min-width: 280px;
    height: 35px;
    font-weight: bold;
    background-color: #F15D51;
    border-radius: 10px;
    border: none;
    outline: none;
    cursor: pointer;
    transition: .5s;
}

.popup-form button:hover {
    transform: scale(1.1);
    background-color: #0773ff;
    color: white;
}

/* @MEDIA */

@media screen and (max-width: 580px) {
    ul.menu {
        width: 100%;
        gap: 15px;
    }
     header {
        flex-direction: column;
        justify-content: center;
        gap: 25px;
     }

     .logo img {
        margin-left: 0;
    }

     section {
        height: 100%;
     }

     aside {
        /* height: 510px; */
        height: 450px;
     }
}
