body{
    
    background:linear-gradient(135deg,#111827,#1e293b,#1e293b,#111827);
    background:radial-gradient(circle at top,#27324e,#111827);
    min-height: 100vh;
    margin: 0
}
.menu{
    height: 80px;
    background-color: black;
    display: flex;
    justify-content: center;
}
a{
    padding-right:  30px;
    padding-top: 20px;
    color: whitesmoke;
    font-family: "SN Pro", sans-serif;
    font-size: 30px;
    text-decoration: none;
    font-size: 30px;
}

.name{
    display: flex;
    justify-content: center;
    font-size: 25px;
    padding: 10px;
}
h1{
    color: whitesmoke;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
    display: table;            
    margin: 0 auto;            
    text-align: center;        
  
  
    cursor: pointer;
}

.img1{
    display: flex;
    justify-content: center;
    padding: 20px;
    box-shadow:0 10px 30px #3b5174;
}
img{
    border-radius: 20px;
    border: 2px solid rgba(255,255,255,.1);
    box-shadow: 0 20px 50px rgba(0,0,0,.35);
    width: 500px;
    height: 700px;
}
img{
    transition: .3s;
}

img:hover{
    transform: scale(1.02);
}

.home_social{
    position: absolute;
    left: -6rem;
    top: 50%;
    column-gap: 2rem;
    display: flex;
    transform: rotate(-90deg)
}
.home_social-link{
    font-size: 40px;
}



p{
    color: whitesmoke;
    font-size: 50px;
    font-family: "Inter", sans-serif;
    text-align: center;
}


.button {
  --bg: #000;
  --hover-bg: #222b47ac;
  --hover-text: #ffffff;
  display: inline-block;
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  border: 1px solid var(--bg);
  border-radius: 4px;
  
  font-size: 1.2rem;       
  padding: 0.5em 2.5em;      
  
  background: var(--bg);
  transition: 0.2s;
  text-align: center;
}

.button:hover {
  color: var(--hover-text);
  transform: translate(-0.25rem, -0.25rem);
  background: var(--hover-bg);
  box-shadow: 0.25rem 0.25rem var(--bg);
}

.button:active {
  transform: translate(0);
  box-shadow: none;
}




        h1 {
            text-align: center;
            margin-bottom: 40px;
        }

        
        .wrapper {
            max-width: 1200px;
            margin: 0 auto;
            position: relative;
        }

        
        .reset-btn {
            display: none;
            margin: 0 auto 30px auto;
            padding: 10px 20px;
            background: #000000;
            color: rgb(255, 254, 254);
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-weight: bold;
            text-align: center;
            width: max-content;
            font-family: "Montserrat", sans-serif;
            font-optical-sizing: auto;
            font-weight: weight;
            font-style: normal;
        }

        .grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
        }

        
        input[type="radio"] {
            display: none;
        }

        
        .card {
            background: #373333;
            border-radius: 10px;
            overflow: hidden;
            cursor: pointer;
            transition: opacity 0.4s ease, transform 0.3s ease;
            display: block;
        }

        .card:hover {
            transform: translateY(-5px);
        }

        .card img {
            width: 100%;
            height: 250px;
            object-fit: cover;
            display: block;
            transition: height 0.4s ease;
        }

        .title {
            padding: 20px;
            font-size: 1.2rem;
            text-align: center;
            font-weight: bold;
            color: #ffffff;
            font-family: "Montserrat", sans-serif;
            font-optical-sizing: auto;
            font-weight: weight;
            font-style: normal;
        }

        
        .text {
            max-height: 0;
            opacity: 0;
            overflow: hidden;
            padding: 0 20px;
            transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease;
            line-height: 1.6;
            color: #ffffff;
            font-family: "Montserrat", sans-serif;
            font-optical-sizing: auto;
            font-weight: weight;
            font-style: normal;
        }

       

        
        #ach-1:checked ~ .reset-btn,
        #ach-2:checked ~ .reset-btn,
        #ach-3:checked ~ .reset-btn {
            display: block;
        }

        
        #ach-1:checked ~ .grid .card:not([for="ach-1"]),
        #ach-2:checked ~ .grid .card:not([for="ach-2"]),
        #ach-3:checked ~ .grid .card:not([for="ach-3"]) {
            opacity: 0;
            visibility: hidden;
            position: absolute;
            pointer-events: none;
        }

        
        #ach-1:checked ~ .grid .card[for="ach-1"],
        #ach-2:checked ~ .grid .card[for="ach-2"],
        #ach-3:checked ~ .grid .card[for="ach-3"] {
            grid-column: 1 / -1;
            max-width: 800px;
            margin: 0 auto;
            cursor: default;
            transform: none;
        }

        
        #ach-1:checked ~ .grid .card[for="ach-1"] img,
        #ach-2:checked ~ .grid .card[for="ach-2"] img,
        #ach-3:checked ~ .grid .card[for="ach-3"] img {
            height: 400px;
        }

        
        #ach-1:checked ~ .grid .card[for="ach-1"] .text,
        #ach-2:checked ~ .grid .card[for="ach-2"] .text,
        #ach-3:checked ~ .grid .card[for="ach-3"] .text {
            max-height: 1000px;
            opacity: 1;
            padding: 20px;
            border-top: 1px solid #333;
        }