/*@import 문을 사용하여 Google Fonts에서 Montserrat, Oswald, Nunito와 같은 다양한 폰트를 가져옵니다*/
@import url('https://fonts.googleapis.com/css?family=Montserrat&display=swap');
@import url('https://fonts.googleapis.com/css?family=Oswald:200,300,400,500,600,700'); 

@import url('https://fonts.googleapis.com/css?family=Nunito:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i');
/*전체 스타일*/
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
/*body 스타일*/
body {
  font-family: "Lato", sans-serif;
  background-color:#000000;
        }

        /* checkbox 숨긴다 */
        #menu-toggle {
            display: none;
        }

        /* Sidebar 스타일 */
        .sidenav {
            height: 100%;
            width: 250px;
            position: fixed;
            z-index: 1;/*레이어의 쌓임 순서*/
            top: 0;
            left: -250px; /* Initially hidden */
            background-color: #111;
            overflow-x: hidden; /*스크롤하면 상단 텍스트가 숨겨져 있습니다*/
            padding-top: 60px;
            transition: 0.3s;
        }

        .sidenav a {
            padding: 8px 8px 8px 32px;
            text-decoration: none;
            font-size: 15px;
            color: #818181;
            display: block;
        }

        .sidenav a:hover { /*hover sidenav a 연결하며 스타일을 한다*/
            color: #f1f1f1;
        }

        .sidenav .closebtn {
            position: absolute;
            top: 0;
            right: 25px;
            font-size: 36px;
            margin-left: 50px;
            cursor: pointer; /*마우스 커서를 손가락으로 바꾼다*/
        }

        /* When the checkbox is checked, show the sidebar */
        #menu-toggle:checked + .sidenav {/*+(인접 형제 선택자)*/
            left: 0;
        }
        /*드롭다운 */
.dropdown0 {
    display: none;
    list-style: none;
    padding-left: 20px;
}

.dropdown0 li {
    padding: 8px;
}

.dropdow0 li a {
    font-size: 20px;
    color: #818181;
}

.dropdown-toggle:hover + .dropdown0,
.dropdown0:hover {
    display: block;
}

        /* menu icon */
        .menu-icon {
            font-size: 30px;
            cursor: pointer;
            display: block;
					position:absolute;
          color: white;
					
        }

        /* 작은 화면을 위한 미디어 쿼리 */
        @media screen and (max-height: 450px) {
            .sidenav { padding-top: 15px; }
            .sidenav a { font-size: 18px; }
        }

/*sidenavbar*/
li, a, button {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #fff;
  text-decoration: none;
}

header {
  display: flex;
  justify-content: space-between; /* Align items */
  align-items: center;
  padding: 30px 10px;
}

.logo {
  cursor: pointer;
  width: 90px;
  margin-right: auto;
  margin-top: 90px;
}

.nav__links {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
}

.nav__links > li {
  position: relative; /* 위치 */
  display: inline-block;
  padding: 0 20px;
}

.nav__links li a {
  color: rgb(255, 255, 255);
  transition: color 0.3s ease;
}

.nav__links li a:hover {
  color: #ffffff;
}

/* Dropdown styles */
.dropdown {
  display: none;
  position: absolute;
  top: 100%; 
  left: 0; 
  background-color:rgba(255, 255, 255, 0.9); 
  border-radius: 5px; /* Rounded corners */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); 
  z-index: 1;
}

.dropdown li {
  padding: 10px 20px; 
}

.dropdown li a {
  display: block; 
  color: #000000; 
}
 /*조합*/
.nav__links > li:hover .dropdown {
  display: block; 
}

/* Right Menu Styles */
.right-menu {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
}

.right-menu li {
  margin-left: 20px; /* Space between icons */
}

.right-menu a {
  color: rgba(0, 136, 169, 1); /* Icon color */
  font-size: 20px; /* Icon size */
  transition: color 0.3s ease;
}

.right-menu a:hover {
  color: #0088a9; /* Change color on hover */
}

