body { margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; background: #000000; } #header { height: 70px; padding: 0; margin: 0px 0px 1px 0px; display: block; width: 100%; } #line { background: #a45d27; height: auto; display: inline-block; margin: 0; padding: 0px; vertical-align: top; } #line1 { height: auto; display: inline-block; padding: 0px; vertical-align: top; width: 45%; margin: 0px 0px 0px 0px; background: white; } #line_2 { width: 2%; background: white; display: inline-block; } #line_5 { width: 5%; background: white; display: inline-block; } #line_8 { width: 8%; background: white; display: inline-block; } #line_17 { width: 17%; background: #b4a997; display: inline-block; border-radius: 9%; } #line_18 { width: 18%; background: white; display: inline-block; } #red1 { width: 45%; display: inline-block; float: left; background: red; } #red2 { width: 45%; display: inline-block; float: right; background: red; } p { margin: 15px 0; font-family: Arial, sans-serif; font-size: 19px; text-align: left; line-height: 27px; } h1 { font-family: Arial, sans-serif; } img { width: 100%; max-width: 100%; } section { clear: right; } p { margin: 15px 0; } a { color: #06c; } #main_nav li { float: left; position: relative; width: auto; list-style: none; -webkit-transition: .5s; transition: .5s; left: 10%; } #main_nav > ul > li > a, h1 { text-transform: uppercase; } #main_nav a { display: block; text-decoration: none; padding: 5px 15px; color: #000; } #main_nav ul ul { position: absolute; left: 0; top: 100%; visibility: hidden; opacity: 0; } #main_nav ul ul ul { left: 100%; top: 0; } #main_nav li:hover, #main_nav li:hover li { background: #b4a997; } #main_nav li li:hover, #main_nav li li:hover li { background: #a79877; } #main_nav li li li:hover { background: #999; } #main_nav li:hover > ul { visibility: visible; opacity: 1; } form { width:400px; margin:auto; margin-top: 250px; } input{ padding:4px 10px; border:0; font-size:16px; } .search { width: 75%; } .submit{ width: 70px; background-color: #a45d27; color:#ffffff; } .scale { transition: 1s; } .scale:hover { transform: scale(1.1); } #toTop { position:fixed; z-index:9999; bottom:10px; right:10px; background: url('https://cdn.icon-icons.com/icons2/1244/PNG/512/1492790982-2arrow-up_84181.png') no-repeat; height: 3%; width: 4%; height: auto; border: none; padding: 1%; cursor: pointer; color: white; text-decoration: none; border-radius: 50%; } .flexdir { flex: auto; } .c { min-width: 700px; width: 100%; height: 370px; border-radius: 12px; padding: 20px; padding-bottom: 40px; box-shadow: 0 8px 48px 2px hsla(10 6% 15% / .4); display: flex; align-items: flex-end; justify-content: center; position: relative; overflow: hidden; background: hsl(0 0% 90%); box-sizing: border-box; } .ci { position: absolute; top: 0; left: 0; width: inherit; height: inherit; transform-origin: left 50%; background: inherit; z-index: var(--z); transition: .3s ease-out; } .ci img { -moz-user-select: none; user-select: none; } .ch { position: absolute; top: 70%; left: 4%; transform: translateY(-50%); font-size: 2rem; color: hsla(var(--h) var(--s) var(--l) / .8); text-shadow: 0 2px 10px hsla(var(--h) var(--s) 10% / .3); } input { position: absolute; left: 0; top: 0; opacity: 0; z-index: -10; } label { width: 10%; height: 10px; margin-right: 4px; border-radius: 20px; background: hsla(0 0% 90% / .3); cursor: pointer; position: relative; z-index: 10; } label:last-child { margin-right: 0; } input:checked+label { background: linear-gradient(to right, hsla(var(--hue) 80% 70% / .7), hsla(calc(var(--hue) + 30) 80% 50% / .7)); } input:not(:checked)+label+.ci { transform: translateX(-100%); opacity: 0; } input:checked+label+.ci~.ci { transform: translateX(100%); } input:not(:checked)+label+.ci { transition: 0; } #mama{ background: #000000; width: 20%; height: auto; display: inline-block; margin-left: 4%; float: center; vertical-align: middle; border-radius: 15%; } #papa{ background: #000000; width: 35%; height: auto; display: inline-block; margin-left: 10%; float: center; vertical-align: top; font-size: 115%; border-radius: 5%; } .button { border: none; outline: none; display: inline-block; text-align: center; text-decoration: none; cursor: pointer; font-size: 16px; font-family: Roboto, Verdana, Tahoma, sans; padding: 12px 16px; border-radius: 100px; color: #fff; } .button i { margin-right: 4px; } .button + .button { margin-left: 6px; } .button.blue { background: #2196F3; } .button.purple { background: #9b59b6; } .button:hover { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); } .button:hover.blue { background: #39a1f4; } .button:hover.purple { background: #a66bbe; } .button:active { box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2); text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); } .button:active.blue { background: #0d8aee; } .button:active.purple { background: #8f4bab; } .underline-one { color: #00bfff; position: relative; cursor: pointer; text-decoration: none; } .underline-one:after { content: ""; display: block; position: absolute; right: 0; bottom: -3px; width: 0; height: 2px; background-color: black; transition: width 0.5s; } .underline-one:hover:after { content: ""; width: 100%; display: block; position: absolute; left: 0; bottom: -3px; height: 2px; background-color: red; transition: width 0.5s; } .calendar{ margin:.25em 10px 10px 0; padding-top:5px; float:left; width:80px; background:#ededef; background: -webkit-gradient(linear, left top, left bottom, from(#ededef), to(#ccc)); background: -moz-linear-gradient(top, #ededef, #ccc); font:bold 30px/60px Arial Black, Arial, Helvetica, sans-serif; text-align:center; color:#000; text-shadow:#fff 0 1px 0; -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; position:relative; -moz-box-shadow:0 2px 2px #888; -webkit-box-shadow:0 2px 2px #888; box-shadow:0 2px 2px #888; } .calendar em{ display:block; font:normal bold 50%/80% Arial, Helvetica, sans-serif; color:#fff; text-shadow:#00365a 0 -1px 0; background:#04599a; background:-webkit-gradient(linear, left top, left bottom, from(#04599a), to(#00365a)); background:-moz-linear-gradient(top, #04599a, #00365a); -moz-border-radius-bottomright:3px; -webkit-border-bottom-right-radius:3px; border-bottom-right-radius:3px; -moz-border-radius-bottomleft:3px; -webkit-border-bottom-left-radius:3px; border-bottom-left-radius:3px; border-top:1px solid #00365a; } .calendar:before, .calendar:after{ content:''; float:left; position:absolute; top:5px; width:8px; height:8px; background:#111; z-index:1; -moz-border-radius:10px; -webkit-border-radius:10px; border-radius:10px; -moz-box-shadow:0 1px 1px #fff; -webkit-box-shadow:0 1px 1px #fff; box-shadow:0 1px 1px #fff; } .calendar:before{ left:11px; } .calendar:after{ right:11px; } .calendar em:before, .calendar em:after{ content:''; float:left; position:absolute; top:-5px; width:4px; height:14px; background:#dadada; background:-webkit-gradient(linear, left top, left bottom, from(#f1f1f1), to(#aaa)); background:-moz-linear-gradient(top, #f1f1f1, #aaa); z-index:2; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; } .calendar em:before{ left:13px; } .calendar em:after{ right:13px; } .overlay { top: 0; right: 0; bottom: 0; left: 0; z-index: 1; visibility: hidden; background-color: rgba(0, 0, 0, 0.7); opacity: 0; position: fixed; cursor: default; -webkit-transition: opacity .5s; -moz-transition: opacity .5s; -ms-transition: opacity .5s; -o-transition: opacity .5s; transition: opacity .5s; } .overlay:target { visibility: visible; opacity: 1; } .is-image { top: 0; right: 0; bottom: 0; left: 0; display:block; margin: 10&; width: 100%; height: auto; -webkit-border-radius: 4px; -moz-border-radius: 4px; -ms-border-radius: 4px; border-radius: 4px; } embed, iframe { top: 0; right: 0; bottom: 0; left: 0; display:block; margin: auto; min-width: 320px; max-width: 600px; width: 100%; } .popup h1 { color: #008000; text-align: left; text-shadow: 0 1px 3px rgba(0,0,0,.3); font:24px 'Trebuchet MS', Helvetica, sans-serif; font-weight: bold; } .popup h2 { color: #008000; text-align: left; text-shadow: 0 1px 3px rgba(0,0,0,.3); font:22px 'Trebuchet MS', Helvetica, sans-serif; } .popup { top: 0; right: 0; left: 0; font-size: 14px; z-index: 10; display: block; visibility: hidden; margin: 0 auto; width: 90%; min-width: 320px; max-width: 600px; position: fixed; padding: 15px; border: 1px solid #383838; -webkit-border-radius: 4px; -moz-border-radius: 4px; -ms-border-radius: 4px; border-radius: 4px; background-color: #FFFFFF; -webkit-box-shadow: 0 0 6px rgba(0, 0, 0, 0.8); -moz-box-shadow: 0 0 6px rgba(0, 0, 0, 0.8); -ms-box-shadow: 0 0 6px rgba(0, 0, 0, 0.8); -o-box-shadow: 0 0 6px rgba(0, 0, 0, 0.8); box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.8); opacity: 0; -webkit-transition: all ease .5s; -moz-transition: all ease .5s; -ms-transition: all ease .5s; -o-transition: all ease .5s; transition: all ease .5s; } .overlay:target+.popup { top: 20%; visibility: visible; opacity: 1; } .close { position: absolute; top: -10px; right: -10px; padding: 0; width: 20px; height: 20px; border: 2px solid #ccc; -webkit-border-radius: 15px; -moz-border-radius: 15px; -ms-border-radius: 15px; -o-border-radius: 15px; border-radius: 15px; background-color: rgba(61, 61, 61, 0.8); -webkit-box-shadow: 0px 0px 10px #000; -moz-box-shadow: 0px 0px 10px #000; box-shadow: 0px 0px 10px #000; text-align: center; text-decoration: none; font-weight: bold; line-height: 20px; -webkit-transition: all ease .8s; -moz-transition: all ease .8s; -ms-transition: all ease .8s; -o-transition: all ease .8s; transition: all ease .8s; } .close:before { color: rgba(255, 255, 255, 0.9); content: "X"; text-shadow: 0 -1px rgba(0, 0, 0, 0.9); font-size: 12px; } .close:hover { background-color: rgba(252, 20, 0, 0.8); -webkit-transform: rotate(360deg); -moz-transform: rotate(360deg); -ms-transform: rotate(360deg); -o-transform: rotate(360deg); transform: rotate(360deg); } .popup p, .popup div { margin-bottom: 10px; } .slider { width: 100%; max-width: 600px; height: 400px; margin: 20px; text-align: center; border-radius: 20px; overflow: hidden; position: relative; } .slides { display: flex; overflow-x: scroll; position: relative; scroll-behavior: smooth; scroll-snap-type: x mandatory; } .slide:nth-of-type(even) { background-color: rgb(250, 246, 212); } .slide { display: flex; justify-content: center; align-items: center; flex-shrink: 0; width: 100%; height: 400px; margin-right: 0px; box-sizing: border-box; background: white; transform-origin: center center; transform: scale(1); scroll-snap-align: center; } .slide__text { font-size: 40px; font-weight: bold; font-family: sans-serif; } .slide a { background: none; border: none; } a.slide__prev, .slider::before { transform: rotate(135deg); -webkit-transform: rotate(135deg); left: 5%; } a.slide__next, .slider::after { transform: rotate(-45deg); -webkit-transform: rotate(-45deg); right: 5%; } .slider::before, .slider::after, .slide__prev, .slide__next { position: absolute; top: 48%; width: 35px; height: 35px; border: solid black; border-width: 0 4px 4px 0; padding: 3px; box-sizing: border-box; } .slider::before, .slider::after { content: ''; z-index: 1; background: none; pointer-events: none; } .slider__nav { box-sizing: border-box; position: absolute; bottom: 5%; left: 50%; width: 200px; margin-left: -100px; text-align: center; } .slider__navlink { display: inline-block; height: 15px; width: 15px; border-radius: 50%; background-color: black; margin: 0 10px 0 10px; } .read-article{ position: absolute; top: 10px; left: 10px; z-index: 999; color: #000; background: white; padding: 10px 20px; border-radius: 10px; font-family: arial; text-decoration: none; box-shadow: rgb(50 50 93 / 25%) 0 0 100px -20px, rgb(0 0 0 / 30%) 0 0 60px -15px; } .read-article:hover{ background: #d5d5d5; box-shadow: rgb(50 50 93 / 25%) 0 0 100px -20px, rgb(0 0 0 / 30%) 0 0 60px 0px; } iframe[sandbox] .read-article{ display: none; }