portfolio/css/main.css
2024-09-26 00:42:19 +05:00

447 lines
7.1 KiB
CSS

body {
background-color: rgb(233, 221, 221);
font-family: "Times New Roman", Times, serif;
color: black;
width: 100%;
height: 100%;
margin: 0px;
}
.navbar {
background: white;
padding: 1em;
}
.navbar .LOGO {
text-align: left;
width: 1.5em;
height: 1.5em;
float: left;
position: static;
top: 2em;
left: 23.5em;
margin: 0.56em 0.3em 0 auto;
}
.navbar .NAME {
text-decoration: none;
font-weight: bold;
color: black;
font-size: 1.5em;
margin: 0em 12em 0em 0em;
text-align: center;
padding-top: 0.25em;
}
.navbar .NAME span {
color: gray;
}
.navbar nav {
display: none;
float: left;
width: 1em;
}
.navbar .nav-container {
display: flex;
place-content: space-between;
}
.navbar .mobile-menu {
cursor: pointer;
float: right;
position: fixed;
right: 0.5em;
}
.navbar ul {
list-style-type: none;
margin: 0;
padding: 0;
}
.navbar .LOGO-1 {
text-align: left;
width: 2em;
float: right;
position: absolute;
top: 150px;
left: 1080px;
}
.navbar nav {
position: fixed;
z-index: 999;
width: 66%;
right: 0;
top: 0;
background: #20272e;
height: 100vh;
padding: 1em;
}
.navbar nav ul.primary-nav {
margin-top: 5em;
}
.navbar nav li a {
color: rgb(0, 0, 0);
text-decoration: none;
display: block;
padding: 0.5em;
font-size: 1.3em;
text-align: right;
}
.navbar nav li a:hover {
font-weight: bold;
}
.navbar .mobile-menu-exit {
float: right;
margin: 0.5em;
cursor: pointer;
}
.hero {
background: rgb(205, 190, 190);
background: linear-gradient(90deg, rgb(205, 190, 190) 0%, rgb(106, 106, 106) 50%, rgb(35, 53, 58) 100%);
height: auto;
margin: auto;
}
.hero .hero-img {
width: 900px;
height: 550px;
margin: 0%;
padding: 0%;
float: left;
position: static;
}
.hero .intro {
width: 900px;
height: auto;
margin: 0% 0% 0% 102%;
position: static;
}
.hero .inrto-1 {
color: white;
font-size: xxx-large;
font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif;
margin: 50px 0px 10px 0px;
width: 50%;
}
.hero .sub-intro {
width: 50%;
font-size: large;
color: white;
margin: 0%;
}
.hero .about-1 {
width: 50%;
color: white;
margin: 10px 0px 0px 0px;
}
.hero hr {
width: 50%;
float: left;
color: #000000;
}
.hero .icons {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
width: -moz-fit-content;
width: fit-content;
margin-top: -36%;
}
.hero .icons .icon-1 {
text-align: left;
width: 100px;
float: right;
position: static;
top: 150px;
left: 1410px;
margin: 4em;
}
.hero .icons .icon-2 {
text-align: left;
width: 100px;
float: right;
position: static;
top: 320px;
left: 1410px;
}
.hero .Cont-info {
color: white;
float: right;
width: 38%;
display: flex;
justify-content: center;
flex-direction: column;
position: static;
left: 2em;
margin-top: -36%;
margin-right: -6.5em;
}
.hero .cont-1 {
overflow: hidden;
width: 80%;
}
.hero .cont {
display: flex;
width: auto;
justify-content: center;
margin-left: -5em;
}
.hero form {
width: -moz-fit-content;
width: fit-content;
display: flex;
justify-content: left;
flex-direction: column;
}
.hero .text {
border-radius: 1em;
margin: 0 0 1em 0;
}
.hero .message {
border-radius: 1em;
}
.hero .send-message-cta {
background-color: #acacac;
border-radius: 1em;
margin-top: 0.5em;
width: -moz-fit-content;
width: fit-content;
font-weight: bold;
margin: 0.3em 0 0 auto;
}
.goal {
width: -moz-fit-content;
width: fit-content;
padding-left: 0.5em;
}
.goal .p {
width: 80em;
box-shadow: 0px 18px 11px 15px rgb(199, 199, 199);
line-height: 1.3em;
}
.sub-web {
width: 1911px;
display: flex;
justify-content: flex-end;
}
.phone-lap {
width: 600px;
margin-top: -15.6em;
margin-right: em;
}
.location {
padding-top: 1em;
display: flex;
justify-content: center;
}
.maldives {
width: 250px;
height: 200px;
box-shadow: 10px 10px 5px #aaaaaa;
}
.faafu {
width: 250px;
height: 200px;
padding-left: 1em;
box-shadow: 10px 10px 5px #aaaaaa;
}
.dharanboodhoo {
width: 250px;
height: 200px;
padding-left: 1em;
box-shadow: 10px 10px 5px #aaaaaa;
}
.phone {
margin-right: 2em;
display: flex;
justify-content: flex-end;
}
.phone-1 {
width: 250px;
}
.tab {
display: flex;
justify-content: flex-start;
}
.tab .tab-1 {
margin-top: -33em;
width: 370px;
}
.back-page {
background-color: white;
width: -moz-fit-content;
width: fit-content;
display: flex;
justify-content: center;
box-shadow: 10px 10px 5px rgb(168, 168, 168);
}
.projects:hover {
transform: scale(1.05);
}
.project {
margin-bottom: 30px;
}
.row > * {
flex-shrink: 0;
max-width: 100%;
}
.row {
display: flex;
flex-direction: row;
justify-content: center;
}
.card-body {
flex: 1 1 auto;
padding: 1rem 1rem;
color: black;
background-color: white;
width: 318px;
}
.card-shadow-lg {
width: -moz-fit-content;
width: fit-content;
margin: 0.5em;
outline-color: #000000;
outline-style: solid;
}
.card-title {
margin: 0%;
font-size: large;
}
.card-img-top {
width: 350px;
}
.col-md-4-project {
width: -moz-fit-content;
width: fit-content;
}
.section-title {
display: flex;
justify-content: center;
margin-top: -19em;
}
.btn-primary {
background-color: gray;
border-radius: 0.2em;
padding: 0.5em;
text-decoration: none;
color: white;
}
.btn-primary .btn-primary:hover {
background-color: #000000;
}
footer {
margin-top: 5em;
background-color: #000000;
color: white;
padding: 1em;
margin-top: 3.2em;
}
footer .alex {
margin: 0%;
text-decoration: none;
color: white;
display: flex;
justify-content: center;
align-items: flex-end;
}
footer .back-to-top {
margin: 0%;
text-decoration: none;
display: flex;
justify-content: flex-end;
}
@media only screen and (min-width: 768px) {
.mobile-menu,
.mobile-menu-exit {
display: none;
}
.navbar .container {
display: grid;
grid-template-columns: 180px auto;
justify-content: unset;
}
.navbar nav {
display: flex;
justify-content: space-between;
background: none;
position: unset;
height: auto;
width: 100%;
padding: 0;
}
.navbar nav ul {
display: flex;
}
.navbar nav a {
color: black;
font-size: 1em;
padding: 0.1em 1em;
}
.navbar nav ul.primary-nav {
margin: 0;
}
.navbar nav li.current a {
font-weight: bold;
}
.navbar nav li.go-premium-cta a {
border: 3px solid;
font-weight: bold;
border-radius: 5em;
margin-top: -0.2em;
}
.navbar nav li.go-premium-cta a:hover {
background: black;
color: white;
}
.primary-nav {
float: right;
}
}
@media only screen and (min-width: 1080px) {
.nav-container {
width: 1080px;
margin: 0 auto;
}
.container {
width: 100%;
margin: 0 auto;
}
.hero .container {
display: flex;
justify-content: space-between;
text-align: left;
}
.hero .container .left-col {
margin: 3em 3em 0 5em;
}
.hero .container .left-col h1 {
font-size: 3em;
width: 90%;
}
}
@media (max-width: 1600px) {
.container {
width: 100%;
}
}/*# sourceMappingURL=main.css.map */