diff --git a/variants.css b/variants.css index 176012f..1e65bbb 100644 --- a/variants.css +++ b/variants.css @@ -251,14 +251,14 @@ body { box-shadow: 0px 8 px; } .variantsmem { - #mem1 { + #mem { margin-top: 20px; display: flex; justify-content: center; flex-direction: row; flex-wrap: wrap; } - .vitems1 { + .vitems { position: relative; background-color: black; border: 0px 0px 8px rgb(0, 0, 0); @@ -270,352 +270,31 @@ body { border: 13px solid black; transition: 0.5s; } - .vitems1:hover { + .vitems:hover { transform: scale(1.15); } - .vitems1 img { + .vitems img { width: 100%; height: 75%; object-fit: cover; transition: 0.5s ease; border-radius: 12px 12px; } - #title1 { + #title { color: rgb(252, 252, 252); text-align: center; font-family: "Alkatra", cursive; } } -.vitems1 button { +.vitems button { color: rgb(255, 252, 252) rgb(255, 255, 255) rgb(250, 250, 250); border-radius: 5px 5px; cursor: pointer; } -.vitems1 p { +.vitems p { color: white; } -#mem2 { - margin-top: 20px; - display: flex; - justify-content: center; - flex-direction: row; - flex-wrap: wrap; -} -.vitems2 { - position: relative; - background-color: black; - border: 0px 0px 8px rgb(0, 0, 0); - border-radius: 12px 12px; - width: 600px; - box-shadow: 2px; - height: 350px; - margin: 10px; - border: 13px solid black; - transition: 0.5s; -} -.vitems2:hover { - transform: scale(1.15); -} -.vitems2 img { - width: 100%; - height: 75%; - object-fit: cover; - transition: 0.5s ease; - border-radius: 12px 12px; -} -#title2 { - color: rgb(252, 252, 252); - text-align: center; - font-family: "Alkatra", cursive; -} -.vitems2 button { - color: rgb(255, 252, 252) rgb(255, 255, 255) rgb(250, 250, 250); - border-radius: 5px 5px; - cursor: pointer; -} - -#mem3 { - margin-top: 20px; - display: flex; - justify-content: center; - flex-direction: row; - flex-wrap: wrap; -} -.vitems3 { - position: relative; - background-color: black; - border: 0px 0px 8px rgb(0, 0, 0); - border-radius: 12px 12px; - width: 600px; - box-shadow: 2px; - height: 350px; - margin: 10px; - border: 13px solid black; - transition: 0.5s; -} -.vitems3:hover { - transform: scale(1.15); -} -.vitems3 img { - width: 100%; - height: 75%; - object-fit: cover; - transition: 0.5s ease; - border-radius: 12px 12px; -} -#title3 { - color: rgb(252, 252, 252); - text-align: center; - font-family: "Alkatra", cursive; -} -.vitems3 button { - color: rgb(255, 252, 252) rgb(255, 255, 255) rgb(250, 250, 250); - border-radius: 5px 5px; - cursor: pointer; -} - -#mem4 { - margin-top: 20px; - display: flex; - justify-content: center; - flex-direction: row; - flex-wrap: wrap; -} -.vitems4 { - position: relative; - background-color: black; - border: 0px 0px 8px rgb(0, 0, 0); - border-radius: 12px 12px; - width: 600px; - box-shadow: 2px; - height: 350px; - margin: 10px; - border: 13px solid black; - transition: 0.5s; -} -.vitems4:hover { - transform: scale(1.15); -} -.vitems4 img { - width: 100%; - height: 75%; - object-fit: cover; - transition: 0.5s ease; - border-radius: 12px 12px; -} -#title4 { - color: rgb(252, 252, 252); - text-align: center; - font-family: "Alkatra", cursive; -} -.vitems4 button { - color: rgb(255, 252, 252) rgb(255, 255, 255) rgb(250, 250, 250); - border-radius: 5px 5px; - cursor: pointer; -} - -#mem5 { - margin-top: 20px; - display: flex; - justify-content: center; - flex-direction: row; - flex-wrap: wrap; -} -.vitems5 { - position: relative; - background-color: black; - border: 0px 0px 8px rgb(0, 0, 0); - border-radius: 12px 12px; - width: 600px; - box-shadow: 2px; - height: 350px; - margin: 10px; - border: 13px solid black; - transition: 0.5s; -} -.vitems5:hover { - transform: scale(1.15); -} -.vitems5 img { - width: 100%; - height: 75%; - object-fit: cover; - transition: 0.5s ease; - border-radius: 12px 12px; -} -#title5 { - color: rgb(252, 252, 252); - text-align: center; - font-family: "Alkatra", cursive; -} -.vitems5 button { - color: rgb(255, 252, 252) rgb(255, 255, 255) rgb(250, 250, 250); - border-radius: 5px 5px; - cursor: pointer; -} - -#mem6 { - margin-top: 20px; - display: flex; - justify-content: center; - flex-direction: row; - flex-wrap: wrap; -} -.vitems6 { - position: relative; - background-color: black; - border: 0px 0px 8px rgb(0, 0, 0); - border-radius: 12px 12px; - width: 600px; - box-shadow: 2px; - height: 350px; - margin: 10px; - border: 13px solid black; - transition: 0.5s; -} -.vitems6:hover { - transform: scale(1.15); -} -.vitems6 img { - width: 100%; - height: 75%; - object-fit: cover; - transition: 0.5s ease; - border-radius: 12px 12px; -} -#title6 { - color: rgb(252, 252, 252); - text-align: center; - font-family: "Alkatra", cursive; -} - -.vitems6 button { - color: rgb(255, 252, 252) rgb(255, 255, 255) rgb(250, 250, 250); - border-radius: 5px 5px; - cursor: pointer; -} - -#mem7 { - margin-top: 20px; - display: flex; - justify-content: center; - flex-direction: row; - flex-wrap: wrap; -} -.vitems7 { - position: relative; - background-color: black; - border: 0px 0px 8px rgb(0, 0, 0); - border-radius: 12px 12px; - width: 600px; - box-shadow: 2px; - height: 350px; - margin: 10px; - border: 13px solid black; - transition: 0.5s; -} -.vitems7:hover { - transform: scale(1.15); -} -.vitems7 img { - width: 100%; - height: 75%; - object-fit: cover; - transition: 0.5s ease; - border-radius: 12px 12px; -} -#title7 { - color: rgb(252, 252, 252); - text-align: center; - font-family: "Alkatra", cursive; -} -.vitems7 button { - color: rgb(255, 252, 252) rgb(255, 255, 255) rgb(250, 250, 250); - border-radius: 5px 5px; - cursor: pointer; -} - -#mem8 { - margin-top: 20px; - display: flex; - justify-content: center; - flex-direction: row; - flex-wrap: wrap; -} -.vitems8 { - position: relative; - background-color: black; - border: 0px 0px 8px rgb(0, 0, 0); - border-radius: 12px 12px; - width: 600px; - box-shadow: 2px; - height: 350px; - margin: 10px; - border: 13px solid black; - transition: 0.5s; -} -.vitems8:hover { - transform: scale(1.15); -} -.vitems8 img { - width: 100%; - height: 75%; - object-fit: cover; - transition: 0.5s ease; - border-radius: 12px 12px; -} -#title8 { - color: rgb(252, 252, 252); - text-align: center; - font-family: "Alkatra", cursive; -} -.vitems8 button { - color: rgb(255, 252, 252) rgb(255, 255, 255) rgb(250, 250, 250); - border-radius: 5px 5px; - cursor: pointer; -} - -#mem9 { - margin-top: 20px; - display: flex; - justify-content: center; - flex-direction: row; - flex-wrap: wrap; -} -.vitems9 { - position: relative; - background-color: black; - border: 0px 0px 8px rgb(0, 0, 0); - border-radius: 12px 12px; - width: 600px; - box-shadow: 2px; - height: 350px; - margin: 10px; - border: 13px solid black; - transition: 0.5s; -} -.vitems9:hover { - transform: scale(1.15); -} -.vitems9 img { - width: 100%; - height: 75%; - object-fit: cover; - transition: 0.5s ease; - border-radius: 12px 12px; -} -#title9 { - color: rgb(252, 252, 252); - text-align: center; - font-family: "Alkatra", cursive; -} - -.vitems9 button { - color: rgb(255, 252, 252) rgb(255, 255, 255) rgb(250, 250, 250); - border-radius: 5px 5px; - cursor: pointer; -} #BacktoTop { display: block; /* Ensure the button is part of the layout */ @@ -686,3 +365,18 @@ height: 100%; background-image: linear-gradient(to right,red,orange); z-index: 100; } +@media(max-width:480px) +{ + + +#heading { + font-size: 50px; +} + .variantsmem { + .vitems { + width: 350px; + height: 300px; + } + } + +} \ No newline at end of file diff --git a/variants.html b/variants.html index 72c9262..15e930a 100644 --- a/variants.html +++ b/variants.html @@ -5,110 +5,137 @@ Stark Tech Portfolio - + - + + - - - - + - - -
-
-
-
-
-
- - + +