@import url("https://fonts.googleapis.com/css?family=Poppins|Lato|Roboto+Mono&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Arvo:ital,wght@0,400;0,700;1,400;1,700&display=swap');

*{
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-family: "Helvetica Neue", "Roboto Mono", "Poppins", sans-serif;
    font-family: "Oswald", "Arvo", "Poppins", sans-serif;
    color: black;
}
a{
    text-decoration: none;
}
body{
    background-color: white;
    background: linear-gradient(90deg, rgba(241,222,198,1) 7%, rgb(151, 55, 68) 55%, rgb(255, 164, 118) 100%);
}

:root{
    --a: #A02334;
    --b: #FF8343;
    --c: #F1DEC6;
    --d: #F2613F;
    --e: #9e5141;
    --f: #EAC696;
}

header{
    padding: 20px;
    display: flex;
    box-shadow: 0px 10px 41px -22px rgba(66, 68, 90, 1);
    background: rgb(241,222,198);
    background: linear-gradient(90deg, rgba(241,222,198,1) 7%, rgba(160,35,52,1) 55%, rgba(255,131,67,1) 100%);

    z-index: 10;
}
.left, .right{
    content: ' ';
    max-width: 200px;
    height: 100%;
    width: 5%;
} 
#logo{
    width: 100px;
    transform: rotate(0deg) scale(2);
    border-radius: 15px;
    padding: 10px;
    transition: 1s;
    z-index: 10;
}
nav{
    display: flex;
    align-items: center;
    margin-left: auto;
    width: 60%;
    justify-content: flex-end;
    gap: 5%;
    max-width: 900px;
}
.nav_button{
    box-shadow: 6px 6px 20px -7px rgba(66, 68, 90, 1);
    text-align: center;
    width: 100px;
    padding: 20px;
    border-radius: 25px;
    background-color: var(--c);
    font-weight: 500;
    position: relative;
    z-index: 5;
    background: linear-gradient(to left, var(--c) 50%, var(--f) 50%) right;
    background-size: 200% 100%;
    transition: 1s;
    opacity: 1;
    cursor: pointer;
}
.nav_button:hover{
    background-position: left;
    transition: 1s;
}
.nav_list{
    position: absolute;
    visibility: hidden;
    top: 50%;
    left: 0;
    z-index: 2;
    background-color: var(--c);
    width: 100%;
    border-radius:25px;
    padding-bottom: 20px;
    transform: scaleY(0);
    transform-origin: top;
    transition: 1s;
}
.list_button{
    text-align: center;
    display: block;
    margin-top: 3px;
    padding-top: 1px;
    padding-bottom: 1px;
    background: linear-gradient(to left, var(--c) 50%, var(--f) 50%) right;
    background-size: 200% 100%;
    transition: 1s;
}
.list_button:hover{
    background-position: left;
    transition: 1s;
}

#list_1:hover > #nav_list_1{
    top: 0%;
    visibility: visible;
    transition: 1s;
    padding-top: 70px;
    transform: scaleY(1);
    box-shadow: 6px 6px 20px -7px rgba(66, 68, 90, 1);
}
#list_1:hover > #list_1_button{
    box-shadow: none;
    transition: 1s;
    background-position: left;
    transition: 1s;
}
#list_2:hover > #nav_list_2{
    top: 0%;
    visibility: visible;
    transition: 1s;
    padding-top: 70px;
    transform: scaleY(1);
    box-shadow: 6px 6px 20px -7px rgba(66, 68, 90, 1);
}
#list_2:hover > #list_2_button{
    box-shadow: none;
    transition: 1s;
    background-position: left;
    transition: 1s;
}
#nav_mobile{
    margin-left: auto;
}
#bar{
    display: none;
    font-size: 50px;
}
#x_bar{
    display: none;
    font-size: 50px;
}




#carousel{
    padding: 20px;
    padding-bottom: 50px;
    display: flex;
    justify-content: space-evenly;
}

#carousel_left{
    width: 40%;
    position: relative;
    padding-left: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
