Files
Globaly-CSS-Practice/style/style.css
2024-06-03 12:30:44 +02:00

930 lines
17 KiB
CSS

@font-face {
font-family: "MerriweatherSans";
src: url("../assets/fonts/MerriweatherSans-Regular.ttf") format("truetype");
}
@font-face {
font-family: "Lato";
src: url("../assets/fonts/Lato-Bold.ttf") format("truetype");
}
@font-face {
font-family: "Merriweather";
src: url("../assets/fonts/Merriweather-Regular.ttf") format("truetype");
}
form {
width: 336px;
}
.socials-ul {
display: none;
}
nav {
color: white;
font-family: MerriweatherSans;
background-color: #4a4e55;
}
.navbar {
padding: 0 !important;
}
.form-container {
padding: 0;
}
.btn span {
padding-top: 10px;
color: #15c1c6;
width: 30px;
height: 30px;
}
.btn span:hover {
color: white;
transition: 0.5s;
}
.contact span {
color: #15c1c6;
}
input {
color: white !important;
}
#src-input {
background-color: #4a4e55;
padding: 0;
}
input::-moz-placeholder {
color: white !important;
}
input::placeholder {
color: white !important;
}
.number {
font-family: "Lato";
font-weight: 900;
font-style: normal;
cursor: pointer;
}
.number:hover {
color: #15c1c6;
transition: 0.5s;
}
#mail:hover {
color: #333333;
transition: 0.5s;
}
#mail {
font-family: MerriweatherSans;
color: #15c1c6;
text-decoration: underline;
font-size: 14px;
}
@media only screen and (min-width: 768px) {
form {
width: 250px !important;
background-color: #4a4e55;
padding-left: 34px;
padding-right: 15px;
}
.form-container {
padding-left: 0 !important;
padding-right: 15px !important;
}
.navbar {
background-color: #30343c;
height: 60px;
}
#socials {
height: 28px !important;
width: 28px !important;
margin-top: 0 !important;
padding-bottom: 0 !important;
display: flex;
align-items: center;
justify-content: center;
}
.horizontal-menu {
border-top: 1px solid #efefef;
}
.nav-ul-hor {
cursor: pointer;
color: #333333;
font-family: Lato, sans-serif;
font-weight: 900;
font-style: normal;
text-transform: uppercase;
list-style-type: none;
}
.nav-ul-hor .navs {
padding: 1rem;
}
.nav-ul-hor .navs:hover {
background-color: #15c1c6;
color: white;
transition: 0.3s;
}
}
@media only screen and (min-width: 992px) {
form {
margin-left: 55px;
margin-right: 72px;
}
.horizontal-menu {
border-top: none !important;
}
.navs {
padding: 45px 22px !important;
}
header {
padding: 0 96px !important;
}
}
@font-face {
font-family: "MerriweatherSans";
src: url("../assets/fonts/MerriweatherSans-Regular.ttf") format("truetype");
}
@font-face {
font-family: "Lato";
src: url("../assets/fonts/Lato-Bold.ttf") format("truetype");
}
@font-face {
font-family: "Merriweather";
src: url("../assets/fonts/Merriweather-Regular.ttf") format("truetype");
}
span {
text-transform: uppercase;
font-family: "Lato";
font-weight: bold;
}
.menu-toggle {
padding: 20px 8px 28px 8px;
cursor: pointer;
background-color: transparent;
border: none;
box-shadow: none;
color: #333333;
font-size: 18px;
}
.menu-toggle span {
color: #333333;
}
.dropdown {
position: relative;
display: inline-block;
width: 100%;
}
.dropdown-content {
min-width: 230px;
overflow: auto;
}
.dropdown-content .nav-ul {
position: relative;
width: auto !important;
padding: 0;
}
.dropdown-content .navs {
cursor: pointer;
color: #333333;
font-family: Lato, sans-serif;
font-weight: 900;
font-style: normal;
padding: 12px 16px;
text-transform: uppercase;
display: block;
border-bottom: 1px solid #e0e0e8;
width: 400px;
height: 50px;
background-color: white;
}
.links {
background-color: #333333;
}
#li-home {
background-color: #15c1c6;
color: white;
}
.dropdown-content .navs:hover {
background-color: #15c1c6;
color: white;
transition: 0.3s;
}
.show {
display: flex;
align-items: center;
justify-content: start;
flex-direction: column;
}
.socials-ul {
padding: 0 24px 24px;
display: flex;
margin-top: 24px;
}
#socials {
cursor: pointer;
list-style-type: none;
background-color: #15c1c6;
border-radius: 50%;
width: 40px;
height: 40px;
line-height: 40px;
padding: 0;
text-align: center;
margin-left: 5px;
font-size: 12px;
}
#socials i {
color: white;
}
#socials:hover {
transition: 0.3s;
background-color: white;
}
#socials:hover i {
color: #333333;
}
@font-face {
font-family: "MerriweatherSans";
src: url("../assets/fonts/MerriweatherSans-Regular.ttf") format("truetype");
}
@font-face {
font-family: "Lato";
src: url("../assets/fonts/Lato-Bold.ttf") format("truetype");
}
@font-face {
font-family: "Merriweather";
src: url("../assets/fonts/Merriweather-Regular.ttf") format("truetype");
}
.first-part {
min-height: 85vh;
background-image: url("/assets/images/image36.jpg");
background-size: cover;
color: white;
background-position: center;
}
.textbox {
text-align: center;
height: 100%;
margin: auto;
padding: 100px 0 70px 0;
}
.textbox .h2-first {
padding: 0 39px;
font-family: Merriweather;
font-weight: 600;
padding: 18px 39px;
letter-spacing: 0px;
font-size: 36px;
}
.textbox p {
font-family: MerriweatherSans, sans-serif;
font-style: normal;
font-size: 18px !important;
padding: 0 23.4px;
letter-spacing: 0px;
line-height: 1.4em !important;
margin-bottom: 30px;
word-wrap: break-word;
}
.read-more {
text-transform: uppercase;
border-radius: 29px;
font-family: "Lato";
font-weight: 900;
font-style: normal;
padding: 19px 38px;
font-size: 1rem;
letter-spacing: 0.04em;
background-color: #15c1c6;
border: none;
box-shadow: none;
outline: none;
color: white;
}
.read-more:hover {
background-color: white;
color: #333333 !important;
transition: 0.2s;
}
@media only screen and (min-width: 768px) {
.first-part {
min-height: 60vh;
}
.h2-first {
font-size: 46px !important;
}
}
@media only screen and (min-width: 992px) {
.first-part {
min-height: 78vh;
display: flex;
justify-content: center;
}
.first-part .textbox p {
margin-left: 380px;
margin-right: 380px;
line-height: 1.6em !important;
}
.h2-first {
font-size: 66px !important;
}
}
.second-part h4 {
font-family: Merriweather;
color: #31353d;
font-weight: 500;
font-size: 24px;
}
.second-part h2 {
font-family: Merriweather;
color: #31353d;
font-weight: 700;
font-size: 29px;
}
.card {
margin-top: auto;
margin-bottom: 30px;
padding: 24px 15px 8px 15px;
border: none;
}
.card i {
align-items: center;
display: flex;
justify-content: center;
background-color: #15c1c6;
color: white;
border-radius: 50%;
width: 80px;
height: 80px;
cursor: pointer;
margin-bottom: 10px;
font-size: 50px;
}
.card h4 {
text-align: center;
width: 300px;
padding-bottom: 19px;
font-size: 21px;
font-weight: 400;
padding-top: 5px;
border-bottom: 1px solid #e0e0e8;
box-sizing: border-box;
}
.card a {
color: #333333;
text-decoration: none;
}
.card p {
text-align: center;
padding-top: 17px;
font-family: MerriweatherSans;
color: #777777;
letter-spacing: 0;
font-weight: 400;
font-size: 16px;
margin: auto;
letter-spacing: 0px;
word-wrap: break-word;
line-height: 1.4375;
}
.view-more {
text-transform: uppercase;
border-radius: 29px;
font-family: "Lato";
font-weight: 900;
font-style: normal;
padding: 19px 38px;
font-size: 1rem;
letter-spacing: 0.04em;
background-color: #15c1c6;
border: none;
box-shadow: none;
outline: none;
color: white;
}
.view-more:hover {
background-color: #333333 !important;
color: white;
transition: 0.2s;
}
@media only screen and (min-width: 768px) {
.view-more {
margin-bottom: 20px;
}
.card p {
padding: 0 30px;
}
}
@media only screen and (min-width: 992px) {
.second-part {
padding-bottom: 120px;
}
.second-part .card {
margin-bottom: 56px;
}
.second-part .card h4 {
font-size: 21px;
}
.second-part .card p {
padding: 0 40px;
}
.second-part h2 {
font-size: 48px;
}
.second-part h4 {
font-size: 29px;
}
}
.third-part {
min-height: 70vh;
background-image: url("/assets/images/image40.jpg");
background-size: cover;
position: relative;
color: white;
background-size: cover;
background-position: center;
}
.third-part .textbox3 {
padding: 70px 50px;
}
.third-part .textbox3 h1 {
font-weight: 600;
font-size: 60px;
text-align: start;
font-family: Merriweather;
letter-spacing: 0px;
margin-bottom: 35px;
}
.third-part .textbox3 h5 {
font-family: Merriweather;
font-size: 24px;
margin-top: 15px;
margin-bottom: 17px;
font-weight: 300;
line-height: 1.5;
}
.third-part .textbox3 p {
line-height: 1.4375;
font-family: MerriweatherSans;
letter-spacing: 0px;
}
.third-part .our-cases {
margin-top: 20px;
text-transform: uppercase;
border-radius: 29px;
font-family: "Lato";
font-weight: 900;
font-style: normal;
padding: 19px 38px;
font-size: 1rem;
letter-spacing: 0.04em;
background-color: transparent;
border: solid 2px white;
}
.third-part .our-cases:hover {
background-color: white;
color: #333333 !important;
transition: 0.2s;
}
@media only screen and (min-width: 768px) {
.img-container {
background-image: url("/assets/images/image39.jpg");
background-size: cover;
background-position: center;
}
.textbox3 {
padding: 100px 50px 100px 26px !important;
}
}
@media only screen and (min-width: 992px) {
.third-part {
min-height: 70vh !important;
}
.img-container {
min-height: 70vh !important;
}
}
.fourth-part .headline-card {
padding-bottom: 0px !important;
}
.fourth-part .card-fourth {
margin-top: auto;
margin-bottom: 30px;
padding: 0px 3px 8px 3px;
border: none;
}
.fourth-part h4 {
font-family: Merriweather;
color: #31353d;
font-weight: 500;
font-size: 24px;
}
.fourth-part h2 {
font-family: Merriweather;
color: #31353d;
font-weight: 700;
font-size: 29px;
}
.fourth-part .card {
margin-top: 0;
}
.fourth-part .line-img {
margin-bottom: 25px;
}
.fourth-part .img {
max-width: 100%;
margin-top: 0;
margin-bottom: 30px;
}
.fourth-part .published {
margin-right: 16px;
color: #15c1c6;
font-family: Merriweather;
font-style: italic;
font-weight: 400;
letter-spacing: 0px;
}
.fourth-part .date-by {
margin-bottom: 14px;
}
.fourth-part .author {
font-style: italic;
font-weight: 400;
font-size: 18px;
line-height: 1.4375;
font-family: Merriweather;
letter-spacing: 0px;
color: #777777;
cursor: pointer;
}
.fourth-part .author:hover {
color: #15c1c6;
transition: 0.2s;
}
.fourth-part .sub-title {
font-family: Merriweather;
font-size: 20px;
color: #333333 !important;
line-height: 1.3em !important;
padding-right: 10px;
margin-bottom: 20px;
}
.fourth-part .post-text {
text-align: left;
font-style: normal;
font-weight: 400;
font-size: 16px;
line-height: 1.4375;
font-family: MerriweatherSans;
letter-spacing: 0px;
color: #777777;
box-sizing: border-box;
}
@media only screen and (min-width: 768px) {
.fourth-part {
margin-left: 20px;
margin-right: 20px;
}
}
@media only screen and (min-width: 992px) {
.fourth-part {
padding-top: 55px;
padding-bottom: 75px;
}
.fourth-part h2 {
font-size: 48px;
}
.fourth-part h4 {
font-size: 29px;
}
.fourth-part .line-img {
margin-bottom: 75px !important;
}
.fourth-part .sub-title {
font-size: 26px !important;
}
}
.fifth-part {
min-height: 100vh;
background-image: url("/assets/images/image33.jpg");
background-size: cover;
background-attachment: fixed;
position: relative;
color: white;
background-size: cover;
background-position: center;
}
.fifth-part .line2-img {
margin-bottom: 30px;
}
.fifth-part .headline-card-5 h4 {
font-style: normal;
font-weight: 500;
font-size: 24px;
line-height: 1.38462;
font-family: Merriweather;
letter-spacing: 0px;
text-align: inherit;
color: #ffffff;
margin-top: 40px;
word-wrap: break-word;
}
.fifth-part .headline-card-5 h2 {
text-align: center !important;
font-style: normal;
font-weight: 700;
font-size: 29px;
line-height: 1.36957;
font-family: Merriweather, serif;
letter-spacing: 0px;
text-align: inherit;
}
.fifth-part .numbers-container .numbers {
text-align: center;
width: 200px;
line-height: 200px;
border-radius: 50%;
border: solid 3px white;
background-color: transparent;
font-family: Merriweather;
font-weight: 400;
font-size: 61px !important;
}
.fifth-part .numbers-container .num-text {
margin: 15px 0;
font-family: Merriweather;
font-size: 22px;
line-height: 2.3em;
}
@media only screen and (min-width: 768px) {
.fifth-part {
min-height: 60vh;
}
.fifth-part .numbers-container .numbers {
margin-bottom: 0px;
}
.fifth-part .headline-card-5 h4 {
margin-top: 0px;
}
}
@media only screen and (min-width: 992px) {
.fifth-part {
padding-top: 100px !important;
padding-bottom: 100px !important;
padding-left: 50px !important;
padding-right: 50px !important;
}
.fifth-part .numbers-container .num-text {
margin: 0;
}
.fifth-part .headline-card-5 h2 {
font-size: 48px !important;
}
.fifth-part .headline-card-5 h4 {
font-size: 29px !important;
}
}
.sixth-part {
padding: 30px 0 70px 0;
}
.sixth-part .headline-card h4 {
font-family: Merriweather;
color: #31353d;
font-weight: 500;
font-size: 24px;
}
.sixth-part .headline-card h2 {
font-family: Merriweather;
color: #31353d;
font-weight: 700;
font-size: 29px;
}
.sixth-part .profile-text p {
font-style: normal;
font-weight: 400;
font-size: 16px;
line-height: 1.4375;
font-family: MerriweatherSans;
letter-spacing: 0px;
text-align: left;
color: #777777;
}
.sixth-part .profile-text strong {
font-style: normal;
font-weight: 700;
font-size: 18px;
line-height: 1.27778;
font-family: Merriweather;
color: #31353d;
}
@media only screen and (min-width: 768px) {
.sixth-part .profile-card {
margin: 0;
}
}
@media only screen and (min-width: 992px) {
.sixth-part .headline-card h2 {
font-size: 48px !important;
}
.sixth-part .headline-card h4 {
font-size: 29px !important;
}
}
.seventh-part {
min-height: 63vh;
background-image: url("/assets/images/image44.jpg");
background-size: cover;
position: relative;
color: white;
background-size: cover;
background-position: center;
}
.seventh-part .learn-more {
text-transform: uppercase;
border-radius: 29px;
font-family: "Lato";
font-weight: 900;
font-style: normal;
padding: 19px 38px;
font-size: 1rem;
letter-spacing: 0.04em;
background-color: transparent;
border: solid 2px white;
}
.seventh-part .learn-more:hover {
background-color: white;
color: #333333 !important;
transition: 0.2s;
}
.seventh-part .textbox7 h3 {
text-align: center;
font-style: normal;
font-weight: 300;
font-size: 37px;
line-height: 1.33333;
font-family: Merriweather;
letter-spacing: 0px;
word-wrap: break-word;
}
.seventh-part .textbox7 h2 {
text-align: center;
font-style: normal;
font-weight: 700;
font-size: 45px;
line-height: 1.36957;
font-family: Merriweather, serif;
letter-spacing: 0px;
}
@media only screen and (min-width: 768px) {
.seventh-part {
min-height: 55vh !important;
}
.seventh-part .textbox7 h3 {
font-size: 37px !important;
padding: 0 50px !important;
}
.seventh-part .textbox7 h2 {
padding: 0 100px !important;
font-size: 71px !important;
}
}
.form .headline-card h4 {
font-family: Merriweather;
color: #31353d;
font-weight: 500;
letter-spacing: 0px;
font-size: 24px;
}
.form .headline-card h2 {
font-family: Merriweather;
color: #15c1c6;
font-weight: 700;
letter-spacing: 0px;
font-size: 29px;
}
.form .headline-card img {
margin-bottom: 35px;
}
.form h6 {
font-style: normal;
font-weight: 700;
font-size: 18px;
line-height: 1.27778;
font-family: Merriweather;
letter-spacing: 0px;
color: #31353d;
}
.form select {
padding: 17px 56px 16px 20px;
width: 100%;
border: none;
cursor: pointer;
margin-bottom: 20px;
background-color: #f6f6f6;
color: #777777 !important;
font-family: MerriweatherSans;
}
.form select:hover {
background: #ededed;
transition: 0.3s all ease;
}
.form .input-text {
padding: 18px 20px;
border: none;
background-color: #f6f6f6;
margin: 0 0 20px;
color: #777777 !important;
width: 100%;
font-family: MerriweatherSans;
}
.form .input-text::-moz-placeholder {
color: #777777 !important;
}
.form .input-text::placeholder {
color: #777777 !important;
}
.form .form-container-bot {
position: relative;
}
@media only screen and (min-width: 768px) {
.form .headline-card {
margin-top: 0px !important;
}
.form .view-more {
margin-bottom: 0px !important;
}
.form-container-bot {
width: 700px;
}
}
@media only screen and (min-width: 992px) {
.form {
padding-top: 98px;
padding-bottom: 114px;
}
.form .headline-card h2 {
font-size: 48px !important;
}
.form .headline-card h4 {
font-size: 29px !important;
}
.form .view-more {
margin-top: 20px;
}
}
footer {
background-color: #31353d;
}
footer .footer-copyright {
color: #ffffff;
font-size: 0.875rem;
font-style: normal;
font-weight: 400;
line-height: 1.4375;
font-family: MerriweatherSans;
letter-spacing: 0px;
}
footer .footer-copyright a {
color: #ffffff;
text-decoration: none;
}
footer .footer-copyright a:hover {
color: #15c1c6;
transition: 0.3s;
}/*# sourceMappingURL=style.css.map */