.button,
button {
  padding: 9px 25px;
  margin-left: 20px;
  background-color: rgba(0, 136, 169, 1);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.button:hover,
button:hover {
  background-color: rgba(0, 136, 169, 0.8);
}

.button { 
  color: #fff; 
}

form {
  margin: 15px;
}
/*콘텐츠*/
.showcase{
width: 100%;
background: url(https://www.nvidia.com/content/dam/en-zz/Solutions/ces-2023/40-series-laptops/geforce-rtx-40-series-laptops-og-1200x630.jpg) no-repeat;
  background-size: cover;
  height: 500px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-bottom: 50px;
  margin-bottom: 20px;
}
.title1{
    text-align: left;
    margin:0;
    color: #fff;
  font-size:30px;
}
.subtitle2{
    text-align: left;
    margin:0;
    color: #fff;
}

.showcase h2, .showcase p {
  margin-bottom: 10px;
}

.showcase .btn {
  margin-top: 20px;
  align-self: left;
}
/*------geforce experience------*/

.sect--type{
  background-image: url('https://www.nvidia.com/content/dam/en-zz/Solutions/design-visualization/rtx-professional-laptops/nvidia-rtx-ada-generation-laptop-gpus-bb580_440-d.jpg');
  width:100%;
  height:500px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #fff;
}

.sect__title {
    margin-top: 0;
    text-align:center;
    text-transform: uppercase;
    line-height: 40px;
    font-size: 30px;
    margin-bottom: 20px;
  color:#FFFF;
}


/*-----*/
.title2{
  text-align: center;
  margin:0;
  color: #fff;
font-size:30px;
}
  .content2 {
    margin: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .container2 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1em; /* Space between recommendations */
    margin: 5vmin;
    overflow: hidden;
    transform: skew(0deg); /* Fixed skew for clarity */
  }
  
  .recommendation {
    flex: 1;
    transition: flex 0.5s ease-in-out;
    height: 50vmin;
    position: relative;
    overflow: hidden;
  }
.recommendation:hover {
    flex: 2; /* Expands on hover */
  }
  
  .recommendation img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease-in-out;
    filter: grayscale(100%);
  }
  
  .recommendation:hover img {
    filter: grayscale(0); /* Removes grayscale on hover */
  }
  
  .recommendation__head {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 0.5em;
    font-size: 15px;
    text-align: center;
    transition: all 0.5s ease-in-out;
    transform: translateY(100%);
  }
  
  .recommendation:hover .recommendation__head {
    transform: translateY(0); /* Slides up on hover */
  }
   

/*  Footer Styling */
.site-footer {
  background-color: black;
  color: #fff;
  padding: 40px 20px;
  font-family: Arial, sans-serif;
  position: relative;
}

.site-footer .container {
  max-width: 1200px;
  margin: 0 auto;
}

.site-footer h6 {
  font-size: 16px;
  margin-bottom: 15px;
  font-weight: bold;
  text-transform: uppercase;
  color: #f2f2f2;
  text-align: center;
}

.site-footer p {
  font-size: 14px;
  line-height: 1.6;
}

.site-footer hr {
  border: 0;
  border-top: 1px solid #444;
  margin: 20px 0;
}

/* Links Section */
.footer-links {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-links .link-column {
  flex: 1;
  min-width: 150px;
}

.footer-links ul {
  list-style-type: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #aaa;
  text-decoration: none;
  color: #008000;
}

.footer-links ul li a:hover {
  color: #00aaff;
  text-decoration: underline;
}

/* Social Media Icons */
.site-footer .social-media {
  position: absolute;
  bottom: 20px;
  right: 20px;
  text-align: center;
}

.site-footer .social-icons {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.site-footer .social-icons li {
  display: inline-block;
}

/*icon*/

.site-footer .social-icons a {
  color: #fff; 
  font-size: 20px; 
  transition: color 0.3s ease;
}

.site-footer .social-icons a:hover {
  color: #00aaff; 
}

.site-footer .social-icons i {
  font-size: 24px; 
}

.site-footer .social-icons i.fab.fa-facebook-f {
  color: #1877f2; 
}

.site-footer .social-icons i.fab.fa-twitter {
  color: #1da1f2; 
}

.site-footer .social-icons i.fab.fa-line {
  color: #00c300; 
}

.site-footer .social-icons a:hover i.fab.fa-facebook-f {
  color: #3b5998; 
}

.site-footer .social-icons a:hover i.fab.fa-twitter {
  color: #00acee; 
}

.site-footer .social-icons a:hover i.fab.fa-line {
  color: #008c00; 
}