#left_arrow_cover{
    position: absolute;
    top: 50%;
    left: -10%;
    cursor: pointer;
    width: 5rem;
    height: 3rem;
    display:flex;
    justify-content: center;
    align-items: center;
}
#left_arrow{
    width: 2rem;
    height: 2rem;
    background: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 256 256'%3E%3Cpolygon points='225.813,48.907 128,146.72 30.187,48.907 0,79.093 128,207.093 256,79.093' fill='%23333'%3E%3C/polygon%3E%3C/svg%3E");
    background-size: cover;
    transform: rotate(90deg);
    transition: 0.3s;
}
#left_arrow_cover:hover > #left_arrow{
    transform: translateX(-10px) rotate(90deg);
    transition: 0.4s;
    transition-timing-function: cubic-bezier(.5,-1.5,.2,2.5);
}
#carousel_info{
    transition: 1s;
    overflow: hidden;
    padding-left: 50px;
    padding-right: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    background-color: var(--e);
    border-radius: 25px;
    box-shadow: 6px 6px 20px -7px rgba(66, 68, 90, 1);
    min-height: 100%;
}
#carousel_header{
    padding-top: 25px;
    color:white;
    font-family: "Poppins";
    font-weight: 500;
    letter-spacing: 1.5px;
    font-size: 3rem;
}
#carousel_text{
    font-weight: 300;
    color:white;
    font-family: "Poppins";
    padding-bottom: 25px;
}
.hide_text_1{
    animation: hide-text 1s 0.3s;
}
.hide_text_2{
    animation: hide-text 1s;
}
.show_text_1{
    animation: show-text 1s;
}
.show_text_2{
    transform: translate(-50%, 0) scaleX(0.5);
    opacity: 0;
    animation: show-text 1s 0.3s;
    animation-fill-mode: forwards;
}
.arrow_right_anim{
    animation: arrow-right-anim 0.5s;
}
.arrow_left_anim{
    animation: arrow-left-anim 0.5s;
}
@keyframes hide-text {
    0% {
      transform: translate(0, 0) scaleX(1);
      opacity: 1;
    }
    100% {
      transform: translate(-50%, 0) scaleX(0.5);
      transform-origin: left;
      opacity: 0;
    }
  }
@keyframes show-text {
    0% {
        transform: translate(-50%, 0) scaleX(0.5);
        transform-origin: left;
        opacity: 0;
      }
      100% {
        transform: translate(0, 0) scaleX(1);
        transform-origin: left;
        opacity: 1;
      }
}
@keyframes hide-image {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100%{
        opacity: 0;
        transform: scale(0.5);
    }
}
@keyframes show-image {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    100%{
        opacity: 1;
        transform: scale(1);
    }
}
@keyframes arrow-right-anim {
    0% {
        transform: scale(1);
    }
    15%{
        transform: translateX(-10px);
    }
    50%{
        transform: translateX(20px) scale(1.4);
    }
    100%{
        transform: translateX(0px) scale(1);
    }
}
@keyframes arrow-left-anim {
    0% {
        transform: scale(1);
    }
    15%{
        transform: translateX(10px);
    }
    50%{
        transform: translateX(-20px) scale(1.4);
    }
    100%{
        transform: translateX(0px) scale(1);
    }
}
#carousel_link{
    margin-bottom: 25px;
    text-align: center;
    font-weight: 500;
    font-size: 1.2rem;
    background-color: var(--c);
    width: 100px;
    padding: 20px;
    box-shadow: 6px 6px 20px -7px rgba(66, 68, 90, 1);
    margin-left: auto;
    margin-right: auto;
    border-radius: 25px;
    background: linear-gradient(to left, var(--c) 50%, var(--f) 50%) right;
    background: linear-gradient(to left, var(--f) 60%, var(--c) 70%, var(--f) 95%) right;
    background-size: 300% 100%; /*przy pierwszej opcji bylo 200% 100%, przy drugiej jest 300% 100%*/
    transition: 1s;
}
#carousel_link:hover{
    background-position: left;
    transition: 1s;
}

#carousel_right{
    width: 40%;
    position: relative;
    padding-right: 25px;
}
#right_arrow_cover{
    position: absolute;
    top: 50%;
    right: -10%;
    cursor: pointer;
    width: 5rem;
    height: 3rem;
    display:flex;
    justify-content: center;
    align-items: center;
}
#right_arrow{
    width: 2rem;
    height: 2rem;
    background: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 256 256'%3E%3Cpolygon points='225.813,48.907 128,146.72 30.187,48.907 0,79.093 128,207.093 256,79.093' fill='%23333'%3E%3C/polygon%3E%3C/svg%3E");
    background-size: cover;
    transform: rotate(270deg);
    transition: 0.3s;
}
#right_arrow_cover:hover > #right_arrow{
    transform: translateX(10px) rotate(270deg);
    transition: 0.4s;
    transition-timing-function: cubic-bezier(.5,-1.5,.2,2.5);
}

.main_h1{
    padding-top: 50px;
    text-align: center;
    color:white;
    font-family: "Poppins";
    letter-spacing: 2px;
}

