@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;600;700&family=Open+Sans:wght@300;400;500;600&display=swap');

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}

/* header style */

header{
    padding: auto 0;
    position: fixed;
    width: 100vw;
    height: 100px;
    background: #fff;
    box-shadow: 0px 10px 10px 0px rgba(5, 5, 5, 0.2);
    display: flex;
    align-items: center;
    z-index: 1;
}

.head-container{
    margin: 0 auto;
    max-width: 1200px;
    display: flex;
    gap: 50px;
    align-items: center;
}

.logotype{
    display: flex;
    gap: 15px;
    align-items: center;
}

.favicon{
    width: 30px;
}

a, a:visited{
    text-decoration: none;
}

.logo-title{
    color: #029F8c;
    font-family: 'caveat';
    font-size: 30px;
    font-weight: 600;
}

/* navigation style */

nav{
    display: flex;
    font-family: Arial, Helvetica, sans-serif;
    gap: 20px;
}

.nav-link{
    font-size: 19px;
    text-transform: uppercase;
    color: #029F8c;
}

.nav-link:after{
    display: block;
	left: 0; /*изменить на right:0;, чтобы изменить направление подчёркивания */
	width: 0;/*задаём длинну линии до наведения курсора*/
	height: 3px; /*задаём ширину линии*/
	background-color: #f7ab1e; /*задаём цвет линии*/
	content: "";
	transition: width .3s ease-out;
}

.nav-link:hover:after,
.nav-link:focus:after{
	width: 102%; /*устанавливаем значение 100% чтобы ссылка подчёркивалась полностью*/
}

.dropdown{
    position: relative;
    display: inline-block;
}

.dropdown .dropbtn{
    font-size: 16px;
    padding: 15px 25px;
    background-color: inherit;
    border: none;
    cursor: pointer;
}

.dropdown-content{
    display: none;
    position: absolute;
    box-shadow: 0 8px 16px 0px #00000033;
}

.dropdown-content a{
    border: none;
    display: block;
    text-align: center;
    text-decoration: none;
    color: #383838;
    background-color: #f2f2f2;
    padding: 10px;
    width: 210px;
    font-size: 20px;
    transition: all .3s;
}

.dropdown-content a:hover{
    color: #fff;
    background-color: #029F8c;
}

.dropdown:hover .dropdown-content{
    display: block;
}

.burger-menu{
    display: none;
}

/* footer */

footer{
    padding: 25px 50px 25px 0px;
    box-shadow: 0px -8px 8px 0px rgba(0, 0, 0, 0.2);
    background: linear-gradient(45deg, rgba(109,137,185,1) 0%, rgba(2,159,140,1) 25%, rgba(74,144,170,1) 85%, rgba(109,137,185,1) 100%);
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    color: #fff;
}

.footer-lists{
    display: flex;
    gap: 50px;
    margin-left: 100px;
    flex-wrap: wrap;
}

.list-title{
    opacity: 1;
    font-weight: 100;
    font-size: 20px;
    text-decoration: underline;
}

ul.footer-list{
    list-style: none;
    margin-top: 10px;
    padding-left: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

ul a,
.footer-link{
    color: #fff;
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 16px;
    opacity: 0.65;
    transition: all .5s;
}

ul a:hover{
    opacity: 1;
}

hr{
    width: 100vw;
    background: #fff;
    border: 1px solid #fff;
    opacity: 0.7;
    margin-left: 100px;
}


.footer-title, .footer-favicon{
    color: #fff;
    opacity: 0.7;
    font-size: 25px;
}

.payment-icons{
    width: 80%;
    opacity: 0.5;
}

/* burger-menu */
#menuToggle
{
    display: block;
    position: relative;
    top: 0px;
    left: 0px;
    z-index: 1;
    -webkit-user-select: none;
    user-select: none;
}

#menuToggle a
{
    text-decoration: none;
    color: #fff;
    transition: color 0.3s ease;
}

#menuToggle a:hover
{
    color: #f7ab1e;
}

#menuToggle input
{
    display: block;
    width: 40px;
    height: 32px;
    position: absolute;
    top: -7px;
    left: 15px;
    cursor: pointer;
    opacity: 0; /* hide this */
    z-index: 2; /* and place it over the hamburger */
    -webkit-touch-callout: none;
}

#menuToggle span
{
    display: block;
    width: 30px;
    height: 3px;
    margin-bottom: 5px;
    position: relative;
    background: linear-gradient(45deg, rgba(109,137,185,1) 0%, rgba(2,159,140,1) 25%, rgba(74,144,170,1) 85%, rgba(109,137,185,1) 100%);
    border-radius: 3px;
    margin-left: 20px;
    z-index: 1;
    transform-origin: 4px 0px;  
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
    background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
    opacity 0.55s ease;
}

#menuToggle span:first-child
{
    transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2)
{
    transform-origin: 0% 100%;
}

#menuToggle input:checked ~ span
{
    opacity: 0.9;
    transform: rotate(45deg) translate(-2px, -1px);
    background: #fff;
}

#menuToggle input:checked ~ span:nth-last-child(3)
{
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
}

#menuToggle input:checked ~ span:nth-last-child(2)
{
    transform: rotate(-45deg) translate(0, -1px);
}

#menu{   
    position: absolute;
    width: 100vw;
    height: 101vh;
    top: -40px;
    margin: 0px 0;
    padding: 0px 0px 0px 80px;
    padding-top: 150px;
    opacity: 1;
    background: linear-gradient(45deg, rgba(109,137,185,1) 0%, rgba(2,159,140,1) 25%, rgba(74,144,170,1) 85%, rgba(109,137,185,1) 100%);
    transform-origin: 0% 0%;
    transform: translate(-100%, 0);
    transition: transform .5s cubic-bezier(0.77,0.2,0.05,1.0);
}

#menu li
{
    padding: 15px 0;
    font-size: 28px;
}

#menuToggle input:checked ~ ul{
    transform: none;
}

.sub-item{
    font-size: 28px;
    margin-left: 20px;
    padding-bottom: 15px;
}

.burger-copyright{
    position: absolute;
    top: 10px;
    left: 20%;
    opacity: 1;
}

.burger-title, .burger-favicon{
    color: #fff;
    opacity: 1;
    font-size: 30px;
}

footer > .payment-icons{
    align-self: flex-start !important;
    max-width: 400px;
    opacity: 0.8;
    filter: grayscale(1);
    margin-left: 100px;
        /* display: none; */
}
