Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- * {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- }
- .container {
- max-width: 1000px;
- margin: auto;
- }
- button {
- cursor: pointer;
- outline: none;
- border: 0;
- border-radius: 5px;
- padding: 5px;
- background-color: black;
- color: rgb(255, 115, 0);
- font-size: 16px;
- transition: all 0.5s;
- }
- button:hover {
- background-color: rgb(255, 255, 255);
- }
- a {
- margin: 5px;
- padding: 5px;
- text-decoration: none;
- background-color: black;
- color: rgb(255, 115, 0);
- font-size: 20px;
- font-weight: 700;
- border-radius: 5px;
- transition: all 0.5s;
- }
- header a:hover {
- background-color: white;
- color: rgb(255, 115, 0);
- }
- h2 {
- font-size: 20px;
- color: rgb(255, 246, 239);
- }
- h4 {
- font-size: 16px;
- color: rgb(41, 18, 0);
- }
- /* Шапка */
- header {
- background: rgb(255, 115, 0);
- height: 60px;
- width: 100%;
- position: fixed;
- border-bottom: 1px solid black;
- }
- header .container {
- display: flex;
- justify-content: space-between;
- align-items: center;
- height: 100%;
- }
- .logo {
- height: 50px;
- width: 50px;
- }
- .logo img {
- width: 100%;
- }
- .menu {
- height: 100%;
- }
- .menu_list {
- display: flex;
- justify-content: space-between;
- align-items: center;
- height: 100%;
- }
- header li {
- list-style: none;
- display: block;
- }
- header a {
- margin: 5px;
- padding: 5px;
- background-color: black;
- color: rgb(255, 115, 0);
- font-size: 20px;
- font-weight: 700;
- border-radius: 5px;
- transition: all 0.5s;
- }
- header a:hover {
- background-color: white;
- color: rgb(255, 115, 0);
- }
- .burger {
- border-radius: 50%;
- padding: 10px;
- display: none;
- }
- .burger div {
- width: 20px;
- height: 5px;
- background-color: white;
- margin: 2px;
- border-radius: 5px;
- transition: all 0.2s;
- }
- .burger:hover div {
- background-color: black;
- }
- /* */
- /* */
- .call {
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- }
- /* Блок со слоганом */
- .slogan {
- padding-top: 80px;
- margin-bottom: 20px;
- }
- .slogan .container {
- display: flex;
- justify-content: space-evenly;
- align-items: center;
- }
- .slogan_text {
- width: 65%;
- padding: 20px;
- font-size: 20px;
- text-align: justify;
- border: 3px solid rgb(255, 115, 0);
- padding: 15px;
- }
- .slogan_btn {
- height: 250px;
- width: 250px;
- text-align: center;
- border-radius: 50%;
- font-size: 40px;
- padding: 80px 0;
- }
- .slogan_btn:hover {
- border: 10px solid rgb(255, 115, 0);
- }
- /* Особенности горящих туров */
- .specifices {
- padding: 40px 0;
- background: url("../Media/Images/4995833-plyazh-shezlongi-okean-rayskoe-mesto-letniy-otdyh-ekzotika-otpusk-uspokaivayuschie-iyul.jpg") no-repeat;
- background-size: 100%;
- }
- .preim, .nedost {
- display: flex;
- justify-content: center;
- align-items: center;
- }
- .preim_text, .nedost_text {
- margin: 20px 0 10px;
- color: black;
- text-transform: uppercase;
- background-color: rgba(255, 255, 255, 0.733);
- border: 3px solid rgb(255, 115, 0);
- border-radius: 50%;
- width: 200px;
- height: 200px;
- padding-top: 80px;
- text-align: center;
- }
- .preim_content, .nedost_content {
- margin: 20px;
- padding: 30px;
- background-color: rgba(255, 115, 0, 0.7);
- border-radius: 10px;
- }
- .preim_content h4, .nedost_content h4 {
- margin: 10px 0 20px;
- }
- /* Туры */
- .tours {
- padding: 40px 0;
- }
- .tours_items {
- display: flex;
- flex-direction: row;
- flex-wrap: wrap;
- }
- .tour {
- width: 30%;
- border: 2px solid black;
- padding: 20px;
- margin: 10px;
- text-align: center;
- }
- .tour_text {
- margin-top: 10px;
- background-color: rgba(255, 115, 0, 0.7);
- border-radius: 3px;
- }
- .tour_text h4 {
- color: brown;
- font-size: 30px;
- line-height: 1.5;
- }
- .tour img {
- width: 100%;
- height: auto;
- }
- .filter {
- display: flex;
- justify-content: center;
- }
- input[type="radio"] {
- display: none;
- }
- .filter label {
- background: orangered;
- color: wheat;
- font-size: 18px;
- padding: 10px;
- margin: 10px;
- border-radius: 5px;
- cursor: pointer;
- }
- #tf1:checked ~ .russia_tours,
- #tf1:checked ~ .indonezia_tours,
- #tf1:checked ~ .china_tours,
- #tf1:checked ~ .vietnam_tours {
- display: flex;
- }
- #tf2:checked ~ .russia_tours {
- display: flex;
- }
- #tf2:checked ~ .indonezia_tours,
- #tf2:checked ~ .china_tours,
- #tf2:checked ~ .vietnam_tours {
- display: none;
- }
- #tf3:checked ~ .indonezia_tours {
- display: flex;
- }
- #tf3:checked ~ .russia_tours,
- #tf3:checked ~ .china_tours,
- #tf3:checked ~ .vietnam_tours {
- display: none;
- }
- #tf4:checked ~ .china_tours {
- display: flex;
- }
- #tf4:checked ~ .indonezia_tours,
- #tf4:checked ~ .russia_tours,
- #tf4:checked ~ .vietnam_tours {
- display: none;
- }
- #tf5:checked ~ .vietnam_tours {
- display: flex;
- }
- #tf5:checked ~ .indonezia_tours,
- #tf5:checked ~ .china_tours,
- #tf5:checked ~ .russia_tours {
- display: none;
- }
- /* Отзывы */
- .otzyvi {
- background: rgb(255, 115, 0);
- padding-top: 10px;
- }
- .otzyvi .container {
- overflow: hidden;
- }
- .otz_labels {
- display: flex;
- justify-content: center;
- align-items: center;
- }
- .otzl {
- display: block;
- width: 10px;
- height: 10px;
- border-radius: 50%;
- border: 2px solid white;
- margin: 5px;
- cursor: pointer;
- }
- .otzl:hover {
- background-color: white;
- }
- .slider {
- margin: 40px 0;
- width: 400%;
- display: flex;
- }
- .otzyv {
- width: 25%;
- padding: 40px;
- border: honeydew 1px solid;
- }
- .otzyv_name {
- text-transform: uppercase;
- }
- .otzyv_date {
- font-size: 14px;
- color: rgb(71, 71, 71);
- margin-top: 5px;
- }
- .otzyv_text {
- margin-top: 15px;
- text-align: justify;
- line-height: 1.5;
- }
- .otzyvi #o1:checked ~ .slider>.otzyv:first-child {
- margin-left: 0;
- transition: all 0.5s;
- }
- .otzyvi #o2:checked ~ .slider>.otzyv:first-child {
- margin-left: -25%;
- transition: all 0.5s;
- }
- .otzyvi #o3:checked ~ .slider>.otzyv:first-child {
- margin-left: -50%;
- transition: all 0.5s;
- }
- .otzyvi #o4:checked ~ .slider>.otzyv:first-child {
- margin-left: -75%;
- transition: all 0.5s;
- }
- .up_btn {
- position: fixed;
- bottom: 10px;
- right: 10px;
- width: 50px;
- height: 50px;
- border-radius: 50%;
- font-size: 14px;
- padding-top: 15px;
- transition: all 1s;
- }
- @media (max-width: 812px) {
- .container {
- width: 811px;
- }
- }
- @media (max-width: 375px) {
- .container {
- width: 375px;
- }
- .menu {
- display: none;
- position: absolute;
- top: 60px;
- background-color: rgba(255, 115, 0, 0.5);
- width: 100%;
- }
- .burger {
- display: block;
- }
- .burger:hover ~ #menu {
- display: block;
- }
- .burger:hover ~ .menu_list {
- display: flex;
- flex-direction: column;
- align-items: center;
- width: 100%;
- }
- .burger:hover ~ .menu_list li {
- display: block;
- width: 100%;
- }
- h2 {
- font-size: 16px;
- }
- h4 {
- font-size: 13px;
- }
- .slogan .container {
- flex-direction: column;
- }
- .slogan_btn {
- margin-top: 15px;
- font-size: 16px;
- width: 150px;
- height: 150px;
- }
- .specifices {
- background-repeat: repeat;
- }
- .specifices div {
- flex-direction: column;
- }
- .tours div {
- flex-direction: column;
- }
- .tour {
- width: 100%;
- }
- .filter {
- display: flex;
- flex-direction: column;
- }
- .filter label {
- display: block;
- }
- }
RAW Paste Data