.review_h2{
    font-size: 2.3rem;
    text-align: center;
    color:white;
    font-family: "Poppins";
    letter-spacing: 2px;
}.review_h4{
    font-size: 150%;
    color: white;
    padding-bottom: 15px;
    text-align: center;
}
#info{
    padding-top: 50px;
    padding-bottom: 50px;
    display: flex;
    justify-content: center;
    gap: 20px;
}
#info_left{
    display:flex;
    flex-wrap: wrap;
    padding: 25px;
    border-radius: 25px;   
    width: 40%;
    background-color: var(--e);
    box-shadow: 0px 10px 41px -22px rgba(66, 68, 90, 1);
}
#info_left_text{
    font-weight: 500;
    font-size: 1.2rem;
    font-family: "Poppins";
    color: white;
    width: 49%;
}
#info_left_contact{
    display:flex;
    flex-wrap: wrap;
    flex-direction: column;
    font-weight: 600;
    font-size: 1.3rem;
    font-family: "Poppins";
    color: white;
    width: 49%;
    text-align: right;
}
.info_left_contact_text{
    font-weight: 600;
    font-size: 1.3rem;
    font-family: "Poppins";
    color: white;
}
#info_right{
    padding: 25px;
    border-radius: 25px;
    font-weight: 500;
    font-size: 1.5rem;
    font-family: "Poppins";
    color: white;
    width: 40%;
    background-color: var(--e);
    box-shadow: 0px 10px 41px -22px rgba(66, 68, 90, 1);
}
.info_h4{
    width: 100%;
    font-weight: 700;
    font-size: 1.5rem;
    font-family: "Poppins";
    color: white;
    padding-bottom: 15px;
    text-align: center;
}



#container{
    background-color: var(--e);
    border-radius: 25px;
    box-shadow: 6px 6px 20px -7px rgba(66, 68, 90, 1);
    margin: 3%;
    margin-left: auto;
    margin-right: auto;
    padding: 25px;
    max-width: 800px;
}
.container_h1{
    color: white;
    display: block; 
    text-align: center; 
    height: 250px; 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
    align-items: center;
}
.container_img{
    display: inline-block; 
    border-radius: 100%; 
    height: 250px; 
    float:left;
}

hr{
    margin: 10px;
    border-color: var(--c);
}

li{
    color: white;
    font-size: 1.1rem;
}

footer{
    display: flex;
    justify-content: space-between;
    padding: 20px;
    color: white;
    box-shadow: 0px -10px 41px -22px rgba(66, 68, 90, 1);
    background: rgb(241,222,198);
    background: linear-gradient(90deg, rgba(241,222,198,1) 7%, rgba(160,35,52,1) 55%, rgba(255,131,67,1) 100%);
    align-items: center;
    z-index: 10;
}
p{
    text-align: justify;
}



@media (max-width: 1230px){
    #carousel{
        padding: 0px;
        padding-top: 20px;
        padding-bottom: 50px;
    }
    #carousel_header{
        font-size: 2.5rem;
    }
    #info_left_text{
        width: 100%;
        text-align: left;

    }
    #info_left_contact{
        margin-top: 20px;
        width: 100%;
        text-align: center;
    }
}
@media (max-width: 900px){
    footer{
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    #container{
        margin:3%;
    }
    nav{
        position: absolute;
        top: 90px;
        left: 0;
        flex-wrap: wrap;
        justify-content: center;
        align-content: flex-start;
        row-gap: 50px;
        min-height: 60%;
        backdrop-filter: blur(10px);
        transition: 0.7s;
        padding-top: 50px;
        padding-bottom: 20px;
        border-radius: 25px;
        width: 100%;
        z-index: 99;
        transform-origin: top;
        transform: scaleY(0);
    }
    .nav_active{
        transform-origin: top;
        transform: scaleY(1);
    }
    #bar{
        display: block;
        position: absolute;
        right: 5%;
        transform: scale(1);
        transition: 0.5s;
    }
    #x_bar{
        display: block;
        position: absolute;
        right: 5%;
        transform: scale(0);
        transition: 0.5s;
    }
}
@media (max-width: 690px){
    .container_h1{
        width: 100%;
        height: auto;
        padding: 10px;
        padding-top: 10px;
    }
    .container_img{
        display: block;
        margin-left: auto;
        margin-right: auto;
        float: none;
    }
    
    #logo{
        width: 70px;
    }
    

    #carousel{
        padding: 0px;
        padding-top: 20px;
        padding-bottom: 50px;
    }
    #carousel_left{
        display: none;
    }
    #carousel_right{
        padding-right: 0;
        width: 100%;
    }
    #carousel_header{
        font-size: 2.5rem;
    }
    #carousel_info{
        padding-left: 25px;
        padding-right: 25px;
    }
    #right_arrow_cover{
        display: none;
    }

    #info{
        flex-wrap: wrap;
    }
    #info_left{
        width: 80%;

    }
    #info_right{
        width: 80%;
    }
}