123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436 |
- body {
- margin: 0;
- font-family: Georgia, 'Times New Roman', Times, serif;
- }
- html {
- box-sizing: border-box;
- }
- *,
- *:before,
- *:after {
- box-sizing: inherit;
- }
- .wrapper {
- max-width: 100%;
- position: relative;
- overflow: hidden;
- display: flex;
- flex-direction: column;
- }
- img {
- max-width: 100%;
- height: auto;
- vertical-align: top;
- }
- .header {
- position: relative;
- background: #D2B837;
- padding: 15px 30px;
- }
- .header-wrap {
- display: flex;
- align-items: center;
- }
- #burger {
- position: absolute;
- left: -99999999px;
- opacity: 0;
- visibility: hidden;
- }
- .burger {
- display: block;
- height: 16px;
- width: 26px;
- position: relative;
- cursor: pointer;
- }
- .burger:before,
- .burger:after {
- content: '';
- }
- .burger:before,
- .burger span,
- .burger:after {
- height: 2px;
- position: absolute;
- left: 0;
- right: 0;
- background: #000;
- border-radius: 2px;
- }
- .burger:before {
- top: 0;
- }
- .burger span {
- top: 7px;
- }
- .burger:after {
- bottom: 0px;
- }
- #burger:checked+.burger span {
- opacity: 0;
- }
- #burger:checked+.burger:before {
- transition: transform .3s ease-in-out;
- transform: rotate(45deg);
- top: 7px;
- }
- #burger:checked+.burger:after {
- transition: transform .3s ease-in-out;
- transform: rotate(-45deg);
- bottom: 7px;
- }
- #burger:checked~.nav-list {
- transition: opacity .3s case-in-out;
- opacity: 1;
- visibility: visible;
- }
- .nav {
- display: flex;
- align-items: center;
- justify-content: flex-end;
- flex-grow: 1;
- }
- .nav-list {
- display: block;
- list-style: none;
- margin: 0;
- padding-left: 0;
- position: absolute;
- top: 100%;
- left: 0;
- right: 0;
- background: #D2B837;
- text-align: center;
- opacity: 0;
- visibility: hidden;
- }
- .nav-item {
- padding-bottom: 15px;
- }
- .nav-link {
- color: black;
- text-decoration: none;
- }
- .nav-link:hover {
- opacity: .7;
- }
- .content {
- display: flex;
- flex-grow: 1;
- flex-direction: column;
- }
- .aside {
- display: flex;
- min-width: 210px;
- width: 100%;
- padding: 10px;
- justify-content: center;
- }
- .aside-left {
- background: pink;
- }
- .aside-right {
- background: #9cb1c7;
- }
- .main {
- padding: 20px;
- text-align: center;
- display: flex;
- flex-direction: column;
- flex-grow: 1;
- }
- h1 {
- font-size: 16px;
- }
- .boxes {
- display: flex;
- flex-wrap: wrap;
- justify-content: space-around;
- }
- .box {
- height: 35vh;
- max-height: 450px;
- min-height: 250px;
- width: calc(30vw - 20px);
- max-width: 400px;
- min-width: 200px;
- margin-bottom: 10px;
- border: 2px solid grey;
- border-radius: 25px;
- display: flex;
- flex-direction: column;
- justify-content: space-around;
- align-items: center;
- }
- .pict {
- height: 50px;
- width: 50px;
- border-radius: 50%;
- border: 8px solid #c798b9;
- margin-top: 15px;
- }
- h2 {
- font-size: 14px;
- }
- .about {
- display: flex;
- flex-grow: 1;
- flex-direction: column;
- align-items: center;
- justify-content: space-around;
- }
- p {
- font-size: 11px;
- }
- .btncontainer {
- height: auto;
- width: 100%;
- }
- .btn {
- height: 18px;
- width: 37px;
- background: #685274;
- color: white;
- border-radius: 25px;
- border-style: none;
- margin-bottom: 15px;
- text-align: center;
- }
- .btn:hover {
- transition: all .3s ease-in;
- opacity: .8;
- background-color: #86ec86;
- border: 2px solid #0e7f12;
- }
- .task3 {
- display: flex;
- flex-wrap: wrap;
- justify-content: center;
- margin-top: 20px;
- }
- .holder {
- display: flex;
- flex-wrap: wrap;
- height: 100px;
- width: 300px;
- border: 2px solid black;
- border-radius: 25px 25px 0px 0px;
- background: #0e7f12;
- }
- .holder>.item:first-child {
- background-color: #fd644d;
- order: 1;
- flex-grow: 1;
- border-radius: 25px 0px 0px 0px;
- }
- .holder>.item:last-child {
- background-color: #fda429;
- order: 2;
- flex-grow: 1;
- border-radius: 0px 25px 0px 0px;
- }
- .holder>.item:nth-child(3) {
- background-color: #663797;
- order: 3;
- height: 48px;
- width: 98px;
- }
- .holder>.item:nth-child(2) {
- background-color: #4983b2;
- order: 4;
- height: 48px;
- width: 99px;
- }
- .holder>.item:nth-child(4) {
- background-color: #0e7f12;
- order: 5;
- height: 48px;
- width: 99px;
- }
- .item {
- display: flex;
- justify-content: center;
- align-items: center;
- height: 50px;
- width: 100px;
- overflow: hidden;
- }
- .footer {
- background: #86ec86;
- padding: 10px;
- text-align: center;
- }
- @media(min-width: 1921px) {
- .boxes {
- justify-content: center;
- }
- .box {
- max-height: 600px;
- max-width: 450px;
- }
- }
- @media(min-width: 1024px) {
- .burger {
- display: none;
- }
- .nav-list {
- display: flex;
- align-items: center;
- opacity: 1;
- visibility: visible;
- position: static;
- }
- .nav-item {
- padding-bottom: 0;
- }
- .nav-item+.nav-item {
- padding-left: 15px;
- }
- .content {
- flex-direction: row;
- }
- .aside {
- max-width: 210px;
- }
- .aside-left {
- order: -1;
- }
- .pict {
- height: 120px;
- width: 120px;
- }
- .holder {
- height: 200px;
- width: 600px;
- }
- .holder>.item:nth-child(3) {
- height: 98px;
- width: 198px;
- }
- .holder>.item:nth-child(2) {
- height: 98px;
- width: 199px;
- }
- .holder>.item:nth-child(4) {
- height: 98px;
- width: 199px;
- }
- .item {
- height: 100px;
- width: 200px;
- }
- .box {
- margin: 10px 15px;
- }
- p {
- font-size: 12px;
- }
- .btn {
- height: 25px;
- width: 50px;
- }
- }
- @media(min-width: 768px) {
- .box {
- max-height: 350px;
- max-width: 250px;
- }
- .pict {
- height: 70px;
- width: 70px;
- }
- h2 {
- font-size: 14px;
- }
- .btn {
- height: 20px;
- width: 40px;
- }
- }
|